Exemple #1
0
 void top_tool_bar_LookClicked(object sender, EventArgs e)
 {
     UltraGridRow row = this.comGrid.ActiveRow;
     if (row != null)
     {
         Prod_Components comp = row.ListObject as Prod_Components;
         CompMange EditFrm = new CompMange(comp, OperationTypeEnum.Look);
         EditFrm.CallBack += new CompMange.DCallBackHandler(EditFrm_CallBack);
         EditFrm.Show();
     }
 }
Exemple #2
0
 void top_tool_bar_LookClicked(object sender, EventArgs e)
 {
     UltraGridRow row = this.comGrid.ActiveRow;
     if (row != null)
     {
         string code = row.Cells["PRDC_CompNo"].Value.ToString();
         Prod_Components comp = prodInstance.GetComponentModel(code);
         CompMange compFrm = new CompMange(comp, OperationTypeEnum.Look);
         compFrm.ShowDialog();
     }
 }