电子灵魂

golang,go,C#,JAVA,PYTHON,PHP

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年4月29日

摘要: 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 @ 2015-04-29 10:49 conncent 阅读(823) 评论(0) 推荐(0) 编辑

摘要: using System; using System.Threading; //引用多线程 namespace ThreadTest { public class Alpha { public void Beta() { while (true) { Console... 阅读全文
posted @ 2015-04-29 10:44 conncent 阅读(541) 评论(0) 推荐(0) 编辑

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 乘法运算表for { class Program { static void Main(string[] args) { for (... 阅读全文
posted @ 2015-04-29 10:39 conncent 阅读(1631) 评论(0) 推荐(0) 编辑

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; //引用系统调用 namespace win32_Api { class Program { [DllImport(... 阅读全文
posted @ 2015-04-29 10:33 conncent 阅读(446) 评论(0) 推荐(0) 编辑

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Diagnostics; using System.Runtime.InteropServices; namespace rmb { class... 阅读全文
posted @ 2015-04-29 10:24 conncent 阅读(7225) 评论(0) 推荐(0) 编辑

摘要: using Microsoft.Win32; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows... 阅读全文
posted @ 2015-04-29 10:17 conncent 阅读(384) 评论(0) 推荐(0) 编辑

摘要: DialogResult reset; reset= MessageBox.Show("请检查您的输入信息是否按照规则输入的", "信息输入好像有问题哦", MessageBoxButtons.OKCancel, MessageBoxIcon.Hand); if (reset == DialogResult.OK) { ... 阅读全文
posted @ 2015-04-29 10:10 conncent 阅读(296) 评论(0) 推荐(0) 编辑

摘要: HeScripts script = new HeScripts(); //A窗口中实例化B窗口 string okscripts = "test"; //设置字段内容 script.oktess = okscripts; //设置获取的B窗口获取的字段类型(string)写入数据到B窗口 script.ShowDialog(); // 打开并显示B窗口 SrcTextBox.AppendTe... 阅读全文
posted @ 2015-04-29 10:02 conncent 阅读(531) 评论(0) 推荐(0) 编辑

摘要: 主程序的使用方式以及调用方法字段、属性、方法 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime; using System.Runtime.InteropServices; namespace demo学习控制 { class... 阅读全文
posted @ 2015-04-29 09:50 conncent 阅读(750) 评论(0) 推荐(0) 编辑

摘要: private void button1_Click(object sender, EventArgs e) { FileStream fs = new FileStream("123.txt", FileMode.Append); StreamWriter ws = new StreamWriter(fs); ... 阅读全文
posted @ 2015-04-29 09:43 conncent 阅读(733) 评论(0) 推荐(0) 编辑