コード例 #1
0
        private void btnBrowseIngredient_Click(object sender, RoutedEventArgs e)
        {
            BrowseWindow brWin = new BrowseWindow();

            brWin.BrowseTabControl.SelectedIndex = 2;
            brWin.ShowDialog();
        }
コード例 #2
0
        private void btnBrowseRecipe_Click(object sender, RoutedEventArgs e)
        {
            BrowseWindow brWin = new BrowseWindow();

            brWin.BrowseTabControl.SelectedIndex = 0;
            //brWin.Owner = this;
            brWin.ShowDialog();
        }
コード例 #3
0
        private void btnBrowseCuisine_Click(object sender, RoutedEventArgs e)
        {
            BrowseWindow brWin = new BrowseWindow();

            brWin.BrowseTabControl.SelectedIndex = 1;
            brWin.ShowDialog();
            UpdateWindow();
        }