internal static Tackle AddNoteTackle() { TackleWindow wnd = new TackleWindow(true); wnd.ShowDialog(); return(wnd.SelectedTackle); }
private void SelectTackleBtn_Click(object sender, RoutedEventArgs e) { TackleWindow wnd = new TackleWindow(true); if (wnd.ShowDialog() == true) { TackleTb.Tag = wnd.SelectedTackle.Id; TackleTb.Text = wnd.SelectedTackle.Name; } }
public static void ShowTackles() { var wnd = new TackleWindow(); wnd.ShowDialog(); }