Наследование: System.Windows.Window
Пример #1
0
        private void MenuItem_Click_1(object sender, RoutedEventArgs e)
        {
            //создать продукт
            WindowProducts windowProducts = new WindowProducts();

            windowProducts.ShowDialog();
            if (windowProducts.DialogResult.Value && windowProducts.DialogResult.HasValue)
            {
                init();
            }
        }
 private void MenuItem_Click_1(object sender, RoutedEventArgs e)
 {
     //создать продукт
     WindowProducts windowProducts = new WindowProducts();
     windowProducts.ShowDialog();
     if (windowProducts.DialogResult.Value && windowProducts.DialogResult.HasValue)
     {
         init();
     }
       
 }