private void button2_Click(object sender, EventArgs e) { var brak = new OperationForm(); brak.Show(); Close(); }
private void button1_Click(object sender, EventArgs e) { var indexW = Convert.ToInt32(comboBox1.SelectedValue.ToString()); var indext = Convert.ToInt32(comboBox2.SelectedValue.ToString()); dataBase.operationupd(indexW, indext, textBox2.Text, Convert.ToInt32(textBox2.Text), Convert.ToInt32(textBox3.Text), _id); var brak = new OperationForm(); brak.Show(); Close(); }