private void Button2_Click(object sender, EventArgs e) { this.Hide(); AddNewEmployee an = new AddNewEmployee(); an.ShowDialog(); }
private void Button2_Click(object sender, EventArgs e) { try { this.Hide(); AddNewEmployee an = new AddNewEmployee(); an.ShowDialog(); } catch (Exception ex) { } }