示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (TypeController.addType(textBox1.Text))
     {
         this.DialogResult = DialogResult.OK;
     }
 }