public ActionItems(jobview2 owner, string jobnumber) { strjobnumber = jobnumber; _owner = owner; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmActionItems_FormClosing); InitializeComponent(); }
public frmComment(jobview2 owner, string jobnumber) { InitializeComponent(); _owner = owner; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmComment_FormClosing); strJobNumber = jobnumber; }
private void btnSubmit_Click(object sender, EventArgs e) { string jobnumber = txtJob.Text; jobview2 jobview = new jobview2(jobnumber); jobview.Show(); }