コード例 #1
0
ファイル: FormHome.cs プロジェクト: tvtien2k/ElectroShop
 private void button1_Click(object sender, EventArgs e)
 {
     if (fMakeBill == null)
     {
         fMakeBill = new FormMakeBill();
     }
     fMakeBill.CurrentAccount = this.Current_acc;
     fMakeBill.Show();
     fMakeBill.Activate();
 }
コード例 #2
0
 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();
 }