示例#1
0
 private void grid_CellClick(object sender, GridCellClickEventArgs e)
 {
     if (e.GridCell.GridColumn == gcPartCode)
     {
         PopupMaterialChoice frm = new PopupMaterialChoice();
         frm.ShowDialog();
         if (frm.ChoicePartCode != "")
         {
             grow[gcPartCode].Value = frm.ChoicePartCode;
         }
     }
 }
示例#2
0
 private void grid_CellClick(object sender, GridCellClickEventArgs e)
 {
     if (e.GridCell.GridColumn == gcPartCode)
     {
         PopupMaterialChoice frm = new PopupMaterialChoice();
         frm.ShowDialog();
         if (frm.ChoicePartCode != "")
         {
             grow[gcPartCode].Value = frm.ChoicePartCode;
         }
         if (grow[gcUID].Value.ToString() == "0")
         {
             grow[gcAskTime].Value = DateTime.Now;
         }
     }
 }