Exemplo n.º 1
0
 private void receiptStyleTsButton_Click(object sender, EventArgs e)
 {
     try
     {
         pnlContext.Controls.Clear();
         ReceiptDetailsCtl objReceipt = new ReceiptDetailsCtl(this);
         objReceipt.Parent = this;
         pnlContext.Controls.Add(objReceipt);
         objReceipt.Dock = DockStyle.Fill;
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 2
0
 private void tsMnuReceiptStyle_Click(object sender, EventArgs e)
 {
     try
     {
         pnlContext.Controls.Clear();
         ReceiptDetailsCtl objReceipt = new ReceiptDetailsCtl(this);
         objReceipt.Parent = this;
         pnlContext.Controls.Add(objReceipt);
         objReceipt.Dock = DockStyle.Fill;
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }