摘要: using System.Threading; Thread th=new Thread(delegate(){new YourForm().ShowDialog();}); th.Start(); 阅读全文
posted @ 2010-11-26 17:52 Code技术人生 阅读(2773) 评论(4) 推荐(1) 编辑
摘要: 网站开发未与信任SQL Server连接相关联Image is everythingDate:2009-11-26  Type:网站知识在网站开发中出现,未与信任SQL Server连接相关联,今天把电脑系统还原了,电脑上装的SQL2000在进行SQL连接时,又遇到这个问题,将解决方案整理一下供朋友分享。问题简述:1,用户 ’sa’ 登录失败,原因:未与信任 SQL Ser... 阅读全文
posted @ 2010-11-26 17:51 Code技术人生 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 我想实现打开新窗口并关闭当前的窗口,大家一起来探讨下,有两个窗体Form1和Form2 我想点击Form1中的一个按钮simpleButton1,打开Form2同时关闭Form1...     如果Form1是主窗口。不可以close只能hide (From1是不是主窗体,在Program.cs这里Application.Run后面看出来) private void simpleButton1_C... 阅读全文
posted @ 2010-11-26 17:50 Code技术人生 阅读(1740) 评论(0) 推荐(0) 编辑