public ProgrammeWindow(DepartmentWindow departmentWindow) { InitializeComponent(); this.departmentWindow = departmentWindow; initialise(); }
private void startButton_Click(object sender, RoutedEventArgs e) { Logger.Debug("Loading DepartmentWindow"); DepartmentWindow departmentWindow = new DepartmentWindow(this); departmentWindow.Show(); Hide(); }