コード例 #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());
     }
 }