Zoe
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System... 阅读全文
posted @ 2017-05-07 19:49 口袋里的SKY 阅读(272) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System... 阅读全文
posted @ 2017-05-07 10:59 口袋里的SKY 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 线程:帮助老板干活的,不会干扰老板的正常工作 如果一段代码的执行需要时间,那么必须开启一个新线程来执行,如果不开线程,窗口会出现假死 开线程: Thread th = new Thread(委托);th.IsBackground = true; //设置后台线程th.Start(); 线程默认是不允 阅读全文
posted @ 2017-05-04 20:05 口袋里的SKY 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 进程:一个应用程序就是一个进程开启某个进程Process.Start("文件缩写名");通过绝对路径开启某个进程Process p = new Process();p.StartInfo = new ProcessStartInfo("要打开的程序绝对路径");p.Start(); 获取全部开启的进 阅读全文
posted @ 2017-05-04 19:58 口袋里的SKY 阅读(129) 评论(2) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Sy... 阅读全文
posted @ 2017-05-04 16:22 口袋里的SKY 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 打印控件:要打印,第一步先要想到制作打印对象 PrintDocument - 默认事件 Font f = new Font("黑体",20);Brush b = new SolidBrush(Color.Red);e.Graphics.DrawString(textBox1.Text, f, b, 阅读全文
posted @ 2017-05-03 16:43 口袋里的SKY 阅读(174) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System... 阅读全文
posted @ 2017-05-03 15:25 口袋里的SKY 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 对话框控件:ColorDialog - 颜色选择ShowDialog()DialogResult 类型对象.Color FontDialog - ShowDialog()DialogResult对象.Font对象.Color OpenFileDialog - 文件打开对话框 ShowDialog() 阅读全文
posted @ 2017-05-03 11:44 口袋里的SKY 阅读(118) 评论(0) 推荐(0) 编辑
摘要: ListView:1、设置列 + 设置视图属性 + 添加列,修改列名 Columns集合 2、添加行数据编辑项 - 添加一个ListViewItem对象此对象的Text是每一行的第一列数据剩下列的数据存在此对象的SubItems集合中,顺序往后排Items集合 3、属性FullRowSelect - 阅读全文
posted @ 2017-05-01 18:06 口袋里的SKY 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 布局属性: Anchor 定义某个控件绑定到的容器的边缘,当控件锚定到某个边缘时,与指定边缘最接近的控件边缘与指定边缘之间的距离将保持不变。Dock 定义要绑定到容器的控件边框 Location 控件左上角相对于其容器左上角的坐标 容器: FlowLayoutPanel 一些应用程序需要一个布局可随 阅读全文
posted @ 2017-04-27 17:51 口袋里的SKY 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页