Esempio n. 1
0
        private void btnInsertInquiry_Click(object sender, EventArgs e)
        {
            FrmInsertInqury frm = new FrmInsertInqury();

            frm.ShowDialog();
            this.OnLoad(null);
            rdoInquryOfProduct.Checked = true;
        }
Esempio n. 2
0
 private void gViewInquiry_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0 && e.RowIndex < gViewInquiry.Rows.Count)
     {
         if (rdoInquryOfProduct.Checked == true)
         {
             FrmInquireDetail frm = new FrmInquireDetail(gViewInquiry.Rows[e.RowIndex]);
             frm.ShowDialog();
             this.OnLoad(null);
         }
         else if (rdoReviewForPro.Checked == true)
         {
             FrmReviewDetail frm = new FrmReviewDetail(gViewInquiry.Rows[e.RowIndex]);
             frm.ShowDialog();
             rdoReviewForPro_CheckedChanged(null, null);
         }
         else if (rdoInquireToSys.Checked == true)
         {
             FrmInsertInqury frm = new FrmInsertInqury(gViewInquiry.Rows[e.RowIndex]);
             frm.ShowDialog();
             rdoInquireToSys_CheckedChanged(null, null);
         }
     }
 }