Пример #1
0
        private void NewCuisine_Click(object sender, RoutedEventArgs e)
        {
            NewCuisine newCui = new NewCuisine();

            newCui.Show();
            this.Close();
        }
        private void btnNewCuisine_Click(object sender, RoutedEventArgs e)
        {
            //Switcher.Switch(new NewRecipe());
            NewCuisine newRec = new NewCuisine();

            newRec.ShowDialog();
        }
        private void btnNewCuisine_Click(object sender, RoutedEventArgs e)
        {
            NewCuisine win = new NewCuisine();

            win.ShowDialog();

            UpdateWindow();
        }
        private void btnNewCuisine_Click(object sender, RoutedEventArgs e)
        {
            NewCuisine win = new NewCuisine();

            win.ShowDialog();

            WpfApplication1.FoodProjectDataSet foodProjectDataSet = ((WpfApplication1.FoodProjectDataSet)(this.FindResource("foodProjectDataSet")));
            WpfApplication1.FoodProjectDataSetTableAdapters.CuisineTableAdapter foodProjectDataSetCuisineTableAdapter = new WpfApplication1.FoodProjectDataSetTableAdapters.CuisineTableAdapter();
            foodProjectDataSetCuisineTableAdapter.Fill(foodProjectDataSet.Cuisine);
        }
        private void btnNewCuisine_Click(object sender, RoutedEventArgs e)
        {
            NewCuisine newCus = new NewCuisine();

            newCus.ShowDialog();
        }