protected void LoadPanels()
        {
            #region Load from xml

            string fileName = Ap.FileOnlineDocking;
            if (LoadFromFile(fileName))
            {
                return;
            }

            string defaultFileName = Ap.FileOnlineDockingDefault;
            LoadFromFile(defaultFileName);

            #endregion

            #region Load Manually

            infoUc.Show(dp, DockState.Document);
            playersUc.Show(infoUc.Pane, null);
            gamesUc.Show(infoUc.Pane, null);
            newsUc.Show(infoUc.Pane, null);

            ChatUc.Show(dp, DockState.DockRight);
            InboxUc.Show(ChatUc.Pane, null);
            SentUc.Show(ChatUc.Pane, null);

            RoomUc.Show(ChatUc.Pane, DockAlignment.Bottom, 0.45);

            challengesUc.Show(infoUc.Pane, DockAlignment.Bottom, 0.30);

            #endregion
        }
        private void InitControls()
        {
            //// InfoMainUc
            infoUc    = new InfoUc();
            playersUc = new PlayersUc();
            gamesUc   = new GamesUc();
            newsUc    = new NewsUc();

            //// ChatMainUc
            chatUc = new ChatUc(null);
            chatUc.Init();

            inboxUc = new InboxUc();
            sentUc  = new SentUc();

            //// ChallengesMainUc
            challengesUc = new ChallengesUc();
        }