private void addEmployeeToolStripMenuItem_Click(object sender, EventArgs e) { string xxx = "001"; Add_Employee aee = new Add_Employee(xxx); aee.Show(); }
private void updateToolStripMenuItem_Click(object sender, EventArgs e) { try { string x = dataGridView1.SelectedRows[0].Cells[0].Value.ToString(); Add_Employee add = new Add_Employee(x); add.Show(); } catch { } }