摘要: private void button3_Click(object sender, EventArgs e) { if(listView1.SelectedItems.Count>0) { string x = listView1.Select... 阅读全文
posted @ 2015-06-08 22:40 王文姿 阅读(176) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, EventArgs e) //登陆页面的第一栏的文本 要将它传到Main窗体的状态栏 { //... 阅读全文
posted @ 2015-06-08 22:39 王文姿 阅读(334) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, EventArgs e)//从硬盘打开图片显示在窗体里面 { OpenFileDialog op = new OpenFileDialog();//造一个打开对话框 ... 阅读全文
posted @ 2015-06-08 22:36 王文姿 阅读(338) 评论(0) 推荐(0) 编辑
摘要: public class method { //成员变量 private SqlConnection conn; private SqlCommand cmd; public method() //通过构造函数给变量赋值 { ... 阅读全文
posted @ 2015-06-08 21:05 王文姿 阅读(182) 评论(0) 推荐(0) 编辑