private void button1_Click(object sender, EventArgs e) { if (fMakeBill == null) { fMakeBill = new FormMakeBill(); } fMakeBill.CurrentAccount = this.Current_acc; fMakeBill.Show(); fMakeBill.Activate(); }
private void listOfBillsToolStripMenuItem_Click(object sender, EventArgs e) { if (fMakeBill == null) { fMakeBill = new FormMakeBill(); } fMakeBill.CurrentAccount = this.Current_Account.User; fMakeBill.MdiParent = this; fMakeBill.Show(); fMakeBill.Activate(); }