public int AddLineStyle(string Name, Color ForeColor, Color BackColor, int ImageIndex, LineStyleOptions Options) { return(this.Add(new LineStyle(this.owner, Name, ForeColor, BackColor, ImageIndex, Options))); }
public LineStyle(SyntaxEdit Owner, string AName, Color AForeColor, Color ABackColor, int AImageIndex, LineStyleOptions AOptions) { this.foreColor = EditConsts.DefaultLineStyleForeColor; this.backColor = EditConsts.DefaultLineStyleBackColor; this.imageIndex = -1; this.options = EditConsts.DefaultLineStyleOptions; this.owner = Owner; this.name = AName; this.foreColor = AForeColor; this.backColor = ABackColor; this.imageIndex = AImageIndex; this.options = AOptions; }