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