Beispiel #1
0
 protected override void OnLoad(System.EventArgs e)
 {
     base.OnLoad(e);
     DocumentViewer.BackColor  = ColorHelper.GetControlColor(LookAndFeel);
     LookAndFeel.StyleChanged += LookAndFeel_StyleChanged;
 }
Beispiel #2
0
 void LookAndFeel_StyleChanged(object sender, EventArgs e)
 {
     backstageViewControl.Office2013StyleOptions.HeaderBackColor = ColorHelper.GetControlColor(LookAndFeel);
 }