예제 #1
0
        //click on the view calendar button
        private void calendarButton_Click(object sender, RoutedEventArgs e)
        {
            CalendarMonthWindow calMonth = new CalendarMonthWindow();

            //calMonth.Owner = this; //TODO idk if i should remove this
            calMonth.Show();
        }
예제 #2
0
        public CalendarMonthWindow()
        {
            CalendarMonthWindow.newWindowOpened += handleNewWindow;
            MainWindow.mainClosed += handleMainClose;
            CalendarMonthWindow.newWindowOpened(this, null);

            InitializeComponent();

            loadMonthCal(currentMonth, currentYear);
        }