Exemplo n.º 1
0
 public RecycleBin(int _idTheme, Color _colorButtons, Color _colorPanels, Color _colorBackground, string user)
 {
     InitializeComponent();
     idTheme         = _idTheme;
     colorButtons    = _colorButtons;
     colorPanels     = _colorPanels;
     colorBackground = _colorBackground;
     labelUser.Text  = user;
     deckSelected    = new SelectedDeck();
 }
Exemplo n.º 2
0
        public MyDecks(int _idTheme, Color _colorButtons, Color _colorPanels, Color _colorBackground, string user)
        {
            InitializeComponent();
            idTheme         = _idTheme;
            colorButtons    = _colorButtons;
            colorPanels     = _colorPanels;
            colorBackground = _colorBackground;
            labelUser.Text  = user;

            selectedDeck = new SelectedDeck(); //crearlo para ver el deck seleccionado.
        }
Exemplo n.º 3
0
 public OtherDecks(int _idTheme, Color _colorButtons, Color _colorPanels, Color _colorBackground, string user, string typeMenu)
 {
     InitializeComponent();
     idTheme              = _idTheme;
     colorButtons         = _colorButtons;
     colorPanels          = _colorPanels;
     colorBackground      = _colorBackground;
     labelUser.Text       = user;
     labelDecksTitle.Text = typeMenu;
     deckSelected         = new SelectedDeck(); //crearlo para ver el deck seleccionado.
 }
Exemplo n.º 4
0
        public DeckButton(int idTheme, ref SelectedDeck _selectedDeck)
        {
            InitializeComponent();
            selectedDeck   = _selectedDeck;
            this.BackColor = Color.Transparent;

            if (idTheme == 1)
            {
                ChangeButtonsForeColor();
            }
        }