Beispiel #1
0
        void UpdateFormCustomizer()
        {
            formCustomizer.setTitleBar(panelControlBox);
            formCustomizer.setTitleLabel(labelWindowTitle);
            formCustomizer.setMenuStrip(menuStrip1);
            formCustomizer.setIcon(pbWindowicon);
            formCustomizer.setCloseButton(buttonClose);
            formCustomizer.setMaxiButton(buttonMax);
            formCustomizer.setMiniButton(buttonMin);

            panelContent.BackColor = formCustomizer.BackColor;
            lblStatus.ForeColor    = formCustomizer.TitleBarColor;

            fastObjectListView1.BackColor             = formCustomizer.BackColor;
            fastObjectListView1.ForeColor             = formCustomizer.TextColor;
            fastObjectListView1.AlternateRowBackColor = formCustomizer.ShadowColor;

            fastObjectListView1.SelectedBackColor = formCustomizer.TitleBarColor;
            fastObjectListView1.SelectedForeColor = formCustomizer.TitleTextColor;
        }
Beispiel #2
0
        void UpdateFormCustomizer()
        {
            formCustomizer.setTitleBar(panelControlBox);
            formCustomizer.setTitleLabel(labelWindowTitle);
            formCustomizer.setIcon(pictureBoxWindowicon);
            formCustomizer.setCloseButton(buttonClose);
            formCustomizer.setMaxiButton(buttonMax);
            formCustomizer.setMiniButton(buttonMin);


            splitContainer1.BackColor        = formCustomizer.BorderColor;
            splitContainer1.Panel1.BackColor = formCustomizer.BackColor;
            splitContainer1.Panel2.BackColor = formCustomizer.BackColor;
            splitContainer1.SplitterWidth    = 2;

            splitContainer2.BackColor        = formCustomizer.BorderColor;
            splitContainer2.Panel1.BackColor = formCustomizer.BackColor;
            splitContainer2.Panel2.BackColor = formCustomizer.BackColor;
            splitContainer2.SplitterWidth    = 2;

            panelContent.BackColor                  = formCustomizer.BackColor;
            fOlvSubscriptions.BackColor             = formCustomizer.BackColor;
            fOlvSubscriptions.ForeColor             = Color.WhiteSmoke;
            fOlvSubscriptions.AlternateRowBackColor = formCustomizer.ShadowColor;

            fOlvSubscriptions.SelectedBackColor = formCustomizer.BorderColor;
            fOlvSubscriptions.SelectedForeColor = Color.Black;

            fOlvSpecialOrders.BackColor             = formCustomizer.BackColor;
            fOlvSpecialOrders.ForeColor             = Color.WhiteSmoke;
            fOlvSpecialOrders.AlternateRowBackColor = formCustomizer.ShadowColor;

            fOlvSpecialOrders.SelectedBackColor = formCustomizer.BorderColor;
            fOlvSpecialOrders.SelectedForeColor = Color.Black;


            fOlvSubPosting.BackColor             = formCustomizer.BackColor;
            fOlvSubPosting.ForeColor             = Color.WhiteSmoke;
            fOlvSubPosting.AlternateRowBackColor = formCustomizer.ShadowColor;

            fOlvSubPosting.SelectedBackColor = formCustomizer.BorderColor;
            fOlvSubPosting.SelectedForeColor = Color.Black;

            foreach (OLVColumn item in fOlvSubscriptions.Columns)
            {
                var headerstyle = new HeaderFormatStyle();
                headerstyle.SetBackColor(formCustomizer.BackColor);
                headerstyle.SetForeColor(Color.WhiteSmoke);
                item.HeaderFormatStyle = headerstyle;
            }
            foreach (OLVColumn item in fOlvSpecialOrders.Columns)
            {
                var headerstyle = new HeaderFormatStyle();
                headerstyle.SetBackColor(formCustomizer.BackColor);
                headerstyle.SetForeColor(Color.WhiteSmoke);
                item.HeaderFormatStyle = headerstyle;
            }

            foreach (OLVColumn item in fOlvSubPosting.Columns)
            {
                var headerstyle = new HeaderFormatStyle();
                headerstyle.SetBackColor(formCustomizer.BackColor);
                headerstyle.SetForeColor(Color.WhiteSmoke);
                item.HeaderFormatStyle = headerstyle;
            }
        }
Beispiel #3
0
 void UpdateFormCustomizer()
 {
     formCustomizer.setTitleBar(panelControlBox);
     formCustomizer.setTitleLabel(labelWindowTitle);
     formCustomizer.setCloseButton(buttonClose);
 }