예제 #1
0
 private void ReadBrush(XmlNode node, StiComponent comp)
 {
     if (comp is IStiBrush)
     {
         IStiBrush brushComp = comp as IStiBrush;
         brushComp.Brush = GetBrush(node, comp, "Fill");
     }
 }
예제 #2
0
 private void ReadBrush(XRControl xtraControl, StiComponent comp)
 {
     if (comp is IStiBrush)
     {
         IStiBrush brushComp = comp as IStiBrush;
         brushComp.Brush = new StiSolidBrush(xtraControl.GetEffectiveBackColor());
     }
 }