void NewEventBtn_Click(Object sender, EventArgs e)
        {
            NewEvent newEvent = new NewEvent();

            newEvent.ShowDialog();
            ReadSerialFile();
            SetDaysOfMonth();
        }
        private void NewEventBtn_Click(Object sender, EventArgs e)
        {
            NewEvent newEvent = new NewEvent(user);

            newEvent.ShowDialog();
            calendar = util.ReadEventsSerialFile();
            SetDaysOfMonth();
        }
        void NewEventBtn_Click(Object sender, EventArgs e)
        {
            NewEvent newEvent = new NewEvent();

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

            newWeekView.Show();
            this.Close();
        }
Пример #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();
        }