private void button2_Click(object sender, EventArgs e) { Form addmaster = new change_master(); addmaster.Show(); this.Close(); }
private void button3_Click(object sender, EventArgs e) { string[] arrayClient = new string[dataGridView1.ColumnCount]; for (int i = 0; i < dataGridView1.ColumnCount; i++) { arrayClient[i] = dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells[i].Value.ToString(); } change_master f = new change_master(arrayClient); f.Show(); this.Close(); }