private void OrderFromSupplierButton_Click(object sender, EventArgs e) { ORDRERS_MAIN O_M = new ORDRERS_MAIN(EMP_ID); O_M.Enabled = true;//maybe not needed O_M.ShowDialog(); this.Hide(); }
private void CancelButton_Click(object sender, EventArgs e) { this.Close(); ORDRERS_MAIN New_om = new ORDRERS_MAIN(EMP_ID); New_om.Enabled = true; New_om.Show(); }