Пример #1
0
 private void toolStripButton4_Click(object sender, EventArgs e)
 {
     StockAsiaDrink.frmReConsignment frmSale = new StockAsiaDrink.frmReConsignment();
     frmSale.MdiParent = this.MdiParent;
     frmSale.Show();
     //StockAsiaDrink.frmReConsignment frm = new StockAsiaDrink.frmReConsignment();
     //frm.ShowDialog();
 }
Пример #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();
     }
 }