public PopupItem(string text, Color color, ajkControls.IconImage icon, ajkControls.IconImage.ColorStyle iconColorStyle) { this.text = text; this.color = color; this.icon = icon; this.iconColorStyle = iconColorStyle; }
public AutocompleteItem(string text, byte colorIndex, Color color, ajkControls.IconImage icon, ajkControls.IconImage.ColorStyle iconColorStyle) { this.text = text; this.colorIndex = colorIndex; this.Color = color; this.icon = icon; this.iconColorStyle = iconColorStyle; }
private void changeIcon(ajkControls.IconImage iconImage, ajkControls.IconImage.ColorStyle color) { Invoke(new Action( () => { IconImage = iconImage; IconColor = color; Invalidate(); } )); }
public EditorPage() { Controls.Add(this.codeEditor); Location = new System.Drawing.Point(4, 29); Name = "editorPage"; Padding = new System.Windows.Forms.Padding(3); Size = new System.Drawing.Size(620, 439); TabIndex = 0; Text = "code"; UseVisualStyleBackColor = true; IconImage = new ajkControls.IconImage(Properties.Resources.text); // // codeEditor // codeEditor.BackColor = System.Drawing.Color.White; codeEditor.Dock = System.Windows.Forms.DockStyle.Fill; codeEditor.Font = new System.Drawing.Font("MS UI Gothic", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); codeEditor.Location = new System.Drawing.Point(3, 3); codeEditor.Name = "codeEditor"; codeEditor.Size = new System.Drawing.Size(614, 433); codeEditor.TabIndex = 0; }