Exemplo n.º 1
0
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     StockAsiaDrink.frmSaleConsignmentNew frmSale = new StockAsiaDrink.frmSaleConsignmentNew();
     frmSale.MdiParent = this.MdiParent;
     frmSale.Show();
 }
Exemplo n.º 2
0
 private void dgvHead_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (CheckSearch == 1)
     {
         //StockAsiaDrink.frmSentCons frm = new StockAsiaDrink.frmSentCons(dgvHead.Rows[e.RowIndex].Cells[0].Value.ToString(), Sta.ToString());
         //frm.ShowDialog();
         //MainStock();
     }
     else if (CheckSearch == 2)
     {
         StockAsiaDrink.frmSaleConsignmentNew frm = new StockAsiaDrink.frmSaleConsignmentNew(dgvHead.Rows[e.RowIndex].Cells[0].Value.ToString(), Sta.ToString());
         frm.ShowDialog();
         MainSale();
     }
     else if (CheckSearch == 3)
     {
         StockAsiaDrink.frmReConsignment frm = new StockAsiaDrink.frmReConsignment(dgvHead.Rows[e.RowIndex].Cells[0].Value.ToString(), Sta.ToString());
         frm.ShowDialog();
         MainRe();
     }
 }