2013年5月13日

下拉列表框

摘要: View Code 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 下拉列表框{ public partial class Form1 : Form { public Form1() { InitializeCom... 阅读全文

posted @ 2013-05-13 19:45 杨柳清枫2012 阅读(128) 评论(0) 推荐(0)

listBox1

摘要: View Code 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 WindowsFormsApplication7{ public partial class Form1 : Form { public Form1() { ... 阅读全文

posted @ 2013-05-13 13:33 杨柳清枫2012 阅读(99) 评论(0) 推荐(0)

panel面板

摘要: View Code 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 面板{ public partial class Form1 : Form { public Form1() { InitializeCompon... 阅读全文

posted @ 2013-05-13 10:37 杨柳清枫2012 阅读(126) 评论(0) 推荐(0)

numericUpDown

摘要: View Code private void numericUpDown1_ValueChanged(object sender, EventArgs e) { label1.Text = ""; int n = Convert.ToInt32(numericUpDown1.Value); for (int i = 0; i < n;i++) { label1.Text += "@"; } } 阅读全文

posted @ 2013-05-13 10:22 杨柳清枫2012 阅读(106) 评论(0) 推荐(0)

Label 超链接LinkLabel

摘要: View Code 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 按钮{ public partial class Form1 : Form { public Form1() { InitializeCompon... 阅读全文

posted @ 2013-05-13 10:04 杨柳清枫2012 阅读(278) 评论(0) 推荐(0)

按钮

摘要: Name属性:指示代码中用来标识该对象的名称。AutoSize属性:自动调整自身的大小以适应其内容的大小。BackColor:组件背景色。BackroundIMage:控件的背景图片BackroundIMageLayout 用于组件背景图片的布局。Enabled:是否启用改控件。FlatStyle:用户将鼠标移动到空间上并单击时该控件的外观。Font:用于设置空间中上的文本字体。Text:与控件关联的文本View Code namespace 按钮{ partial class Form1 { /// <summary> /// 必需的设计器变量。 ... 阅读全文

posted @ 2013-05-13 09:35 杨柳清枫2012 阅读(139) 评论(0) 推荐(0)

窗体

摘要: system.windows.forms命名空间中的Application 提供了一系列管理窗口程序的静态方法,比如Run()方法启动程序,用Exit()方法退出程序,用EnableVisualStyles()方法启动应用程序的可视化样式。 阅读全文

posted @ 2013-05-13 09:03 杨柳清枫2012 阅读(115) 评论(0) 推荐(0)

导航