Пример #1
0
 private void HideZeroCountCheckBox_CheckedChanged(object sender, EventArgs e)
 {
     if (PlayerActiveDeckWindow != null)
     {
         PlayerActiveDeckWindow.HideZeroCountCards = HideZeroCountCheckBox.Checked;
         PlayerActiveDeckWindow.UpdateDeck(null, null);
     }
 }
Пример #2
0
        private DeckWindow CreateDeckWindow(string title, DeckControl.DeckScale deckScale, double opacity,
                                            bool showWindow, int posX, int posY)
        {
            DeckWindow deckWindow = new DeckWindow();

            deckWindow.CreateControl();
            deckWindow.Title               = title;
            deckWindow.CustomDeckScale     = deckScale;
            deckWindow.ShouldShowDeckStats = Properties.Settings.Default.ShowDeckStats;
            deckWindow.Show();
            deckWindow.IsNonEmptyDeckVisible = showWindow;
            deckWindow.SetBounds(posX, posY, 0, 0, BoundsSpecified.Location);
            deckWindow.Opacity = opacity;
            deckWindow.UpdateDeck(null, null);
            return(deckWindow);
        }
Пример #3
0
 private void opponentPlayedCardsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     OpponentGraveyardWindow.IsNonEmptyDeckVisible = !OpponentGraveyardWindow.IsNonEmptyDeckVisible;
     OpponentGraveyardWindow.Visible = OpponentGraveyardWindow.IsNonEmptyDeckVisible;
     OpponentGraveyardWindow.UpdateDeck(null, null);
 }
Пример #4
0
 private void playedCardsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PlayerGraveyardWindow.IsNonEmptyDeckVisible = !PlayerGraveyardWindow.IsNonEmptyDeckVisible;
     PlayerDrawnCardsWindow.Visible = PlayerGraveyardWindow.IsNonEmptyDeckVisible;
     PlayerGraveyardWindow.UpdateDeck(null, null);
 }
Пример #5
0
 private void myDeckToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PlayerActiveDeckWindow.IsNonEmptyDeckVisible = !PlayerActiveDeckWindow.IsNonEmptyDeckVisible;
     PlayerActiveDeckWindow.Visible = PlayerActiveDeckWindow.IsNonEmptyDeckVisible;
     PlayerActiveDeckWindow.UpdateDeck(null, null);
 }