private void btnBrowseIngredient_Click(object sender, RoutedEventArgs e) { BrowseWindow brWin = new BrowseWindow(); brWin.BrowseTabControl.SelectedIndex = 2; brWin.ShowDialog(); }
private void btnBrowseRecipe_Click(object sender, RoutedEventArgs e) { BrowseWindow brWin = new BrowseWindow(); brWin.BrowseTabControl.SelectedIndex = 0; //brWin.Owner = this; brWin.ShowDialog(); }
private void btnBrowseCuisine_Click(object sender, RoutedEventArgs e) { BrowseWindow brWin = new BrowseWindow(); brWin.BrowseTabControl.SelectedIndex = 1; brWin.ShowDialog(); UpdateWindow(); }