string da = textBox1.Text; string chui = textBox2.Text; if (da.Equals("da") && chui.Equals("chui")) { MessageBox.Show("验证成功"); Form2 f = new Form2(); ...
分类:
其他好文 时间:
2018-07-22 00:24:20
阅读次数:
164
(function ($) { $.messageBox = function (message) { $.messager.show({ title:'消息框提示', msg:message, showType:'show' }); }; /** * 获取时间区间 * ... ...
分类:
Web程序 时间:
2018-07-19 13:36:32
阅读次数:
236
from tkinter import * from tkinter import messagebox def CloseWindow(): messagebox.showinfo(title ="警告",message = "不许关闭,好好回答!") #messagebox.showinfo(t ...
分类:
其他好文 时间:
2018-07-13 22:13:10
阅读次数:
163
源码 #include "stdafx.h" #include<Windows.h> int WINAPI WinMain(HINSTANCE hInst,HINSTANCE tmp,LPSTR strCmd,int nShow) { MessageBox(NULL, "Hello World!", ...
[DllImport("User32.dll", SetLastError = true, ThrowOnUnmappableChar = true, CharSet = CharSet.Auto)] public static extern int MessageBox(IntPtr handle... ...
分类:
编程语言 时间:
2018-07-11 14:56:08
阅读次数:
154
toast为消息提示框,支持自定义位置、持续时间和样式。 方法1 引入整个 Mint UI 组件,并需要再次单独引入Toast组件 Toast,它并不是一个全局变量,需要先引入 import { Toast } from 'mint-ui'再使用 Toast(‘提示信息‘); 方法2 引入整个 Mi ...
分类:
其他好文 时间:
2018-07-09 23:16:40
阅读次数:
491
1.在main.js中引入 const messageBox =Mint.MessageBox; Vue.prototype.$message=messageBox; //全局使用,挂载到原型上 2.使用 this.$message.confirm(message, title); ...
分类:
其他好文 时间:
2018-07-09 19:24:56
阅读次数:
662
因为最近公司要写一个项目前台所以开始学习extjs前端框架,希望一起共勉。 那么我们的教程就从 Hello World 讲起。 helloWorld.js Ext.onReady(function() { Ext.onReady(function() { Ext.MessageBox.alert(' ...
分类:
Web程序 时间:
2018-07-03 11:56:12
阅读次数:
138
1、新建文件夹,文件目录如下 2、提示组件messageBox主体与一般组件一样 3、重点 4、在main.js引入 参考:https://blog.csdn.net/tank_in_the_street/article/details/73135410 ...
分类:
其他好文 时间:
2018-06-29 22:30:25
阅读次数:
212
1 private void button1_Click(object sender, EventArgs e) 2 {//去掉字符串头尾指定字符 3 string MyInfo= "--中华人民共和国--"; 4 //显示 "中华人民共和国" 5 MessageBox.Show(MyInfo.T.... ...