public StaffWindow() { InitializeComponent(); DataContext = new DateManageVM(); AllStaffs = viewAllStaff; }
public PositionWindow() { InitializeComponent(); DataContext = new DateManageVM(); AllPositions = viewAllPos; }
public DepartmentWindow() { InitializeComponent(); DataContext = new DateManageVM(); AllDepartments = viewAllDep; }
public MainWindow() { InitializeComponent(); DataContext = new DateManageVM(); Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose; }
public EditPositionWindow() { InitializeComponent(); DataContext = new DateManageVM(); }
public AddNewStaffWindow() { InitializeComponent(); DataContext = new DateManageVM(); }
public EditDepartmentWindow() { InitializeComponent(); DataContext = new DateManageVM(); }