前田稔(Maeda Minoru)の超初心者のプログラム入門
public MyForm() { InitializeComponent(); } |
this.listBox1.BackColor = System.Drawing.SystemColors.ControlDark; this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox1.BackColor = System.Drawing.SystemColors.ActiveCaption; this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; |
public MyForm() { InitializeComponent(); Load += new System.EventHandler(MyForm_Load); } |
private void MyForm_Load(object sender, System.EventArgs e) { listBox1.Items.Add("0123456789"); listBox1.Items.Add("abcdegfg"); listBox1.Items.Add("HIJKLMN"); textBox1.Text = "Text Box\r\n0123456\r\nTestMessage\r\nMaedaMinoru"; } |
[Next Chapter ↓] FolderView
・