Пример #1
0
        internal static Tackle AddNoteTackle()
        {
            TackleWindow wnd = new TackleWindow(true);

            wnd.ShowDialog();
            return(wnd.SelectedTackle);
        }
Пример #2
0
        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;
            }
        }
Пример #3
0
        public static void ShowTackles()
        {
            var wnd = new TackleWindow();

            wnd.ShowDialog();
        }