Exemple #1
0
        private void GameTile_RightButtonDown(object sender, RoutedEventArgs e)
        {
            var item = sender as ListViewItem;

            if (item != null && item.IsSelected)
            {
                GameTileEntry entry = (GameTileEntry)item.Content;
                MainWindow.instance.ShowGameContextMenu(entry.Slug, sender as UIElement);
            }
        }
Exemple #2
0
        private void GameTile_LeftButtonDown(object sender, RoutedEventArgs e)
        {
            var item = sender as ListViewItem;

            if (item != null && item.IsSelected)
            {
                GameTileEntry entry = (GameTileEntry)item.Content;
                MainWindow.instance.ShowGameDetails(entry.Slug);
            }
        }