public void NetHostFormTest() { NetHostForm testNetHostForm = new NetHostForm(); testNetHostForm.listBox1_SelectedIndexChanged(); testNetHostForm.label6_Click(); testNetHostForm.textBox1_TextChanged(); testNetHostForm.label7_Load(); testNetHostForm.panel1_Paint(); testNetHostForm.button1_Click(); testNetHostForm.OnFormClosing(); }