摘要: using System; namespace 索引器 { class Program { static void Main(string[] args) { Phone a1 = new Phone("小米", 3000); Console.WriteLine(a1[0]); ... 阅读全文
posted @ 2018-01-07 23:31 巫居树 阅读(172) 评论(0) 推荐(0) 编辑
摘要: interactable:交互,取消勾选则点击失效 transition:过渡 1.none 2.color tint 色调target graphhic目标图形normal color正常的颜色highlighted color突出的颜色,鼠标移动到button上面pressed color按下的 阅读全文
posted @ 2018-01-01 14:47 巫居树 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: ArrayList 类: 使用大小会根据需要动态增加的数组来实现 IList 接口。 Hashtable 类: 表示根据键的哈希代码进行组织的键/值对的集合。 OpenFileDialog 类: 表示一个通用对话框,用户可以使用此对话框来指定一个或多个要打开的文件的文件名。 SaveFileDial 阅读全文
posted @ 2017-12-13 11:29 巫居树 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: private void OpenExcel(string strFileName) { object missing = System.Reflection.Missing.Value; Microsoft.Office.Interop.Excel.Application excel = new Microsof... 阅读全文
posted @ 2017-11-09 18:10 巫居树 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 引用: 阅读全文
posted @ 2017-11-09 16:44 巫居树 阅读(4503) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections; 3 using System.Collections.Generic; 4 using System.ComponentModel; 5 using System.Data; 6 using System.Drawing; 7 using System.Linq; 8 using System... 阅读全文
posted @ 2017-10-11 00:24 巫居树 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: NXOpen:通用APINXOpen.CAM:数控加工NXOpen.Assemblies:组件 NXOpen.GeometricAnalysis:几何分析NXOpen.GeometricUtilities:几何工具 NXOpen.ModlDirect:直接建模NXOpen.Drafting:草图NX 阅读全文
posted @ 2017-10-08 23:04 巫居树 阅读(375) 评论(0) 推荐(0) 编辑
摘要: //添加暂停功能 阅读全文
posted @ 2017-09-25 22:01 巫居树 阅读(155) 评论(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-09-25 01:11 巫居树 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 输出: 第一个第二个第三个哈哈1哈哈2哈哈3 阅读全文
posted @ 2017-09-10 13:43 巫居树 阅读(1079) 评论(0) 推荐(0) 编辑