Exemple #1
0
 void InitInstanceObj()
 {
     try
     {
         _CM  = new ChannelManage();
         _COR = new CompOfRecords();
         _CRQ = new CaptureRecordQuery();
         _TM  = new TemplateManager();
     }
     catch (Exception ex)
     {
         MyMessage.Show(string.Format("请联系技术人员处理该问题:\n{0}", ex));
     }
 }
 void InitInstanceObj()
 {
     try
     {
         //moduleChannel = new ChannelModule.MainView();
         moduleChannel = new ChannelManage();
         moduleCompare = new CompOfRecords();
         moduleSnap    = new CaptureRecordQuery();
     }
     catch (Exception ex)
     {
         MyMessage.Show(string.Format("请联系技术人员处理该问题:\n{0}", ex));
     }
 }