public CampaignTypesController(ReportAdvertisingUploadView _mf) { connection = DBData.GetDBConnection(); controlAdvertisingUploadReportView = _mf; }
/* Конструктор */ public KeywordCategoryController(SemCoreRebuildView _controlForm) { connection = DBData.GetDBConnection(); controlFormSemCoreRebuildView = _controlForm; }
/* Конструктор */ public KeywordCategoryController(SemCoreArchiveView _controlForm) { connection = DBData.GetDBConnection(); controlSemCoreArchiveView = _controlForm; }
/* Конструктор */ public LoggerView(MainFormView _mf, UserModel _um) { InitializeComponent(); firstRun = true; startDate = DateTime.Today; //endDate = DateTime.Now; endDate = DateTime.Today.AddHours(23).AddMinutes(59); asinFilter = false; skuFilter = false; productNameFilter = false; creationUserNameFilter = false; productIdForFilter = creationUserIdForFilter = -1; asinForFilter = skuForFilter = "Все"; previousCountOfLogs = 0; connection = DBData.GetDBConnection(); mf = _mf; userModel = _um; notifyIcon1.Visible = true; pList = new List <ProductsModel> { }; mpList = new List <MarketplaceModel> { }; logList = new List <LoggerModel> { }; uList = new List <UserModel> { }; uniqueProductNames = new List <string> { }; uniqueASINs = new List <string> { }; pController = new ProductsController(this); mpController = new MarketplaceController(this); logController = new LoggerController(this); lfController = new LoginFormController(this); lb_StartDate.Text = startDate.ToString().Substring(0, 10); lb_EndDate.Text = endDate.ToString().Substring(0, 10); label4.Text = "С " + startDate.ToString().Substring(0, 10); label5.Text = "По " + endDate.ToString().Substring(0, 10); mpController.GetMarketplaces(); pController.GetProductsAllJOIN(); Fill_CB_ByProducts(); lfController.GetAllUsers(); Fill_CB_ByUsers(); logController.GetAllRecordsByDate(startDate, endDate); if (logList.Count > 0) { label6.Visible = false; dgv_Log.Visible = true; previousCountOfLogs = logList.Count; Draw_dgv_Logs(); } timer1.Enabled = true; timer1.Start(); }
/* Конструктор */ public KeywordCategoryController(KeywordCategoryView _controlForm) { connection = DBData.GetDBConnection(); controlFormKeywordCategoryView = _controlForm; }
public SemCoreArchiveController(SemCoreRebuildView _form) { connection = DBData.GetDBConnection(); controlSemCoreRebuildView = _form; }
public FullSemCoreController(KeywordsAreExistedView _form) { connection = DBData.GetDBConnection(); ControlFormKeywordsAreExisted = _form; }
/* Конструктор */ public ProductTypesController(ProductsView _controlForm) { connection = DBData.GetDBConnection(); controlFormProductsView = _controlForm; }
/* Конструктор */ public ProductTypesController(SemCoreRebuildView _controlForm) { connection = DBData.GetDBConnection(); controlFormSemCoreRebuildView = _controlForm; }
public AdvertisingController(ReportSessionsView _mf) { connection = DBData.GetDBConnection(); controlReportSessionsView = _mf; }
/* Конструктор */ public ProductTypesController(KeywordCategoryView _controlForm) { connection = DBData.GetDBConnection(); controlKeywordCategoryView = _controlForm; }
public AdvertisingController(EveryDayReportsUpdate _mf) { connection = DBData.GetDBConnection(); controlEveryDayReportsUpdate = _mf; }
public LoggerController(MainFormView _mf) { connection = DBData.GetDBConnection(); controlMainFormView = _mf; }
public LoggerController(LoggerAdd _mf) { connection = DBData.GetDBConnection(); controlFormLoggerAdd = _mf; }
public CampaignTypesController(ReportAdvertisingFilterView _mf) { connection = DBData.GetDBConnection(); controlAdvertisingReportFilterView = _mf; }
/* Конструктор */ public ProductTypesController(SemCoreArchiveView _controlForm) { connection = DBData.GetDBConnection(); controlSemCoreArchiveView = _controlForm; }
public FullSemCoreController(MainFormView _form) { connection = DBData.GetDBConnection(); ControlFormMF = _form; }
public BusinessController(ReportBusinessFilterView _mf) { connection = DBData.GetDBConnection(); controlReportBusinessFilterView = _mf; }
public SemCoreArchiveController(FullSemCoreView _form) { connection = DBData.GetDBConnection(); controlFullSemCoreView = _form; }
public BusinessController(EveryDayReportsUpdate _mf) { connection = DBData.GetDBConnection(); controlEveryDayReportsUpdate = _mf; }