public StaffWindow()
        {
            InitializeComponent();

            DataContext = new DateManageVM();

            AllStaffs = viewAllStaff;
        }
        public PositionWindow()
        {
            InitializeComponent();

            DataContext = new DateManageVM();

            AllPositions = viewAllPos;
        }
Exemple #3
0
        public DepartmentWindow()
        {
            InitializeComponent();

            DataContext = new DateManageVM();

            AllDepartments = viewAllDep;
        }
Exemple #4
0
        public MainWindow()
        {
            InitializeComponent();

            DataContext = new DateManageVM();

            Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose;
        }
        public EditPositionWindow()
        {
            InitializeComponent();

            DataContext = new DateManageVM();
        }
Exemple #6
0
        public AddNewStaffWindow()
        {
            InitializeComponent();

            DataContext = new DateManageVM();
        }
Exemple #7
0
        public EditDepartmentWindow()
        {
            InitializeComponent();

            DataContext = new DateManageVM();
        }