Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            FrmItems f = new FrmItems(ComputeTotalAmountWhenUpdateItem, 1, "HH000012");

            f.TopLevel = false;
            panel1.Controls.Add(f);
            f.Dock = DockStyle.Top;
            //f.TopMost = true;
            f.Show();
        }
Exemplo n.º 2
0
        private void LoadItemInfo()
        {
            idItemTemp += 1;
            FrmItems f = new FrmItems(ComputeTotalAmountWhenUpdateItem, idItemTemp, idProduct);

            f.TopLevel = false;
            PanelLoadItem.Controls.Add(f);
            f.Dock = DockStyle.Top;
            //f.TopMost = true;
            f.Show();
        }
Exemplo n.º 3
0
 private void LoadItemInfoWhenScanQRCode()
 {
     if (FrmScanQR_Bar.idProduct != "")
     {
         if (Invoice_DAO.Instance.InsertItemInvoiceTemp(FrmScanQR_Bar.idProduct, userInvoiceTemp()))
         {
             idItemTemp += 1;
             FrmItems f = new FrmItems(ComputeTotalAmountWhenUpdateItem, idItemTemp, FrmScanQR_Bar.idProduct);
             f.TopLevel = false;
             PanelLoadItem.Controls.Add(f);
             f.Dock = DockStyle.Top;
             //f.TopMost = true;
             f.Show();
         }
     }
 }