private void buttonEvents_Click(object sender, RoutedEventArgs e) { MyEvents myEvents = new MyEvents(user); myEvents.ShowDialog(); calendar = util.ReadEventsSerialFile(); SetDaysOfMonth(); }
private void buttonEvents_Click(object sender, RoutedEventArgs e) { MyEvents myEvents = new MyEvents(user); myEvents.ShowDialog(); calendar = util.ReadEventsSerialFile(); Week newWeekView = new Week(month, year, user); newWeekView.Show(); this.Close(); }