public AddOrUpdatePersonWindow(PeopleDb db, Person person = null)
        {
            this.db = db;
            InitializeComponent();

            if (person != null)
            {
                update = true;
            }
            this.SetDefaultValues(person);
        }
예제 #2
0
 public MainWindow(PeopleDb db)
 {
     this.db = db;
     InitializeComponent();
     this.RefreshUpcoming();
 }