摘要: 效果图 ----using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading; //用到了线程namespace Example33{ public partial class Form1 : Form { public Form1() { ... 阅读全文
posted @ 2011-10-17 23:31 C#_初学者 阅读(2203) 评论(0) 推荐(0)
摘要: 1,1,2,3,5,8,13,21,34....... 要求用递归的方法算出 第 30 个数是多少!using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace Example32{ public partial class Form1 : Form { public Form1... 阅读全文
posted @ 2011-10-17 21:48 C#_初学者 阅读(1228) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Example31{ class Program { static void Main(string[] args) { Console.Title = "循环向控制台中输入内容"; //定义控制台标题 Console.WindowWidth = 30; //窗体宽度 Console.WindowHeight = 2; //窗体高度 ... 阅读全文
posted @ 2011-10-17 01:34 C#_初学者 阅读(863) 评论(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.Windows.Forms;using System.IO;namespace Example26{ public partial class Form1 : Form { public Form1() { InitializeComponent()... 阅读全文
posted @ 2011-10-17 01:33 C#_初学者 阅读(268) 评论(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.Windows.Forms;namespace Example24{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } privat... 阅读全文
posted @ 2011-10-17 01:32 C#_初学者 阅读(279) 评论(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.Windows.Forms;using System.Reflection; // MethodInfo 需要引用namespace Example23{ public partial class Form1 : Form { public Form1() {... 阅读全文
posted @ 2011-10-17 01:27 C#_初学者 阅读(219) 评论(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.Windows.Forms;namespace Example22{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } privat... 阅读全文
posted @ 2011-10-17 01:25 C#_初学者 阅读(307) 评论(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.Windows.Forms;namespace Example20{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } privat... 阅读全文
posted @ 2011-10-17 01:22 C#_初学者 阅读(768) 评论(1) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace Example019{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } priva... 阅读全文
posted @ 2011-10-17 01:06 C#_初学者 阅读(646) 评论(0) 推荐(0)