摘要:
C#连接SQLServer数据库基本实现 (在这写下来,防止以后忘记) 在VS2019中新建一个Windows窗口应用程序,并在Form中放置DataGridView和Button两个控件,在Button的单击响应事件中连接数据库: using System; using System.Collec 阅读全文
摘要:
private void Form1_Load(object sender, EventArgs e)//窗体加载 { ToolTip toolTip1 = new ToolTip(); // Set up the delays for the ToolTip. toolTip1.AutoPopDe 阅读全文
摘要:
引用: using System.Threading.Tasks; using System.Windows.Forms; public void DoDelay(double milliSecond)//延时函数 { int start = Environment.TickCount; while 阅读全文