上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 29 下一页
该文被密码保护。 阅读全文
posted @ 2017-09-06 16:50 寒夜美美 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-09-02 16:45 寒夜美美 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-08-28 17:40 寒夜美美 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 要使用Dictionary集合,需要导入C#泛型命名空间 System.Collections.Generic(程序集:mscorlib) Dictionary的描述1、从一组键(Key)到一组值(Value)的映射,每一个添加项都是由一个值及其相关连的键组成 2、任何键都必须是唯一的 3、键不能为 阅读全文
posted @ 2017-08-01 10:20 寒夜美美 阅读(4394) 评论(0) 推荐(0) 编辑
摘要: //设置鼠标长时间无操作计时器 private System.Timers.Timer MouseTimerTick = new System.Timers.Timer(10000); private void Window_Activated(object sender, EventArgs e) 阅读全文
posted @ 2017-07-19 19:23 寒夜美美 阅读(1014) 评论(0) 推荐(0) 编辑
摘要: 隐藏拖动把手: 设置ToolBar属性 ToolBarTray.IsLocked="True",可以达到隐藏拖动把手的目的 <ToolBar x:Name="tbStuRelay" Width="120" ToolBarTray.IsLocked="True" Background="#008ede 阅读全文
posted @ 2017-07-19 16:40 寒夜美美 阅读(8829) 评论(0) 推荐(0) 编辑
摘要: 带参数的多线程的方式 #region 执行带一个参数的多线程 Thread mythread = new Thread(new ParameterizedThreadStart(Calculate)); mythread.IsBackground = true; mythread.Start(500 阅读全文
posted @ 2017-07-19 16:33 寒夜美美 阅读(270) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-07-06 09:53 寒夜美美 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Pascal 规则 每个单词开头的字母大写(如 TestCounter). Camel 规则除了第一个单词外的其他单词的开头字母大写. 如. testCounter. Upper 规则仅用于一两个字符长的常量的缩写命名,超过三个字符长度应该应用Pascal规则. 例如: 复制代码代码如下: publ 阅读全文
posted @ 2017-07-05 15:06 寒夜美美 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 一、什么是耦合度 耦合度就是某模块(类)与其它模块(类)之间的关联、感知和依赖的程度,是衡量代码独立性的一个指标,也是软件工程设计及编码质量评价的一个标准。耦合的强度依赖于以下几个因素:(1)一个模块对另一个模块的调用;(2)一个模块向另一个模块传递的数据量;(3)一个模块施加到另一个模块的控制的多 阅读全文
posted @ 2017-07-05 09:52 寒夜美美 阅读(9027) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 29 下一页