Ejemplo n.º 1
0
 private void OnImageChanged()
 {
     if (RibbonControl != null)
     {
         RibbonControl.Invalidate();
     }
 }
Ejemplo n.º 2
0
 private void OnRibbonChanged(RibbonControl prevValue, RibbonControl ribbonControl)
 {
     if (prevValue != null)
     {
         prevValue.Paint -= ribbonControl_Paint;
     }
     if (ribbonControl != null)
     {
         ribbonControl.Paint += ribbonControl_Paint;
         ribbonControl.Invalidate();
     }
 }
Ejemplo n.º 3
0
 private void OnRibbonChanged(RibbonControl prevValue, RibbonControl ribbonControl)
 {
     if (prevValue != null)
         prevValue.Paint -= ribbonControl_Paint;
     if (ribbonControl != null)
     {
         ribbonControl.Paint += ribbonControl_Paint;
         ribbonControl.Invalidate();
     }
 }