Exemplo n.º 1
0
 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)));
 }
Exemplo n.º 2
0
 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;
 }