public SyncModal() { InitializeComponent(); companyControl = new CompanyControl(); hardwareConfigurationControl = new HardwareConfigurationControl(); fillCBCompany(); }
public NewDepartmentModal() { InitializeComponent(); DataContext = new DepartmentViewControl(); departmentControl = new DepartmentControl(); companyControl = new CompanyControl(); }
public StructureRegisterView() { InitializeComponent(); structureControl = new StructureControl(); companyControl = new CompanyControl(); fillGridStructure(); fillCBCompany(); }
public DepartmentRegisterView() { InitializeComponent(); departmentControl = new DepartmentControl(); companyControl = new CompanyControl(); departmentViewControl = new DepartmentViewControl(); DataContext = departmentViewControl; }
private void ListCheck_OnClick(object sender, RoutedEventArgs e) { if (isMonAvailable) { CompanyControl.CheckCurrentList(); } else { CompanyControl.CheckCurrentList(); } }
public CompanyRegisterView() { InitializeComponent(); companyControl = new CompanyControl(); companyViewControl = new CompanyViewControl(); fillCBState(); fillCBFatherCompany(); fillImageControl(); DataContext = companyViewControl; }
public OpenCallModal() { InitializeComponent(); DataContext = new OpenCallViewControl(); email = new Email(); openCallManagerControl = new OpenCallManagerControl(); companyControl = new CompanyControl(); mailControl = new MailControl(openCallManagerControl.getOpenCallManager()); fillCBCompany(); }
public EmployeeReportView() { InitializeComponent(); employeeControl = new EmployeeControl(); companyControl = new CompanyControl(); departmentControl = new DepartmentControl(); officeControl = new OfficeControl(); fillGriddEmployee(); fillCBCompany(); fillCBDepartment(); fillCBOffice(); }
public RecessRegisterView() { InitializeComponent(); recessControl = new RecessControl(); companyControl = new CompanyControl(); departmentControl = new DepartmentControl(); recessViewControl = new RecessViewControl(); DataContext = recessViewControl; fillCBCompany(); fillCBDepartment(); }
public HardwareConfigurationView() { InitializeComponent(); DataContext = new HardwareConfigurationViewControl(); hardwareConfigurationControl = new HardwareConfigurationControl(); companyControl = new CompanyControl(); hardwareControl = new HardwareControl(); fillGridHardwareConfiguration(); fillCBCompany(); fillCBHardware(); fillImageControl(); }
public ImportEmployeeModal() { InitializeComponent(); importControl = new ImportControl(); companyControl = new CompanyControl(); scheduleControl = new ScheduleControl(); DataContext = new ImportEmployeesViewControl(); backWorkerImportEmployee.DoWork += importEmployeeBackground; backWorkerImportEmployee.RunWorkerCompleted += backWorkerImportEmployeeResponse; fillCBCompany(); fillCBSchedule(); }
public ExportTaxFilesModal() { InitializeComponent(); DateTime firstDayOfMonth = new DateTime(DateTime.Now.Date.Year, DateTime.Now.Date.Month, 1); DateTime lastDayOfMonth = firstDayOfMonth.AddMonths(1).AddDays(-1); DPStartDate.SelectedDate = firstDayOfMonth; DPEndDate.SelectedDate = lastDayOfMonth; companyControl = new CompanyControl(); departmentControl = new DepartmentControl(); exportTaxFileControl = new ExportTaxFileControl(); fillCBCompany(); fillCBDepartment(); }
public DailyPointView() { InitializeComponent(); DPDate.SelectedDate = DateTime.Now.Date; markingControl = new MarkingControl(); companyControl = new CompanyControl(); departmentControl = new DepartmentControl(); officeControl = new OfficeControl(); dailyPointViewControl = new DailyPointViewControl(); fillGriddDailyMarking(); fillCBCompany(); fillCBDepartment(); fillCBOffice(); DataContext = dailyPointViewControl; }
public EmployeeRegisterView() { InitializeComponent(); employeeControl = new EmployeeControl(); companyControl = new CompanyControl(); scheduleControl = new ScheduleControl(); departmentControl = new DepartmentControl(); officeControl = new OfficeControl(); resignationReasonControl = new ResignationReasonControl(); employeeViewControl = new EmployeeViewControl(); DataContext = employeeViewControl; fillCBCompany(); fillCBSchedule(); fillCBDepartment(); fillCBOffice(); fillCBRReasons(); fillImageControl(); }
public MarkingCardView() { InitializeComponent(); DateTime firstDayOfMonth = new DateTime(DateTime.Now.Date.Year, DateTime.Now.Date.Month, 1); DateTime lastDayOfMonth = firstDayOfMonth.AddMonths(1).AddDays(-1); DPStartDate.SelectedDate = firstDayOfMonth; DPEndDate.SelectedDate = lastDayOfMonth; markingControl = new MarkingControl(); companyControl = new CompanyControl(); departmentControl = new DepartmentControl(); officeControl = new OfficeControl(); employeeControl = new EmployeeControl(); markingCardViewControl = new MarkingCardViewControl(); fillCBCompany(); fillCBDepartment(); fillCBOffice(); DataContext = markingCardViewControl; }