public StudentPresenter(MainWindow reference) { windowRef = reference; dbConn = new DBController(); StudentList = new List<Student>(); PromptForSaveChanges = false; PopulatedTabs = new List<int>(); }
public StudentPresenter(MainWindow reference) { windowRef = reference; dbConn = new DBController(); StudentList = new List<Student>(); PromptForSaveChanges = false; PopulatedTabs = new List<int>(); windowRef.listStudents.ItemsSource = StudentList; windowRef.listStudents.DisplayMemberPath = "DisplayString"; }
public OptionsWindow(MainWindow windowRef) { InitializeComponent(); this.windowRef = windowRef; }