private void button4_Click_1(object sender, EventArgs e) { try { op2 = new opForm03(this); op2.ShowDialog(); textBox5.Text = op2.OperationCode; textBox6.Text = op2.OperationName; } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); } }
private void lab_planningStructureOrgnization_Click(object sender, EventArgs e) { searchForOperation = new opForm03(); searchForOperation.Show(); }