private void updaeRepDesc(frmReviseRepair Parent, String txtRepairDesc) { frmupRepDesc listRepairs = new frmupRepDesc(this, txtRepairDesc, txtRepID.Text); listRepairs.StartPosition = FormStartPosition.CenterScreen; listRepairs.Show(); }
public frmupRepDesc(frmReviseRepair Parent, String description, String Repid) { parent = Parent; InitializeComponent(); txtRepairDesc.Text = description; txtRepId.Text = Repid; }
private void reviseRepairToolStripMenuItem_Click(object sender, EventArgs e) { frmReviseRepair reviseRepair = new frmReviseRepair(this); reviseRepair.StartPosition = FormStartPosition.CenterScreen; reviseRepair.Show(); this.Hide(); }