private void btnDisplayEmployees_Click(object sender, EventArgs e) { DisplayRec newform = new DisplayRec(); this.Hide(); newform.ShowDialog(); }
private void btnReturn_Click(object sender, EventArgs e) { this.Dispose(); DisplayRec newform = new DisplayRec(); this.Close(); newform.ShowDialog(); }