Exemplo n.º 1
0
        public SyncModal()
        {
            InitializeComponent();

            companyControl = new CompanyControl();
            hardwareConfigurationControl = new HardwareConfigurationControl();

            fillCBCompany();
        }
        public NewDepartmentModal()
        {
            InitializeComponent();

            DataContext = new DepartmentViewControl();

            departmentControl = new DepartmentControl();
            companyControl    = new CompanyControl();
        }
Exemplo n.º 3
0
        public StructureRegisterView()
        {
            InitializeComponent();

            structureControl = new StructureControl();
            companyControl   = new CompanyControl();

            fillGridStructure();
            fillCBCompany();
        }
Exemplo n.º 4
0
        public DepartmentRegisterView()
        {
            InitializeComponent();

            departmentControl     = new DepartmentControl();
            companyControl        = new CompanyControl();
            departmentViewControl = new DepartmentViewControl();

            DataContext = departmentViewControl;
        }
Exemplo n.º 5
0
 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;
        }
Exemplo n.º 7
0
        public OpenCallModal()
        {
            InitializeComponent();
            DataContext = new OpenCallViewControl();

            email = new Email();
            openCallManagerControl = new OpenCallManagerControl();
            companyControl         = new CompanyControl();

            mailControl = new MailControl(openCallManagerControl.getOpenCallManager());

            fillCBCompany();
        }
Exemplo n.º 8
0
        public EmployeeReportView()
        {
            InitializeComponent();

            employeeControl   = new EmployeeControl();
            companyControl    = new CompanyControl();
            departmentControl = new DepartmentControl();
            officeControl     = new OfficeControl();

            fillGriddEmployee();
            fillCBCompany();
            fillCBDepartment();
            fillCBOffice();
        }
Exemplo n.º 9
0
        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();
        }
Exemplo n.º 11
0
        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();
        }
Exemplo n.º 13
0
        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();
        }
Exemplo n.º 15
0
        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;
        }