Пример #1
0
 public void UpdateWiringNodeStructure(JCHVRF.Model.NextGen.SystemVRF CurrentSystem)
 {
     try
     {
         string imageDir = @"/Image/TypeImages/";
         JCHVRF_New.Utility.WiringBLL bll = new JCHVRF_New.Utility.WiringBLL(JCHVRF.Model.Project.GetProjectInstance, imageDir);
         bll.CreateWiringNodeStructure(CurrentSystem);
     }
     catch (Exception ex)
     {
         JCHMessageBox.Show("Error Occured : " + ex.Message);
     }
 }
Пример #2
0
 public void UpdateWiringNodeStructure(JCHVRF.Model.NextGen.SystemVRF CurrentSystem)
 {
     try
     {
         string imageDir = @"/Image/TypeImages/";
         JCHVRF_New.Utility.WiringBLL bll = new JCHVRF_New.Utility.WiringBLL(JCHVRF.Model.Project.GetProjectInstance, imageDir);
         bll.CreateWiringNodeStructure(CurrentSystem);
     }
     catch (Exception ex)
     {
         //JCHMessageBox.Show("Error Occured : " + ex.Message);
         //----------------- Code below for multi-langauge------------//
         JCHMessageBox.Show(Language.Current.GetMessage("ERROR_OCCURED"), MessageType.Error);
     }
 }