1 private void txtNumber1_KeyPress(object sender, KeyPressEventArgs e) 2 { 3 //MessageBox.Show(((int)(e.KeyChar)).ToString()); //ASCii查看 4 //由于本事件可能有多... ...
                            
                            
                                分类:
其他好文   时间:
2016-12-24 16:44:54   
                                阅读次数:
201
                             
                    
                        
                            
                            
                                1电脑版读取文件脚本Dimpath
path="C:/Users/Administrator/Desktop/accounts"
//直接读取文件到变量,文件的每一行在变量中以|分隔
Text=Plugin.File.ReadFileEx(path)
MessageBox"Text"&text
TracePrintText//只是调试状态才显示
//打开文件,循环读取每一..
                            
                            
                                分类:
其他好文   时间:
2016-12-23 19:43:16   
                                阅读次数:
341
                             
                    
                        
                            
                            
                                private void Form1_FormClosing(object sender, FormClosingEventArgs e) { DialogResult re = MessageBox.Show("确定离开吗","询问",MessageBoxButtons.YesNo,Message ...
                            
                            
                                分类:
其他好文   时间:
2016-12-23 01:50:30   
                                阅读次数:
139
                             
                    
                        
                            
                            
                                private void button1_Click(object sender, EventArgs e) { MessageBox.Show("我也喜欢你!"); //if (this.button1.Text == "喜欢") //{ // button2.Visible = false; / ...
                            
                            
                                分类:
其他好文   时间:
2016-12-23 01:22:21   
                                阅读次数:
171
                             
                    
                        
                            
                            
                                MessageBox对话框 输入控件的 ImeName属性把输入法去掉就默认为英文输入了 MessageBox对话框是比较常用的一个信息对话框,其不仅能够定义显示的信息内容、信息提示图标,而且可以定义按钮组合及对话框的标题,是一个功能齐全的信息对话框信息提示图标,而且可以定义按钮组合及对话框的标题, ...
                            
                            
                         
                    
                        
                            
                            
                                MessageBox(Application.Handle, 'text', 'caption', MB_TOPMOST + MB_ICONINFORMATION);)或者MessageBox(Self.Handle, 'text', 'caption', MB_TOPMOST + MB_ICONI ...
                            
                            
                                分类:
其他好文   时间:
2016-12-20 20:23:29   
                                阅读次数:
184
                             
                    
                        
                            
                            
                                    MessageBox.Show() 有21个重载 常用的弹窗提示框 1、一个参数,弹窗只有一个选项 2、三个参数,第一个参数是设置弹窗消息框中的文字内容;第二个参数是设置弹窗标题栏中显示的文本;第三个参数是指定消息框中显示哪些按钮 比如: (李献策lxc) 那么如何知道用户是点击的“确定”还是“取消 ...
                            
                            
                         
                    
                        
                            
                            
                                    // custom messagebox using System; using System.Drawing; using System.Windows.Forms; using DevExpress.XtraBars.Docking2010.Views.WindowsUI; using DevE ...
                            
                            
                         
                    
                        
                            
                            
                                #include<iostream>
#include<thread>
#include<windows.h>
#include<vector>
usingnamespacestd;
usingnamespacestd::this_thread;
voidMsg()
{
MessageBox(0,L"线程启动",L"32",0);
}
voidMsgA(intnum)//线程玩法2222
{
std::cout<<get_id()&..
                            
                            
                                分类:
编程语言   时间:
2016-12-03 16:11:30   
                                阅读次数:
191
                             
                    
                        
                            
                            
                                第一种,消息映射 第二种,重写OnCommand BOOL CmfcdlgDlg::OnCommand(WPARAM wParam, LPARAM lParam){	switch(wParam)	{	case IDC_BUTTON1: { MessageBox(_T("标题按钮")); } brea ...
                            
                            
                                分类:
编程语言   时间:
2016-11-30 11:23:22   
                                阅读次数:
173