Inheritance: System.Windows.Controls.ListViewItem
        private void Button_Edit_Click(object sender, RoutedEventArgs e)
        {
            ListViewItemPokerType selectedItem = ListView_PokerTypes.SelectedItem as ListViewItemPokerType;

            if (selectedItem != null)
            {
                App.PokerTypeManager.Remove(selectedItem.PokerType);
                WindowPokerTypeEdit dialog = new WindowPokerTypeEdit(App.WindowMain, selectedItem.PokerType);
                dialog.ShowDialog();
                App.PokerTypeManager.Add(dialog.PokerType);
                UpdateListView(dialog.PokerType);
            }
        }
        private void Button_Delete_Click(object sender, RoutedEventArgs e)
        {
            ListViewItemPokerType selectedItem = ListView_PokerTypes.SelectedItem as ListViewItemPokerType;

            if (selectedItem != null)
            {
                WindowMessageResult windowMessageResult = WindowMessage.ShowDialog(string.Format("Do you want to delete '{0}'?", selectedItem.PokerType.Name), "Delete", WindowMessageButtons.YesNoCancel, WindowMessageImage.Question, App.WindowMain);
                if (windowMessageResult == WindowMessageResult.Yes)
                {
                    App.PokerTypeManager.Remove(selectedItem.PokerType);
                    UpdateListView();
                }
            }
        }