/// <summary>
        /// open the next window (adding mother window)
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Click_addMother(object sender, RoutedEventArgs e)
        {
            Window nextWindow = new AddMotherWindow();

            this.Close();
            nextWindow.ShowDialog();
        }
 private void addMother_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         mothersButtonsClicks();
         Window AddMotherWindow = new AddMotherWindow();
         AddMotherWindow.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
        private void AddMotherButton_Click(object sender, RoutedEventArgs e)
        {
            Window AddMotherWindow = new AddMotherWindow();

            AddMotherWindow.Show();
        }
Пример #4
0
        private void Button_Click_AddMother(object sender, RoutedEventArgs e)
        {
            AddMotherWindow addmotherwindow = new AddMotherWindow();

            addmotherwindow.ShowDialog();
        }