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