private void    InitializeDeckEditor()
        {
            ParserJSON    parser = new ParserJSON();
            RequestServer newreq = new RequestServer();

            String rsp = newreq.DeckAll(s.tokenConnection.Profiles[0].ToString(), s.tokenConnection.Tok);

            decksList = parser.DeckAll(rsp);
            if (decksList.data.Count > 0)
            {
                currentDeck = decksList.data[0];
            }
            else
            {
                currentDeck = newDeck;
            }
            UpdateDeckInfos();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            ParserJSON    parser = new ParserJSON();
            RequestServer newreq = new RequestServer();

            decksList     = parser.DeckAll(newreq.DeckAll(s.tokenConnection.Profiles[0].ToString(), s.tokenConnection.Tok));
            currentDeckIt = 0;
            InitializeNewDeck();
            if (decksList.data.Count() > 0)
            {
                currentDeck = decksList.data[currentDeckIt];
            }
            else
            {
                currentDeck = newDeck;
            }
            UpdateDeckInfos();
        }
        private void InitializeDeckEditor()
        {
            ParserJSON parser = new ParserJSON();
            RequestServer newreq = new RequestServer();

            String rsp = newreq.DeckAll(s.tokenConnection.Profiles[0].ToString(), s.tokenConnection.Tok);
            decksList = parser.DeckAll(rsp);
            if (decksList.data.Count > 0)
                currentDeck = decksList.data[0];
            else
                currentDeck = newDeck;
            UpdateDeckInfos();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            ParserJSON parser = new ParserJSON();
            RequestServer newreq = new RequestServer();

            decksList = parser.DeckAll(newreq.DeckAll(s.tokenConnection.Profiles[0].ToString(), s.tokenConnection.Tok));
            currentDeckIt = 0;
            InitializeNewDeck();
            if (decksList.data.Count() > 0)
                currentDeck = decksList.data[currentDeckIt];
            else
                currentDeck = newDeck;
            UpdateDeckInfos();
        }