private void OnEditButtonClicked(object sender, RoutedEventArgs e)
        {
            var game = (sender as Button).Tag as Game;

            if (game == null)
            {
                return;
            }

            var editor = new GameItemEditor(game);

            editor.ShowDialog();
        }
Esempio n. 2
0
        private void OnAddGameClicked(object sender, System.Windows.RoutedEventArgs e)
        {
            var editor = new GameItemEditor();

            editor.ShowDialog();
        }