Esempio n. 1
0
 private void Initialize()
 {
     FAviDetails          = new FormAviDetails();
     FAviDetails.TopLevel = false;
     FAviDetails.Dock     = DockStyle.Fill;
     panel_fileDetails.Controls.Add(FAviDetails);
     FAviDetails.Dock = DockStyle.Fill;
     FAviDetails.ApplySkin();
 }
Esempio n. 2
0
        public void ApplySkin()
        {
            BackColor = eLePhantForm.Skin.GetColor("defaultBackColor");

            panel1.BackColor    = eLePhantForm.Skin.GetColor("defaultBackColor");
            panel2.BackColor    = eLePhantForm.Skin.GetColor("defaultBackColor");
            panelLeft.BackColor = eLePhantForm.Skin.GetColor("defaultBackColor");
            panel3.BackColor    = eLePhantForm.Skin.GetColor("defaultBackColor");

            panelLeftDetails.BackColor = eLePhantForm.Skin.GetColor("panelsBackColor");
            panel4.BackColor           = eLePhantForm.Skin.GetColor("panelsBackColor");
            panelUpDetails.BackColor   = eLePhantForm.Skin.GetColor("panelsBackColor");

            panel_fileDetails.BackColor = eLePhantForm.Skin.GetColor("panelsBackColor");

            splitter1.BackColor = eLePhantForm.Skin.GetColor("SplittersBackColor");

            buttonReload.BackColor = eLePhantForm.Skin.GetColor("ButtonBackColor");
            buttonReload.ForeColor = eLePhantForm.Skin.GetColor("ButtonForeColor");

            buttonSetCommet.BackColor = eLePhantForm.Skin.GetColor("ButtonBackColor");
            buttonSetCommet.ForeColor = eLePhantForm.Skin.GetColor("ButtonForeColor");

            buttonRename.BackColor = eLePhantForm.Skin.GetColor("ButtonBackColor");
            buttonRename.ForeColor = eLePhantForm.Skin.GetColor("ButtonForeColor");

            labelSharedFiles.ForeColor = eLePhantForm.Skin.GetColor("labelsForeColor");
            labelSharedFiles.BackColor = eLePhantForm.Skin.GetColor("labelsBackColor");

            sharedListView.ForeColor        = eLePhantForm.Skin.GetColor("listsForeColor");
            sharedListView.BackColor        = eLePhantForm.Skin.GetColor("listsBackColor");
            sharedListView.headerBackColor  = eLePhantForm.Skin.GetColor("listsHeaderBackColor");
            sharedListView.ScrollBarBKColor = eLePhantForm.Skin.GetColor("listsScrollBarBackColor").ToArgb();
            sharedListView.headerForeColor  = eLePhantForm.Skin.GetColor("listsHeaderForeColor");

            uploadsList.ForeColor        = eLePhantForm.Skin.GetColor("listsForeColor");
            uploadsList.BackColor        = eLePhantForm.Skin.GetColor("listsBackColor");
            uploadsList.headerBackColor  = eLePhantForm.Skin.GetColor("listsHeaderBackColor");
            uploadsList.ScrollBarBKColor = eLePhantForm.Skin.GetColor("listsScrollBarBackColor").ToArgb();
            uploadsList.headerForeColor  = eLePhantForm.Skin.GetColor("listsHeaderForeColor");

            tabControlDetails.BackColor         = eLePhantForm.Skin.GetColor("panelsBackColor");
            tabControlDetails.ForeColor         = eLePhantForm.Skin.GetColor("labelsForeColor");
            tabControlDetails.TextInactiveColor = eLePhantForm.Skin.GetColor("tabsInactiveForeColor");

            label5.ForeColor = eLePhantForm.Skin.GetColor("SquaredLabelsForeColor");
            label5.BackColor = eLePhantForm.Skin.GetColor("SquaredLabelsBackColor");

            label6.ForeColor = eLePhantForm.Skin.GetColor("SquaredLabelsForeColor");
            label6.BackColor = eLePhantForm.Skin.GetColor("SquaredLabelsBackColor");

            tx_fileName.BackColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxBackColor");
            tx_fileName.ForeColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxForeColor");

            tx_completeName.BackColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxBackColor");
            tx_completeName.ForeColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxForeColor");

            textBoxComment.ForeColor = eLePhantForm.Skin.GetColor("TextBoxForeColor");
            textBoxComment.BackColor = eLePhantForm.Skin.GetColor("TextBoxBackColor");

            labelSessionRequests.ForeColor = eLePhantForm.Skin.GetColor("SquaredLabelsForeColor");
            labelSessionRequests.BackColor = eLePhantForm.Skin.GetColor("SquaredLabelsBackColor");

            labelSessionDownloaded.ForeColor = eLePhantForm.Skin.GetColor("SquaredLabelsForeColor");
            labelSessionDownloaded.BackColor = eLePhantForm.Skin.GetColor("SquaredLabelsBackColor");

            labelSessionUploaded.ForeColor = eLePhantForm.Skin.GetColor("SquaredLabelsForeColor");
            labelSessionUploaded.BackColor = eLePhantForm.Skin.GetColor("SquaredLabelsBackColor");

            labelComment.ForeColor = eLePhantForm.Skin.GetColor("SquaredLabelsForeColor");
            labelComment.BackColor = eLePhantForm.Skin.GetColor("SquaredLabelsBackColor");

            labelSessionRequestsRes.ForeColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxForeColor");
            labelSessionRequestsRes.BackColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxBackColor");

            labelSessionDownloadedRes.ForeColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxForeColor");
            labelSessionDownloadedRes.BackColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxBackColor");

            labelSessionUploadedRes.ForeColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxForeColor");
            labelSessionUploadedRes.BackColor = eLePhantForm.Skin.GetColor("readOnlyTextBoxBackColor");

            FAviDetails.ApplySkin();

            this.Refresh();
        }
Esempio n. 3
0
 private void Initialize()
 {
     FAviDetails=new FormAviDetails();
     FAviDetails.TopLevel=false;
     FAviDetails.Dock = DockStyle.Fill;
     panel_fileDetails.Controls.Add(FAviDetails);
     FAviDetails.Dock = DockStyle.Fill;
     FAviDetails.ApplySkin();
 }