码迷,mamicode.com
首页 >  
搜索关键字:MessageBox(提示消息框)    ( 583个结果
计算运行代码的时间
Stopwatch sw; sw = new Stopwatch(); sw.Start(); //待计算运行时间的代码 sw.Stop(); TimeSpan ts2 = sw.Elapsed; MessageBox.Show(ts2.TotalMilliseconds.ToString()); ...
分类:其他好文   时间:2020-06-05 13:00:51    阅读次数:63
签名小程序
from tkinter import * from tkinter import messagebox import requests import re from urllib.request import urlretrieve from PIL import ImageTk from tki ...
分类:微信   时间:2020-06-03 21:58:04    阅读次数:1000
Python-GUI程序设计-3
代码1: import tkinter.filedialog from tkinter import * from tkinter import messagebox def OpenFile(): filename=filedialog.askopenfilename() messagebox.s ...
分类:编程语言   时间:2020-05-25 17:30:16    阅读次数:67
WinForm控件常用设置(转)
本来想自己整理一份,但找到了一份挺全的,就直接用到直接找吧 A0 ………… 通用A1 ………… Form 类A2 ………… Control 类A3 ………… MessageBox 类A4 ………… Button 类A5 ………… Label 类 LinkLabel 类A6 ………… TextBox ...
分类:Windows程序   时间:2020-05-23 11:12:36    阅读次数:81
Python-GUI程序设计-2
代码演示: import tkinter as tk from tkinter import messagebox as msgbox def LoginFun(): sPass=enPass.get() if(sPass=="htzd"): labTip.config(text="登录成功。密码是 ...
分类:编程语言   时间:2020-05-22 13:05:27    阅读次数:59
python, 综合案例,应用tkinter, request建立天气预报查小程序
import tkinter as tk from tkinter import messagebox import urllib.request import requests import re import sys def inquire(): cityName = entry.get() # ...
分类:微信   时间:2020-05-12 13:46:01    阅读次数:91
C#获取文件大小
2020-05-04 每日一例第46天 1.后台代码 OpenFileDialog op = new OpenFileDialog(); if (op.ShowDialog()==DialogResult.OK) { MessageBox.Show("文字长度:"+File.Open(op.File ...
分类:Windows程序   时间:2020-05-05 00:40:56    阅读次数:78
python 中国象棋
本人承接各种高校C语言、C++、Java、数据库、python语言、web等课程设计以及ppt等制造等,以及常见的电脑故障有需要的私信我或者微信15813406574 代码如下: from tkinter import * from tkinter.messagebox import * impor ...
分类:编程语言   时间:2020-04-28 14:46:13    阅读次数:93
C#中判断是否为数值
2020-04-18 每日一例第40天 1.后台代码 double s; if (double.TryParse(textBox1.Text,out s )) { MessageBox.Show("输入的数值正确"); } else { MessageBox.Show("输入的数值不正确!"); } ...
分类:Windows程序   时间:2020-04-19 00:38:29    阅读次数:172
C#提取类型的所有方法和参数
private void Form1_Load(object sender, EventArgs e) { //MessageBox.Show(GetDoubleClickTime().ToString()); Type type = typeof(string); foreach (var ite ...
分类:Windows程序   时间:2020-04-15 17:56:03    阅读次数:107
583条   上一页 1 2 3 4 ... 59 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!