예제 #1
0
        private void Mnu_Click(object sender, EventArgs e)
        {
            frmTransaction transaction = new frmTransaction();

            transaction.VoucherId = Convert.ToInt32(((ToolStripMenuItem)sender).Tag);
            transaction.MdiParent = this;
            transaction.Text      = ((ToolStripMenuItem)sender).Text;
            transaction.Show();
            transaction.BringToFront();
        }
예제 #2
0
 private void transactionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (transaction.IsDisposed)
     {
         transaction = new frmTransaction();
     }
     transaction.MdiParent = this;
     transaction.Show();
     transaction.BringToFront();
 }