Open Visual Stdio for programming 1. application of the textBox Control: write code for the logon window: private void button#click (object sender, EventArgs e) {if (textBox2.Text = "123456" | textBox1.Text = "zhangsan ") {MessageBox. show ("Login successful");} else {MessageBox. show ("check whether the name and password are correct") ;}} 2. the checkBox (check box) control is applied. After the code for completing this graph is added to the show hobbies button code: private void button#click (object sender, EventArgs e) {// Add the Code if (textBox1.Text = "") {MessageBox in the show hobbies button event. show (this, "enter your name", "Message", MessageBoxButtons. OK, MessageBoxIcon. information);} else {if (checkBox1.Checked = true & checkBox2.Checked = true) textBox2.Text = textBox1.Text + "like" + checkBox1.Text + "and" + checkBox2.Text; else if (checkBox1.Checked = true & checkBox2.Checked = false) textBox2.Text = textBox1.Text + "like" + checkBox1.Text; else if (checkBox1.Checked = false & checkBox2.Checked = true) textBox2.Text = textBox1.Text + "like" + checkBox2.Text; else if (checkBox1.Checked = false & checkBox2.Checked = false) textBox2.Text = "" ;}} 3. the application of the listView control pulls a listView control and sets the attribute: View attribute is the result of opening Columns to add data items to the listView control in DeTails, add the event processing function static int itemNumber = 0 for the Add/delete button, respectively. //// the variable private void button#click (object sender, EventArgs e) is defined by the Constitution) {// construct the String array of the sub-entries of the entry String [] subItem = new String [] {textBox1.Text, textBox2.Text, textBox2.Text}; // Insert a new entry listView1.Items. add (new ListViewItem (subItem); listView1.Items [itemNumber]. imageIndex = 0; itemNumber ++;} private void button2_Click (object sender, EventArgs e) {for (int I = listView1.SelectedItems. count-1; I> = 0; I --) {// obtain ListViewItem li = listView1.SelectedItems [I]; // Delete this entry listView1.Items. remove (li); itemNumber --;}}