public FormMain() { InitializeComponent(); BinDataToControls(); Ultils.RegisterInStartup(true, Application.ExecutablePath); lblVersion.Text = StringHelper.GetRunningVersion(); lblReset.Enabled = false; scanningLogService = new SCANNING_LOGS_Service(); workOrderItemsService = new WORK_ORDER_ITEMS_Service(); }
public FormMain_old() { InitializeComponent(); _mBDirty = false; _mBIsWatching = false; lblVersion.Text = StringHelper.GetRunningVersion(); Ultils.RegisterInStartup(true, Application.ExecutablePath); com = new CommunicationManager(); _inspectionStationsService = new INSPECTION_STATIONS_Service(); _scanningLogsService = new SCANNING_LOGS_Service(); _inspectionProcessesService = new INSPECTION_PROCESSES_Service(); _inspectionProcessesDesignersService = new INSPECTION_PROCEDURE_DESIGNERS_Service(); _workOrderItemService = new WORK_ORDER_ITEMS_Service(); LoadDataGridLookUpEditINSPECTION_STATIONS(); }