摘要: private void button1_Click(object sender, EventArgs e) { //Form窗口画线条图形 //Graphics gp = e.Graphics;//创建GDI对象 Graphics gp = CreateGraphics();////创建GDI对象 阅读全文
posted @ 2022-06-04 21:49 sbwynnss 阅读(77) 评论(0) 推荐(0) 编辑
摘要: //Graphics gp = e.Graphics;//创建GDI对象,Paint事件中。 Graphics gp = this.CreateGraphics();////创建GDI对象方法2 Pen p1 = new Pen(Color.Blue, 5);//钢笔线条5镑蓝色 Rectangle 阅读全文
posted @ 2022-06-04 20:31 sbwynnss 阅读(161) 评论(0) 推荐(0) 编辑
摘要: using System.IO; namespace 文件复制 { class Program { static void Main(string[] args) { //方法1 //File.Copy(@"F:\重温新中国建国珍贵画面(中央档案管).mp4", @"D:\123.mp4",true 阅读全文
posted @ 2022-06-04 11:05 sbwynnss 阅读(1539) 评论(0) 推荐(0) 编辑