专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
//---------------------------------------// form1.cs//----------------------------------------using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;namespace FormConmunicate{/// <summary>/// Form1 [阅读全文] [PDF]
Closing事件中怎么样取消窗体关闭呢,一直想要实现这个功能,今天写出来了,发出来大家一起看一下 private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { // Determine if text has changed in the textbox by comparing to original text. if (textBox1.Text != strMyOriginalText) { // Display a MsgBox aski [阅读全文] [PDF]
标签:窗体事件
从网上看到了一个窗体拖动事件,超级简洁,至少现在这个阶段我是看起来有困难的,有兴趣的哥们们可以讨论下using System;using System.Collections.Generic;using System.ComponentModel; using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace WindowsApplication2{ public partial class Form1 : Form { privat [阅读全文] [PDF]
1 共3条 分1页