上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 36 下一页
摘要: 即先画到内存图上,后一次性画到窗口上。(防止闪烁) 后控件有DoubleBuffered()属性。 阅读全文
posted @ 2020-05-14 20:39 流星曳尾 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 自定义之后,其显示在控件栏中,可以通过拖动添加到窗体中 阅读全文
posted @ 2020-05-14 11:32 流星曳尾 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 如题 阅读全文
posted @ 2020-05-13 21:34 流星曳尾 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 调试中,鼠标移动到变量上,查看该变量。 阅读全文
posted @ 2020-05-13 21:25 流星曳尾 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 可以设置断点的属性:设置断点后右击编辑条件(条件断点)、或设置命中次数。 点右键运行到光标处。 阅读全文
posted @ 2020-05-13 21:16 流星曳尾 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 定义一个类的静态方法(在静态方法中可定义满足某种条件,throw new AException (message)) 自定义异常 public class AException : ApplicationException { public AException(string message):ba 阅读全文
posted @ 2020-05-09 20:54 流星曳尾 阅读(123) 评论(0) 推荐(0) 编辑
摘要: try{} catch(AException e1){} catch(BException e2){} catch(Exception e){} finally{} 注:越具体的异常越写在前面。 阅读全文
posted @ 2020-05-09 20:05 流星曳尾 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 选中HandTool:alt + 鼠标左键 旋转scene || alt + 鼠标右键 放缩scene 阅读全文
posted @ 2020-05-09 15:34 流星曳尾 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ctrl + d 阅读全文
posted @ 2020-05-08 14:10 流星曳尾 阅读(173) 评论(0) 推荐(0) 编辑
摘要: void btn_Click(object sender, EventArgs e){ Button btn = sender as Button; //当前点中的按钮} 阅读全文
posted @ 2020-05-06 21:50 流星曳尾 阅读(827) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 36 下一页