private void button1_Click(object sender, EventArgs e) { AddLocker.Hide(); FinishLockers.Hide(); Update.Show(); radioButton1.Hide(); radioButton2.Hide(); }
private void Update_Click(object sender, EventArgs e) { //Update in datagrid DataGridViewRow newDataRow = dataGridView1.Rows[indexRow]; newDataRow.Cells[1].Value = comboHeight.Text; newDataRow.Cells[0].Value = ColorBox.Text; AddLocker.Show(); FinishLockers.Show(); Update.Hide(); radioButton1.Show(); radioButton2.Show(); }