void WeeklyViewBtn_Click(Object sender, EventArgs e)
        {
            Week weekWindow = new Week(month, year);

            weekWindow.Show();
            this.Close();
        }
        void NewEventBtn_Click(Object sender, EventArgs e)
        {
            NewEvent newEvent = new NewEvent();

            newEvent.ShowDialog();
            ReadSerialFile();
            Week newWeekView = new Week(month, year);

            newWeekView.Show();
            this.Close();
        }
Example #3
0
        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();
        }
Example #4
0
        private void NewEventBtn_Click(Object sender, EventArgs e)
        {
            NewEvent newEvent = new NewEvent(user);

            newEvent.ShowDialog();
            calendar = util.ReadEventsSerialFile();
            Week newWeekView = new Week(month, year, user);

            newWeekView.Show();
            this.Close();
        }