02 2022 档案

摘要:p10--VS快捷键 Shift+End:光标定位到代码后面 Shift+Home:光标定位到代码前面 p11--字符类型 -- 变量类型 1.int : 整数 2.double : 整数/小数(小数点后15--16位) 3.金钱:decimal 值后加m 4.string : 字符串 5.char 阅读全文
posted @ 2022-02-23 18:18 驼七 阅读(414) 评论(0) 推荐(0)
摘要:int n1 = 50; int n2 = 30; n1 = n2 - n1;//20 n2 = n1 + n2;//50 n1 = n2 - n1;//30 阅读全文
posted @ 2022-02-23 14:27 驼七 阅读(24) 评论(0) 推荐(0)
摘要:string showCode = "验证码字符串" string writeCode = "要输入的字符串"; if (showCode.Equals(writeCode, StringComparison.OrdinalIgnoreCase)) { Response.Write("验证码输入成功 阅读全文
posted @ 2022-02-22 11:42 驼七 阅读(60) 评论(0) 推荐(0)
摘要:1.添加事件 public Form() { InitializeComponent(); this.FormClosing += new FormClosingEventHandler(Form_FormClosing); } 2.添加click private void Form_FormClo 阅读全文
posted @ 2022-02-18 17:30 驼七 阅读(85) 评论(0) 推荐(0)
摘要:1.button_click事件添加await private async void buttonConnect_Click(object sender, EventArgs e) { await Task.Run(() => commondConnect()); try { MessageBox. 阅读全文
posted @ 2022-02-18 16:16 驼七 阅读(32) 评论(0) 推荐(0)