Пример #1
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     AddEventGCalendar df = new AddEventGCalendar();
     df.Owner = this.Owner;
     df.Show();
     this.Close();
 }
Пример #2
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            AddEventGCalendar df = new AddEventGCalendar();

            df.Owner = this.Owner;
            df.Show();
            this.Close();
        }