예제 #1
0
 public StudentPresenter(MainWindow reference)
 {
     windowRef = reference;
     dbConn = new DBController();
     StudentList = new List<Student>();
     PromptForSaveChanges = false;
     PopulatedTabs = new List<int>();
 }
예제 #2
0
        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";
        }
예제 #3
0
 public OptionsWindow(MainWindow windowRef)
 {
     InitializeComponent();
     this.windowRef = windowRef;
 }