Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
 private void changeIcon(ajkControls.IconImage iconImage, ajkControls.IconImage.ColorStyle color)
 {
     Invoke(new Action(
                () => {
         IconImage = iconImage;
         IconColor = color;
         Invalidate();
     }
                ));
 }
Example #4
0
        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;
        }