protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
        {
            TrackerService.WorkItem workItem = (TrackerService.WorkItem)objectProvider.GetObject();
            _behavior = new ObjectDumperBehavior(workItem);

            StringBuilder builder = new StringBuilder();

            Form form = new Form();

            form.FormBorderStyle = FormBorderStyle.SizableToolWindow;

            SplitContainer splitContainer = new SplitContainer();

            FastColoredTextBox textBox = new FastColoredTextBox();

            textBox.ReadOnly = true;
            textBox.Text     = _behavior.Text;
            textBox.Dock     = DockStyle.Fill;

            splitContainer.Panel1.Controls.Add(textBox);

            PropertyGrid propertyGrid = new PropertyGrid();

            propertyGrid.SelectedObject = workItem;
            propertyGrid.Dock           = DockStyle.Fill;

            splitContainer.Panel2.Controls.Add(propertyGrid);
            splitContainer.Dock = DockStyle.Fill;

            splitContainer.Parent = form;

            windowService.ShowDialog(form);
        }
Beispiel #2
0
        public void ApplyTheme(FastColoredTextBoxNS.FastColoredTextBox textBox)
        {
            textBox.ForeColor = this.SyntaxColours.TextStyle.TrueTextColour;
            textBox.BackColor = this.SyntaxColours.TextStyle.TrueBackgroundColour;
            switch (this.Theme)
            {
            case Theme.Default:
                textBox.CaretColor            = Color.Black;
                textBox.FoldingIndicatorColor = Color.Green;
                textBox.IndentBackColor       = Color.WhiteSmoke;
                textBox.LineNumberColor       = Color.Teal;
                textBox.PaddingBackColor      = Color.Transparent;
                textBox.SelectionColor        = Color.FromArgb(60, 0, 0);
                textBox.ServiceLinesColor     = Color.Silver;
                break;

            case Theme.Dark:
                textBox.CaretColor            = Color.White;
                textBox.FoldingIndicatorColor = Color.Gold;
                textBox.IndentBackColor       = Color.FromArgb(32, 32, 32);
                textBox.LineNumberColor       = Color.Teal;
                textBox.PaddingBackColor      = Color.FromArgb(32, 32, 32);
                textBox.SelectionColor        = Color.FromArgb(150, Color.White);
                textBox.ServiceLinesColor     = Color.DimGray;
                break;
            }
        }
Beispiel #3
0
 public FastColoredTextBoxNS.FastColoredTextBox FCTB(UI.SilverForm form)
 {
     FastColoredTextBoxNS.FastColoredTextBox control = new FastColoredTextBoxNS.FastColoredTextBox();
     control.Language = FastColoredTextBoxNS.Language.Lua;
     form.Controls.Add(control);
     return(control);
 }
 public CodeEditorBookmark(FastColoredTextBox textBox, LDBookmark bookmark, TextStyle textStyle)
     : base(textBox, string.Empty, bookmark.Location.Line - 1)
 {
     InnerBookmark = bookmark;
     Style = textStyle;
     InnerBookmark.LocationChanged += InnerBookmark_LocationChanged;
 }
Beispiel #5
0
 public CodeEditorBookmark(FastColoredTextBox textBox, LDBookmark bookmark, TextStyle textStyle)
     : base(textBox, string.Empty, bookmark.Location.Line - 1)
 {
     InnerBookmark = bookmark;
     Style         = textStyle;
     InnerBookmark.LocationChanged += InnerBookmark_LocationChanged;
 }
Beispiel #6
0
 private void ResetTextbox(string text)
 {
     SuspendLayout();
     pnlMain.Controls.Clear();
     if (!PlatformFunction.IsMono)
     {
         ComponentResourceManager resources = new ComponentResourceManager(typeof(FormDebug));
         tbCode = new FastColoredTextBoxNS.FastColoredTextBox();
         ((ISupportInitialize)(tbCode)).BeginInit();
         tbCode.AutoScrollMinSize = new Size(27, 14);
         tbCode.BackBrush         = null;
         tbCode.CharHeight        = 14;
         tbCode.CharWidth         = 8;
         tbCode.Cursor            = Cursors.IBeam;
         tbCode.DisabledColor     = Color.FromArgb(100, 180, 180, 180);
         tbCode.Font              = new Font("Courier New", 9.75F);
         tbCode.IsReplaceMode     = false;
         tbCode.Name              = "tbCode";
         tbCode.ReadOnly          = true;
         tbCode.TabLength         = 2;
         tbCode.SelectionColor    = Color.FromArgb(60, 0, 0, 255);
         tbCode.ServiceColors     = new FastColoredTextBoxNS.ServiceColors();
         tbCode.Dock              = DockStyle.Fill;
         tbCode.TabIndex          = 2;
         tbCode.Zoom              = 100;
         tbCode.Language          = FastColoredTextBoxNS.Language.CSharp;
         tbCode.Text              = text;
         tbCode.SelectionChanged += (object sender, EventArgs e) => {
             var selection = tbCode.Selection.Start;
             if (selection == null)
             {
                 selection = new FastColoredTextBoxNS.Place(0, 0);
             }
             lblCursorPos.Text = string.Format("Row: {0}; Col: {1}",
                                               selection.iLine + 1, selection.iChar + 1);
         };
         lblCursorPos.Text = "Row: 0; Col: 0";
         pnlMain.Controls.Add(tbCode);
         ((ISupportInitialize)(tbCode)).EndInit();
     }
     else
     {
         fallbackTbCode            = new TextBox();
         fallbackTbCode.Cursor     = Cursors.IBeam;
         fallbackTbCode.Font       = new Font("Courier New", 9.75F);
         fallbackTbCode.Location   = new Point(13, 50);
         fallbackTbCode.Name       = "fallbackTbCode";
         fallbackTbCode.ReadOnly   = true;
         fallbackTbCode.Multiline  = true;
         fallbackTbCode.WordWrap   = false;
         fallbackTbCode.ScrollBars = ScrollBars.Both;
         fallbackTbCode.Dock       = DockStyle.Fill;
         fallbackTbCode.TabIndex   = 2;
         fallbackTbCode.Text       = text;
         lblCursorPos.Text         = "";
         pnlMain.Controls.Add(fallbackTbCode);
     }
     ResumeLayout(false);
     PerformLayout();
 }
Beispiel #7
0
 public static void StyleFastColoredTextBox(FastColoredTextBoxNS.FastColoredTextBox box, Data.Style style)
 {
     box.BackColor         = style.ControlBackColor;
     box.ForeColor         = style.ForeColor;
     box.CaretColor        = style.ForeColor;
     box.IndentBackColor   = style.ControlBackColor;
     box.ServiceLinesColor = style.WindowBackColor;
 }
Beispiel #8
0
        public static void CompareText(
            FastColoredTextBoxNS.FastColoredTextBox textBox1,
            FastColoredTextBoxNS.FastColoredTextBox textBox2,
            string text1,
            string text2)
        {
            var differ  = new DiffPlex.Differ();
            var builder = new DiffPlex.DiffBuilder.SideBySideDiffBuilder(differ);
            var result  = builder.BuildDiffModel(text1, text2);

            var brushInserted = new SolidBrush(ColorInserted);
            var brushDeleted  = new SolidBrush(ColorDeleted);
            var brushEmpty    = new SolidBrush(ColorImaginary);
            var brushModified = new SolidBrush(ColorModified);

            textBox1.Text = string.Join("\n", result.OldText.Lines.Select(x => x.Text));
            textBox2.Text = string.Join("\n", result.NewText.Lines.Select(x => x.Text));

            for (var index = 0; index < result.OldText.Lines.Count; index++)
            {
                var oldLine = result.OldText.Lines[index];
                var newLine = result.NewText.Lines[index];

                if (oldLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Inserted)
                {
                    textBox1.TextSource[index].BackgroundBrush = brushInserted;
                }
                else if (oldLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Deleted)
                {
                    textBox1.TextSource[index].BackgroundBrush = brushDeleted;
                }
                else if (oldLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Imaginary)
                {
                    textBox1.TextSource[index].BackgroundBrush = brushEmpty;
                }
                else if (oldLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Modified)
                {
                    textBox1.TextSource[index].BackgroundBrush = brushModified;
                }

                if (newLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Inserted)
                {
                    textBox2.TextSource[index].BackgroundBrush = brushInserted;
                }
                else if (newLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Deleted)
                {
                    textBox2.TextSource[index].BackgroundBrush = brushDeleted;
                }
                else if (newLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Imaginary)
                {
                    textBox2.TextSource[index].BackgroundBrush = brushEmpty;
                }
                else if (newLine.Type == DiffPlex.DiffBuilder.Model.ChangeType.Modified)
                {
                    textBox2.TextSource[index].BackgroundBrush = brushModified;
                }
            }
        }
Beispiel #9
0
 private void richTextBox1_TextChanged(object sender, EventArgs e)
 {
     try
     {
         FastColoredTextBoxNS.FastColoredTextBox rtb = frm.tabControl1.SelectedTab.Controls.Find("rtb", true)[0] as FastColoredTextBoxNS.FastColoredTextBox;
         rtb.Text = richTextBox1.Text;
     }
     catch { }
 }
Beispiel #10
0
 public PyTabPage(string name, PyPath pyPath) : base(name)
 {
     PyPath                             = pyPath;
     FastColoredTextBox                 = new FastColoredTextBoxNS.FastColoredTextBox();
     FastColoredTextBox.Dock            = DockStyle.Fill;
     FastColoredTextBox.AutoIndent      = true;
     FastColoredTextBox.AutoIndentChars = false;
     this.Controls.Add(FastColoredTextBox);
 }
        private FastColoredTextBoxNS.FastColoredTextBox GetTextBox()
        {
            FastColoredTextBoxNS.FastColoredTextBox fst = null;
            TabPage tp = tabControl1.SelectedTab;

            if (tp != null)
            {
                fst = tp.Controls[0] as FastColoredTextBoxNS.FastColoredTextBox;
            }
            return(fst);
        }
        private void MuitTabRichtextbox_Load(object sender, EventArgs e)
        {
            WebBrowser wb = new WebBrowser();

            FastColoredTextBoxNS.FastColoredTextBox wc = new FastColoredTextBoxNS.FastColoredTextBox(); // to lasy to change the name XD
            TabPage tp = new TabPage("Untitled");

            tp.Controls.Add(wc);
            wc.Language = FastColoredTextBoxNS.Language.Lua;
            wc.Dock     = DockStyle.Fill;
            tabControl1.TabPages.Add(tp);
            tabControl1.SelectedTab = tp;
        }
Beispiel #13
0
        /// <summary>
        /// Fügt das CodeControl hinzu.
        /// </summary>
        private void addCodeTabWindow()
        {
            CodeTab ct = new CodeTab();

            ct.TopLevel   = false;
            ct.AutoScroll = true;

            ct.Dock = DockStyle.Fill;
            ct.Show();

            fasColoredTextBox = ct.fastColoredTextBox1;

            Controls.Add(ct);
        }
        private void TabCreate()
        {
            if (createTab.Equals(true))
            {
                strArquivo = new StreamReader(filePath);
                newTab = new TabPage();
                coloredTextBox = new FastColoredTextBoxNS.FastColoredTextBox();
                coloredTextBox.Dock = DockStyle.Fill;
                coloredTextBox.AutoCompleteBrackets = true;
                coloredTextBox.AutoIndent = true;
                coloredTextBox.Text = strArquivo.ReadToEnd();
                newTab.Text = Path.GetFileName(filePath);
                newTab.ToolTipText = filePath;
                newTab.AllowDrop = true;
                newTab.Controls.Add(coloredTextBox);
                this.tabControlCodeEditor.Controls.Add(newTab);
            }

            createTab = false;
        }
        private void HandleTextChangedEvent(object sender, EventArgs e)
        {
            FastColoredTextBoxNS.FastColoredTextBox castAsTextBox = (FastColoredTextBoxNS.FastColoredTextBox)sender;
            EditorControl castAsParent = (EditorControl)castAsTextBox.Parent;

            if (castAsParent.HasChanges)
            {
                if (castAsParent.Parent.Text.Contains('*') != true)
                {
                    castAsParent.Parent.Text += "*";
                }
                else
                {
                }
            }
            else
            {
                castAsParent.Parent.Text = castAsParent.Parent.Text.Trim('*');
            }
        }
Beispiel #16
0
 public InsertLine(FastColoredTextBoxNS.FastColoredTextBox tb, InsertType t)
 {
     InitializeComponent();
     it = t;
     fctb = tb;
     if (t == InsertType.Line)
     {
         this.Text = "Insert Lines";
         label1.Text = "Number of Lines To Insert :";
         button1.Text = "Insert";
     }
     else if (t == InsertType.Column)
     {
         this.Text = "Insert Column";
         label1.Text = "No. of Columns to Insert :";
         button1.Text = "Insert";
     }
     else if (t == InsertType.Macro)
     {
         this.Text = "Run Macro Multiple Times";
         label1.Text = "No. of Times to Run :";
         button1.Text = "Run";
     }
 }
 public InsertLine(FastColoredTextBoxNS.FastColoredTextBox tb, InsertType t)
 {
     InitializeComponent();
     it   = t;
     fctb = tb;
     if (t == InsertType.Line)
     {
         this.Text    = "Insert Lines";
         label1.Text  = "Number of Lines To Insert :";
         button1.Text = "Insert";
     }
     else if (t == InsertType.Column)
     {
         this.Text    = "Insert Column";
         label1.Text  = "No. of Columns to Insert :";
         button1.Text = "Insert";
     }
     else if (t == InsertType.Macro)
     {
         this.Text    = "Run Macro Multiple Times";
         label1.Text  = "No. of Times to Run :";
         button1.Text = "Run";
     }
 }
Beispiel #18
0
 public ReadOnlyBypass(FastColoredTextBoxNS.FastColoredTextBox control)
 {
     this.control            = control;
     this.originalIsReadOnly = control.ReadOnly;
     control.ReadOnly        = false;
 }
Beispiel #19
0
 private void changeTbTextfromFile(FastColoredTextBoxNS.FastColoredTextBox Tb, String file)
 {
     Tb.Text = File.ReadAllText(file);
 }
Beispiel #20
0
 public TextboxWrapper(FastColoredTextBoxNS.FastColoredTextBox textBox)
 {
     fc   = textBox;
     isFc = true;
 }
Beispiel #21
0
 public CodeEditorBreakpoint(FastColoredTextBox textBox, BreakpointBookmark breakpoint, TextStyle style)
     : base(textBox, breakpoint, style)
 {
     ColorizeEntireLine = true;
 }
Beispiel #22
0
 public CodeEditorShadowInstructionPointer(FastColoredTextBox textBox, TextStyle style)
     : base(textBox, new LDBookmark(new SourceLocation(new FilePath(""), 0, 0)) { Image = Properties.Resources.arrow_blue }, style)
 {
 }
        public CodeEditorShadowInstructionPointer(FastColoredTextBox textBox, TextStyle style)
            : base(textBox, new LDBookmark(new SourceLocation(new FilePath(""), 0, 0)) { Image = Properties.Resources.arrow_blue }, style)
        {

        }
 public CodeEditorBreakpoint(FastColoredTextBox textBox, BreakpointBookmark breakpoint, TextStyle style)
     : base(textBox, breakpoint, style)
 {
     ColorizeEntireLine = true;
 }
 public CodeEditorBookmark(FastColoredTextBox textBox, LDBookmark bookmark, TextStyle textStyle)
     : base(textBox, string.Empty, bookmark.Line)
 {
     InnerBookmark = bookmark;
     Style = textStyle;
 }
Beispiel #26
0
 private void InitializeComponent()
 {
     this.components          = new System.ComponentModel.Container();
     this.panel1              = new System.Windows.Forms.Panel();
     this.btnCancel           = new System.Windows.Forms.Button();
     this.btnOk               = new System.Windows.Forms.Button();
     this.cbMask              = new FBA.ComboBoxFBA();
     this.label4              = new FBA.LabelFBA();
     this.udWidth             = new System.Windows.Forms.NumericUpDown();
     this.label3              = new FBA.LabelFBA();
     this.label2              = new FBA.LabelFBA();
     this.tbName              = new System.Windows.Forms.TextBox();
     this.cbUniversalWordWrap = new System.Windows.Forms.CheckBox();
     this.label5              = new FBA.LabelFBA();
     this.tbBrief             = new FastColoredTextBoxNS.FastColoredTextBox();
     this.cbSort              = new FBA.ComboBoxFBA();
     this.labelFBA1           = new FBA.LabelFBA();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udWidth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbBrief)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.btnCancel);
     this.panel1.Controls.Add(this.btnOk);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Font     = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.panel1.Location = new System.Drawing.Point(0, 317);
     this.panel1.Margin   = new System.Windows.Forms.Padding(4);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(485, 40);
     this.panel1.TabIndex = 5;
     //
     // btnCancel
     //
     this.btnCancel.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.Image      = global::FBA.Resource.Cancel_24;
     this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location   = new System.Drawing.Point(251, 4);
     this.btnCancel.Margin     = new System.Windows.Forms.Padding(4);
     this.btnCancel.Name       = "btnCancel";
     this.btnCancel.Size       = new System.Drawing.Size(112, 33);
     this.btnCancel.TabIndex   = 2;
     this.btnCancel.Text       = "   Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     // btnOk
     //
     this.btnOk.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOk.Image      = global::FBA.Resource.OK_24;
     this.btnOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnOk.Location   = new System.Drawing.Point(368, 4);
     this.btnOk.Margin     = new System.Windows.Forms.Padding(4);
     this.btnOk.Name       = "btnOk";
     this.btnOk.Size       = new System.Drawing.Size(112, 33);
     this.btnOk.TabIndex   = 0;
     this.btnOk.Text       = "  Ok";
     this.btnOk.UseVisualStyleBackColor = true;
     //
     // cbMask
     //
     this.cbMask.BackColor         = System.Drawing.SystemColors.Info;
     this.cbMask.FormattingEnabled = true;
     this.cbMask.Items.AddRange(new object[] {
         "Default",
         "Date",
         "Money",
         "String"
     });
     this.cbMask.Location = new System.Drawing.Point(76, 39);
     this.cbMask.Margin   = new System.Windows.Forms.Padding(4);
     this.cbMask.Name     = "cbMask";
     this.cbMask.Size     = new System.Drawing.Size(160, 25);
     this.cbMask.TabIndex = 8;
     this.cbMask.Text     = "Default";
     //
     // label4
     //
     this.label4.Font        = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label4.Location    = new System.Drawing.Point(6, 42);
     this.label4.Margin      = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name        = "label4";
     this.label4.Size        = new System.Drawing.Size(56, 22);
     this.label4.StarColor   = System.Drawing.Color.Crimson;
     this.label4.StarFont    = new System.Drawing.Font("Arial", 20F);
     this.label4.StarOffsetX = 2;
     this.label4.StarOffsetY = 0;
     this.label4.StarShow    = true;
     this.label4.StarText    = "*";
     this.label4.TabIndex    = 7;
     this.label4.Text        = "Mask:";
     //
     // udWidth
     //
     this.udWidth.BackColor   = System.Drawing.SystemColors.Info;
     this.udWidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.udWidth.Font        = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.udWidth.ForeColor   = System.Drawing.SystemColors.WindowText;
     this.udWidth.Location    = new System.Drawing.Point(75, 105);
     this.udWidth.Margin      = new System.Windows.Forms.Padding(4);
     this.udWidth.Maximum     = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.udWidth.Name     = "udWidth";
     this.udWidth.Size     = new System.Drawing.Size(89, 25);
     this.udWidth.TabIndex = 6;
     this.udWidth.Value    = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     //
     // label3
     //
     this.label3.Font        = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label3.Location    = new System.Drawing.Point(6, 107);
     this.label3.Margin      = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name        = "label3";
     this.label3.Size        = new System.Drawing.Size(61, 23);
     this.label3.StarColor   = System.Drawing.Color.Crimson;
     this.label3.StarFont    = new System.Drawing.Font("Arial", 20F);
     this.label3.StarOffsetX = 2;
     this.label3.StarOffsetY = 0;
     this.label3.StarShow    = true;
     this.label3.StarText    = "*";
     this.label3.TabIndex    = 4;
     this.label3.Text        = "Width:";
     //
     // label2
     //
     this.label2.Font        = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label2.Location    = new System.Drawing.Point(6, 138);
     this.label2.Margin      = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name        = "label2";
     this.label2.Size        = new System.Drawing.Size(48, 23);
     this.label2.StarColor   = System.Drawing.Color.Crimson;
     this.label2.StarFont    = new System.Drawing.Font("Arial", 20F);
     this.label2.StarOffsetX = 2;
     this.label2.StarOffsetY = 0;
     this.label2.StarShow    = true;
     this.label2.StarText    = "*";
     this.label2.TabIndex    = 2;
     this.label2.Text        = "Attr:";
     //
     // tbName
     //
     this.tbName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.tbName.BackColor = System.Drawing.SystemColors.Info;
     this.tbName.Font      = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.tbName.Location  = new System.Drawing.Point(76, 9);
     this.tbName.Margin    = new System.Windows.Forms.Padding(4);
     this.tbName.Name      = "tbName";
     this.tbName.Size      = new System.Drawing.Size(399, 25);
     this.tbName.TabIndex  = 1;
     //
     // cbUniversalWordWrap
     //
     this.cbUniversalWordWrap.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cbUniversalWordWrap.Location = new System.Drawing.Point(380, 294);
     this.cbUniversalWordWrap.Margin   = new System.Windows.Forms.Padding(4);
     this.cbUniversalWordWrap.Name     = "cbUniversalWordWrap";
     this.cbUniversalWordWrap.Size     = new System.Drawing.Size(100, 21);
     this.cbUniversalWordWrap.TabIndex = 11;
     this.cbUniversalWordWrap.Tag      = "SAVE";
     this.cbUniversalWordWrap.Text     = "WordWrap";
     this.cbUniversalWordWrap.UseVisualStyleBackColor = true;
     this.cbUniversalWordWrap.CheckedChanged         += new System.EventHandler(this.cbUniversalWordWrap_CheckedChanged);
     //
     // label5
     //
     this.label5.Font        = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label5.Location    = new System.Drawing.Point(6, 12);
     this.label5.Margin      = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name        = "label5";
     this.label5.Size        = new System.Drawing.Size(68, 24);
     this.label5.StarColor   = System.Drawing.Color.Crimson;
     this.label5.StarFont    = new System.Drawing.Font("Arial", 20F);
     this.label5.StarOffsetX = 2;
     this.label5.StarOffsetY = 0;
     this.label5.StarShow    = true;
     this.label5.StarText    = "*";
     this.label5.TabIndex    = 0;
     this.label5.Text        = "Name:";
     //
     // tbBrief
     //
     this.tbBrief.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.tbBrief.AutoCompleteBracketsList = new char[] {
         '(',
         ')',
         '{',
         '}',
         '[',
         ']',
         '\"',
         '\"',
         '\'',
         '\''
     };
     this.tbBrief.AutoIndentCharsPatterns = "";
     this.tbBrief.AutoScrollMinSize       = new System.Drawing.Size(2, 21);
     this.tbBrief.BackBrush                 = null;
     this.tbBrief.BackColor                 = System.Drawing.SystemColors.Info;
     this.tbBrief.BookmarkColor             = System.Drawing.Color.Red;
     this.tbBrief.BorderStyle               = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tbBrief.BracketsHighlightStrategy = FastColoredTextBoxNS.BracketsHighlightStrategy.Strategy2;
     this.tbBrief.CharHeight                = 21;
     this.tbBrief.CharWidth                 = 11;
     this.tbBrief.CommentPrefix             = "--";
     this.tbBrief.CurrentLineColor          = System.Drawing.Color.DarkGray;
     this.tbBrief.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.tbBrief.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     this.tbBrief.FindEndOfFoldingBlockStrategy = FastColoredTextBoxNS.FindEndOfFoldingBlockStrategy.Strategy2;
     this.tbBrief.Font            = new System.Drawing.Font("Courier New", 14.25F);
     this.tbBrief.IsReplaceMode   = false;
     this.tbBrief.Language        = FastColoredTextBoxNS.Language.SQL;
     this.tbBrief.LeftBracket     = '(';
     this.tbBrief.Location        = new System.Drawing.Point(76, 138);
     this.tbBrief.Margin          = new System.Windows.Forms.Padding(4);
     this.tbBrief.Name            = "tbBrief";
     this.tbBrief.Paddings        = new System.Windows.Forms.Padding(0);
     this.tbBrief.RightBracket    = ')';
     this.tbBrief.SelectionColor  = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     this.tbBrief.ShowLineNumbers = false;
     this.tbBrief.Size            = new System.Drawing.Size(397, 153);
     this.tbBrief.TabIndex        = 20;
     this.tbBrief.Tag             = "";
     this.tbBrief.VirtualSpace    = true;
     this.tbBrief.Zoom            = 100;
     //
     // cbSort
     //
     this.cbSort.AttrBrief          = null;
     this.cbSort.AttrBriefLookup    = null;
     this.cbSort.BackColor          = System.Drawing.SystemColors.Info;
     this.cbSort.ContextMenuEnabled = true;
     this.cbSort.ErrorIfNull        = null;
     this.cbSort.FormattingEnabled  = true;
     this.cbSort.GroupEnabled       = null;
     this.cbSort.Items.AddRange(new object[] {
         "No",
         "Up",
         "Down"
     });
     this.cbSort.Location            = new System.Drawing.Point(76, 72);
     this.cbSort.Margin              = new System.Windows.Forms.Padding(4);
     this.cbSort.Name                = "cbSort";
     this.cbSort.ObjectRef           = null;
     this.cbSort.ReadOnly            = true;
     this.cbSort.SaveParam           = false;
     this.cbSort.SaveValueHistory    = false;
     this.cbSort.Size                = new System.Drawing.Size(160, 25);
     this.cbSort.TabIndex            = 22;
     this.cbSort.Text                = "No";
     this.cbSort.Text2               = null;
     this.cbSort.ValueHistoryInItems = false;
     //
     // labelFBA1
     //
     this.labelFBA1.Font        = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.labelFBA1.Location    = new System.Drawing.Point(6, 75);
     this.labelFBA1.Margin      = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.labelFBA1.Name        = "labelFBA1";
     this.labelFBA1.Size        = new System.Drawing.Size(56, 22);
     this.labelFBA1.StarColor   = System.Drawing.Color.Crimson;
     this.labelFBA1.StarFont    = new System.Drawing.Font("Arial", 20F);
     this.labelFBA1.StarOffsetX = 2;
     this.labelFBA1.StarOffsetY = 0;
     this.labelFBA1.StarShow    = true;
     this.labelFBA1.StarText    = "*";
     this.labelFBA1.TabIndex    = 21;
     this.labelFBA1.Text        = "Sort:";
     //
     // FormFilterAttr
     //
     //this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F);
     //this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(485, 357);
     this.Controls.Add(this.cbSort);
     this.Controls.Add(this.labelFBA1);
     this.Controls.Add(this.tbBrief);
     this.Controls.Add(this.cbUniversalWordWrap);
     this.Controls.Add(this.udWidth);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.cbMask);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.tbName);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.Name            = "FormFilterAttr";
     this.Text            = "Attribute property";
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.udWidth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbBrief)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #27
0
 private void InitializeComponent()
 {
     this.components      = new System.ComponentModel.Container();
     this.lbCapText       = new FBA.LabelFBA();
     this.tbName          = new System.Windows.Forms.TextBox();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.dgvText         = new FBA.DataGridViewFBA();
     this.cmText          = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.cmText_N1       = new System.Windows.Forms.ToolStripMenuItem();
     this.cmText_N2       = new System.Windows.Forms.ToolStripMenuItem();
     this.cmText_N3       = new System.Windows.Forms.ToolStripMenuItem();
     this.cmText_N4       = new System.Windows.Forms.ToolStripMenuItem();
     this.tbText          = new FastColoredTextBoxNS.FastColoredTextBox();
     this.panel2          = new System.Windows.Forms.Panel();
     this.toolStrip1      = new System.Windows.Forms.ToolStrip();
     this.tbRefresh       = new System.Windows.Forms.ToolStripButton();
     this.tbSave          = new System.Windows.Forms.ToolStripButton();
     this.tbAdd           = new System.Windows.Forms.ToolStripButton();
     this.tbDelete        = new System.Windows.Forms.ToolStripButton();
     this.tbTransform     = new System.Windows.Forms.ToolStripButton();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvText)).BeginInit();
     this.cmText.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbText)).BeginInit();
     this.panel2.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // lbCapText
     //
     this.lbCapText.Font        = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.lbCapText.Location    = new System.Drawing.Point(3, 7);
     this.lbCapText.Name        = "lbCapText";
     this.lbCapText.Size        = new System.Drawing.Size(121, 23);
     this.lbCapText.StarColor   = System.Drawing.Color.Crimson;
     this.lbCapText.StarFont    = new System.Drawing.Font("Arial", 20F);
     this.lbCapText.StarOffsetX = 2;
     this.lbCapText.StarOffsetY = 0;
     this.lbCapText.StarShow    = false;
     this.lbCapText.StarText    = "*";
     this.lbCapText.TabIndex    = 0;
     this.lbCapText.Text        = "Name:";
     //
     // tbName
     //
     this.tbName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.tbName.BackColor = System.Drawing.SystemColors.Info;
     this.tbName.Font      = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.tbName.Location  = new System.Drawing.Point(139, 3);
     this.tbName.Margin    = new System.Windows.Forms.Padding(73, 5, 73, 5);
     this.tbName.Name      = "tbName";
     this.tbName.Size      = new System.Drawing.Size(298, 25);
     this.tbName.TabIndex  = 17;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 25);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.dgvText);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.tbText);
     this.splitContainer1.Panel2.Controls.Add(this.panel2);
     this.splitContainer1.Size             = new System.Drawing.Size(707, 365);
     this.splitContainer1.SplitterDistance = 238;
     this.splitContainer1.TabIndex         = 18;
     //
     // dgvText
     //
     this.dgvText.AllowUserToAddRows          = false;
     this.dgvText.AllowUserToDeleteRows       = false;
     this.dgvText.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvText.CommandAdd           = false;
     this.dgvText.CommandDel           = false;
     this.dgvText.CommandEdit          = false;
     this.dgvText.CommandExportToExcel = false;
     this.dgvText.CommandFilter        = false;
     this.dgvText.CommandRefresh       = false;
     this.dgvText.CommandSaveASCSV     = false;
     this.dgvText.ContextMenuStrip     = this.cmText;
     this.dgvText.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dgvText.EnableHeadersVisualStyles = false;
     this.dgvText.GroupEnabled  = null;
     this.dgvText.Location      = new System.Drawing.Point(0, 0);
     this.dgvText.Name          = "dgvText";
     this.dgvText.Obj           = null;
     this.dgvText.PassedSec     = null;
     this.dgvText.ReadOnly      = true;
     this.dgvText.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvText.Size          = new System.Drawing.Size(238, 365);
     this.dgvText.TabIndex      = 0;
     this.dgvText.DoubleClick  += new System.EventHandler(this.DgvTextDoubleClick);
     //
     // cmText
     //
     this.cmText.Font = new System.Drawing.Font("Arial", 11.25F);
     this.cmText.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.cmText_N1,
         this.cmText_N2,
         this.cmText_N3,
         this.cmText_N4
     });
     this.cmText.Name = "cmText";
     this.cmText.Size = new System.Drawing.Size(129, 92);
     //
     // cmText_N1
     //
     this.cmText_N1.Font   = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.cmText_N1.Image  = global::FBA.Resource.Add_16;
     this.cmText_N1.Name   = "cmText_N1";
     this.cmText_N1.Size   = new System.Drawing.Size(128, 22);
     this.cmText_N1.Text   = "Add";
     this.cmText_N1.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // cmText_N2
     //
     this.cmText_N2.Font   = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.cmText_N2.Image  = global::FBA.Resource.Del_16;
     this.cmText_N2.Name   = "cmText_N2";
     this.cmText_N2.Size   = new System.Drawing.Size(128, 22);
     this.cmText_N2.Text   = "Delete";
     this.cmText_N2.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // cmText_N3
     //
     this.cmText_N3.Font   = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.cmText_N3.Image  = global::FBA.Resource.Save_16;
     this.cmText_N3.Name   = "cmText_N3";
     this.cmText_N3.Size   = new System.Drawing.Size(128, 22);
     this.cmText_N3.Text   = "Save";
     this.cmText_N3.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // cmText_N4
     //
     this.cmText_N4.Font   = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.cmText_N4.Image  = global::FBA.Resource.Refresh_16;
     this.cmText_N4.Name   = "cmText_N4";
     this.cmText_N4.Size   = new System.Drawing.Size(128, 22);
     this.cmText_N4.Text   = "Refresh";
     this.cmText_N4.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // tbText
     //
     this.tbText.AutoCompleteBracketsList = new char[] {
         '(',
         ')',
         '{',
         '}',
         '[',
         ']',
         '\"',
         '\"',
         '\'',
         '\''
     };
     this.tbText.AutoIndentCharsPatterns = "";
     this.tbText.AutoScrollMinSize       = new System.Drawing.Size(33, 21);
     this.tbText.BackBrush                 = null;
     this.tbText.BookmarkColor             = System.Drawing.Color.Red;
     this.tbText.BorderStyle               = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tbText.BracketsHighlightStrategy = FastColoredTextBoxNS.BracketsHighlightStrategy.Strategy2;
     this.tbText.CharHeight                = 21;
     this.tbText.CharWidth                 = 11;
     this.tbText.CommentPrefix             = "--";
     this.tbText.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.tbText.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     this.tbText.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tbText.FindEndOfFoldingBlockStrategy = FastColoredTextBoxNS.FindEndOfFoldingBlockStrategy.Strategy2;
     this.tbText.Font           = new System.Drawing.Font("Courier New", 14.25F);
     this.tbText.IsReplaceMode  = false;
     this.tbText.Language       = FastColoredTextBoxNS.Language.SQL;
     this.tbText.LeftBracket    = '(';
     this.tbText.Location       = new System.Drawing.Point(0, 38);
     this.tbText.Name           = "tbText";
     this.tbText.Paddings       = new System.Windows.Forms.Padding(0);
     this.tbText.RightBracket   = ')';
     this.tbText.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     this.tbText.Size           = new System.Drawing.Size(465, 327);
     this.tbText.TabIndex       = 16;
     this.tbText.VirtualSpace   = true;
     this.tbText.Zoom           = 100;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.lbCapText);
     this.panel2.Controls.Add(this.tbName);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(465, 38);
     this.panel2.TabIndex = 5;
     //
     // toolStrip1
     //
     this.toolStrip1.Font = new System.Drawing.Font("Arial", 11.25F);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tbRefresh,
         this.tbSave,
         this.tbAdd,
         this.tbDelete,
         this.tbTransform
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(707, 25);
     this.toolStrip1.TabIndex = 19;
     this.toolStrip1.Text     = "toolStrip5";
     //
     // tbRefresh
     //
     this.tbRefresh.Font  = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.tbRefresh.Image = global::FBA.Resource.Refresh_16;
     this.tbRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tbRefresh.Name   = "tbRefresh";
     this.tbRefresh.Size   = new System.Drawing.Size(80, 22);
     this.tbRefresh.Text   = "Refresh";
     this.tbRefresh.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // tbSave
     //
     this.tbSave.Font  = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.tbSave.Image = global::FBA.Resource.Save_16;
     this.tbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tbSave.Name   = "tbSave";
     this.tbSave.Size   = new System.Drawing.Size(61, 22);
     this.tbSave.Text   = "Save";
     this.tbSave.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // tbAdd
     //
     this.tbAdd.Font  = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.tbAdd.Image = global::FBA.Resource.Add_16;
     this.tbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tbAdd.Name   = "tbAdd";
     this.tbAdd.Size   = new System.Drawing.Size(53, 22);
     this.tbAdd.Text   = "Add";
     this.tbAdd.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // tbDelete
     //
     this.tbDelete.Font  = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.tbDelete.Image = global::FBA.Resource.Del_16;
     this.tbDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tbDelete.Name   = "tbDelete";
     this.tbDelete.Size   = new System.Drawing.Size(70, 22);
     this.tbDelete.Text   = "Delete";
     this.tbDelete.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // tbTransform
     //
     this.tbTransform.Image = global::FBA.Resource.method_2;
     this.tbTransform.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tbTransform.Name   = "tbTransform";
     this.tbTransform.Size   = new System.Drawing.Size(95, 22);
     this.tbTransform.Text   = "Transform";
     this.tbTransform.Click += new System.EventHandler(this.cmText_N1_Click);
     //
     // FormText
     //
     //this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     //this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(707, 390);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.toolStrip1);
     this.Font   = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.Name   = "FormText";
     this.Text   = "FormText";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvText)).EndInit();
     this.cmText.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tbText)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 public CodeEditorInstructionPointer(FastColoredTextBox textBox, TextStyle style)
     : base(textBox, new LDBookmark(new FilePath(""), 0, 0), style)
 {
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DeviceBot));
     this.chkEnableBot = new System.Windows.Forms.CheckBox();
     this.btnCompile = new System.Windows.Forms.Button();
     this.lblCompiled = new System.Windows.Forms.Label();
     this.txtBotEditor = new FastColoredTextBoxNS.FastColoredTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.txtBotEditor)).BeginInit();
     this.SuspendLayout();
     //
     // chkEnableBot
     //
     this.chkEnableBot.AutoSize = true;
     this.chkEnableBot.Location = new System.Drawing.Point(12, 10);
     this.chkEnableBot.Name = "chkEnableBot";
     this.chkEnableBot.Size = new System.Drawing.Size(78, 17);
     this.chkEnableBot.TabIndex = 1;
     this.chkEnableBot.Text = "Enable Bot";
     this.chkEnableBot.UseVisualStyleBackColor = true;
     this.chkEnableBot.CheckedChanged += new System.EventHandler(this.chkEnableBot_CheckedChanged);
     //
     // btnCompile
     //
     this.btnCompile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCompile.Location = new System.Drawing.Point(466, 384);
     this.btnCompile.Name = "btnCompile";
     this.btnCompile.Size = new System.Drawing.Size(75, 23);
     this.btnCompile.TabIndex = 2;
     this.btnCompile.Text = "&Compile";
     this.btnCompile.UseVisualStyleBackColor = true;
     this.btnCompile.Click += new System.EventHandler(this.btnCompile_Click);
     //
     // lblCompiled
     //
     this.lblCompiled.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblCompiled.AutoSize = true;
     this.lblCompiled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCompiled.ForeColor = System.Drawing.Color.LimeGreen;
     this.lblCompiled.Location = new System.Drawing.Point(403, 389);
     this.lblCompiled.Name = "lblCompiled";
     this.lblCompiled.Size = new System.Drawing.Size(57, 13);
     this.lblCompiled.TabIndex = 3;
     this.lblCompiled.Text = "compiled";
     this.lblCompiled.Visible = false;
     //
     // txtBotEditor
     //
     this.txtBotEditor.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                             | System.Windows.Forms.AnchorStyles.Left)
                             | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBotEditor.AutoCompleteBracketsList = new char[] {
                 '(',
                 ')',
                 '{',
                 '}',
                 '[',
                 ']',
                 '\"',
                 '\"',
                 '\'',
                 '\''};
     this.txtBotEditor.AutoIndentCharsPatterns = "\r\n^\\s*[\\w\\.]+(\\s\\w+)?\\s*(?<range>=)\\s*(?<range>[^;]+);\r\n^\\s*(case|default)\\s*[^:]" +
     "*(?<range>:)\\s*(?<range>[^;]+);\r\n";
     this.txtBotEditor.AutoScrollMinSize = new System.Drawing.Size(227, 70);
     this.txtBotEditor.BackBrush = null;
     this.txtBotEditor.BracketsHighlightStrategy = FastColoredTextBoxNS.BracketsHighlightStrategy.Strategy2;
     this.txtBotEditor.CharHeight = 14;
     this.txtBotEditor.CharWidth = 8;
     this.txtBotEditor.Cursor = System.Windows.Forms.Cursors.IBeam;
     this.txtBotEditor.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     this.txtBotEditor.Enabled = false;
     this.txtBotEditor.Font = new System.Drawing.Font("Courier New", 9.75F);
     this.txtBotEditor.IsReplaceMode = false;
     this.txtBotEditor.Language = FastColoredTextBoxNS.Language.CSharp;
     this.txtBotEditor.LeftBracket = '(';
     this.txtBotEditor.LeftBracket2 = '{';
     this.txtBotEditor.Location = new System.Drawing.Point(12, 33);
     this.txtBotEditor.Name = "txtBotEditor";
     this.txtBotEditor.Paddings = new System.Windows.Forms.Padding(0);
     this.txtBotEditor.RightBracket = ')';
     this.txtBotEditor.RightBracket2 = '}';
     this.txtBotEditor.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     this.txtBotEditor.Size = new System.Drawing.Size(529, 345);
     this.txtBotEditor.TabIndex = 4;
     this.txtBotEditor.Text = "//use message as variable\r\n//sample use:\r\n//if(message == \"OK\")\r\n//    return \"YE" +
     "S\";\r\n";
     this.txtBotEditor.Zoom = 100;
     //
     // DeviceBot
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(553, 414);
     this.Controls.Add(this.txtBotEditor);
     this.Controls.Add(this.lblCompiled);
     this.Controls.Add(this.btnCompile);
     this.Controls.Add(this.chkEnableBot);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "DeviceBot";
     this.Text = "DeviceBot";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DeviceBot_FormClosing);
     this.Load += new System.EventHandler(this.DeviceBot_Load);
     ((System.ComponentModel.ISupportInitialize)(this.txtBotEditor)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.codebox = new FastColoredTextBoxNS.FastColoredTextBox();
     this.EditorContext = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.pToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.goToToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
     this.foldingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.foldSelectedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.unFoldSelectedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.markToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.markLineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingDefaultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingRedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingYellowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingGreenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingGrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.unmarkLineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
     this.markCharToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingYellowStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingRedStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingGreenStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingBlueStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.usingGrayStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
     this.autoCompleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
     this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.TabContext = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.closeAllButThisToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.closeAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.copyFileNameToClipboardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.copyFilePathToClipboardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
     this.openContainingFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.unmarkSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.codebox)).BeginInit();
     this.EditorContext.SuspendLayout();
     this.TabContext.SuspendLayout();
     this.SuspendLayout();
     //
     // codebox
     //
     this.codebox.AutoScrollMinSize = new System.Drawing.Size(45, 14);
     this.codebox.BackBrush = null;
     this.codebox.BackColor = global::SS.Ynote.Classic.Properties.Settings.Default.EditorBackColor;
     this.codebox.CharHeight = 14;
     this.codebox.CharWidth = 8;
     this.codebox.ContextMenuStrip = this.EditorContext;
     this.codebox.CurrentLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     this.codebox.Cursor = System.Windows.Forms.Cursors.IBeam;
     this.codebox.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     this.codebox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.codebox.ForeColor = System.Drawing.Color.Black;
     this.codebox.IndentBackColor = global::SS.Ynote.Classic.Properties.Settings.Default.IndentBackColor;
     this.codebox.IsReplaceMode = false;
     this.codebox.LeftBracket = '(';
     this.codebox.LeftPadding = global::SS.Ynote.Classic.Properties.Settings.Default.PaddingWidth;
     this.codebox.Location = new System.Drawing.Point(0, 0);
     this.codebox.Name = "codebox";
     this.codebox.Paddings = new System.Windows.Forms.Padding(0);
     this.codebox.RightBracket = ')';
     this.codebox.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     this.codebox.ShowFoldingLines = true;
     this.codebox.Size = new System.Drawing.Size(775, 469);
     this.codebox.TabIndex = 0;
     this.codebox.Zoom = 100;
     this.codebox.TextChangedDelayed += new System.EventHandler<FastColoredTextBoxNS.TextChangedEventArgs>(this.fctb_textchangeddelayed);
     //
     // EditorContext
     //
     this.EditorContext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.cutToolStripMenuItem,
     this.copyToolStripMenuItem,
     this.pToolStripMenuItem,
     this.toolStripSeparator1,
     this.undoToolStripMenuItem,
     this.redoToolStripMenuItem,
     this.toolStripSeparator2,
     this.findToolStripMenuItem,
     this.replaceToolStripMenuItem,
     this.goToToolStripMenuItem,
     this.toolStripSeparator5,
     this.foldingToolStripMenuItem,
     this.markToolStripMenuItem,
     this.toolStripSeparator6,
     this.autoCompleteToolStripMenuItem,
     this.toolStripSeparator7,
     this.selectAllToolStripMenuItem});
     this.EditorContext.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this.EditorContext.Name = "EditorContext";
     this.EditorContext.Size = new System.Drawing.Size(156, 320);
     //
     // cutToolStripMenuItem
     //
     this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
     this.cutToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.cutToolStripMenuItem.Text = "Cut  ";
     this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
     //
     // copyToolStripMenuItem
     //
     this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
     this.copyToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.copyToolStripMenuItem.Text = "Copy ";
     this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
     //
     // pToolStripMenuItem
     //
     this.pToolStripMenuItem.Name = "pToolStripMenuItem";
     this.pToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.pToolStripMenuItem.Text = "Paste";
     this.pToolStripMenuItem.Click += new System.EventHandler(this.pToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(152, 6);
     //
     // undoToolStripMenuItem
     //
     this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
     this.undoToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.undoToolStripMenuItem.Text = "Undo";
     this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click);
     //
     // redoToolStripMenuItem
     //
     this.redoToolStripMenuItem.Name = "redoToolStripMenuItem";
     this.redoToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.redoToolStripMenuItem.Text = "Redo";
     this.redoToolStripMenuItem.Click += new System.EventHandler(this.redoToolStripMenuItem_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(152, 6);
     //
     // findToolStripMenuItem
     //
     this.findToolStripMenuItem.Name = "findToolStripMenuItem";
     this.findToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.findToolStripMenuItem.Text = "Find ";
     this.findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click);
     //
     // replaceToolStripMenuItem
     //
     this.replaceToolStripMenuItem.Name = "replaceToolStripMenuItem";
     this.replaceToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.replaceToolStripMenuItem.Text = "Replace";
     this.replaceToolStripMenuItem.Click += new System.EventHandler(this.replaceToolStripMenuItem_Click);
     //
     // goToToolStripMenuItem
     //
     this.goToToolStripMenuItem.Name = "goToToolStripMenuItem";
     this.goToToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.goToToolStripMenuItem.Text = "Go To";
     this.goToToolStripMenuItem.Click += new System.EventHandler(this.goToToolStripMenuItem_Click);
     //
     // toolStripSeparator5
     //
     this.toolStripSeparator5.Name = "toolStripSeparator5";
     this.toolStripSeparator5.Size = new System.Drawing.Size(152, 6);
     //
     // foldingToolStripMenuItem
     //
     this.foldingToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.foldSelectedToolStripMenuItem,
     this.unFoldSelectedToolStripMenuItem});
     this.foldingToolStripMenuItem.Name = "foldingToolStripMenuItem";
     this.foldingToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.foldingToolStripMenuItem.Text = "Folding";
     //
     // foldSelectedToolStripMenuItem
     //
     this.foldSelectedToolStripMenuItem.Name = "foldSelectedToolStripMenuItem";
     this.foldSelectedToolStripMenuItem.Size = new System.Drawing.Size(261, 22);
     this.foldSelectedToolStripMenuItem.Text = "Fold Selected    [Ctrl + Shift  + F]";
     this.foldSelectedToolStripMenuItem.Click += new System.EventHandler(this.foldSelectedToolStripMenuItem_Click);
     //
     // unFoldSelectedToolStripMenuItem
     //
     this.unFoldSelectedToolStripMenuItem.Name = "unFoldSelectedToolStripMenuItem";
     this.unFoldSelectedToolStripMenuItem.Size = new System.Drawing.Size(261, 22);
     this.unFoldSelectedToolStripMenuItem.Text = "UnFold Selected     [Ctrl + Shift + U]";
     this.unFoldSelectedToolStripMenuItem.Click += new System.EventHandler(this.unFoldSelectedToolStripMenuItem_Click);
     //
     // markToolStripMenuItem
     //
     this.markToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.markLineToolStripMenuItem,
     this.unmarkLineToolStripMenuItem,
     this.toolStripSeparator8,
     this.markCharToolStripMenuItem,
     this.unmarkSelectionToolStripMenuItem});
     this.markToolStripMenuItem.Name = "markToolStripMenuItem";
     this.markToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.markToolStripMenuItem.Text = "Mark/Unmark";
     //
     // markLineToolStripMenuItem
     //
     this.markLineToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.usingDefaultToolStripMenuItem,
     this.usingRedToolStripMenuItem,
     this.usingYellowToolStripMenuItem,
     this.usingGreenToolStripMenuItem,
     this.usingGrayToolStripMenuItem});
     this.markLineToolStripMenuItem.Name = "markLineToolStripMenuItem";
     this.markLineToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
     this.markLineToolStripMenuItem.Text = "Mark Line";
     //
     // usingDefaultToolStripMenuItem
     //
     this.usingDefaultToolStripMenuItem.Name = "usingDefaultToolStripMenuItem";
     this.usingDefaultToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
     this.usingDefaultToolStripMenuItem.Text = "Using Default";
     this.usingDefaultToolStripMenuItem.Click += new System.EventHandler(this.usingDefaultToolStripMenuItem_Click);
     //
     // usingRedToolStripMenuItem
     //
     this.usingRedToolStripMenuItem.Name = "usingRedToolStripMenuItem";
     this.usingRedToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
     this.usingRedToolStripMenuItem.Text = "Using Red";
     this.usingRedToolStripMenuItem.Click += new System.EventHandler(this.usingRedToolStripMenuItem_Click);
     //
     // usingYellowToolStripMenuItem
     //
     this.usingYellowToolStripMenuItem.Name = "usingYellowToolStripMenuItem";
     this.usingYellowToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
     this.usingYellowToolStripMenuItem.Text = "Using Yellow";
     this.usingYellowToolStripMenuItem.Click += new System.EventHandler(this.usingYellowToolStripMenuItem_Click);
     //
     // usingGreenToolStripMenuItem
     //
     this.usingGreenToolStripMenuItem.Name = "usingGreenToolStripMenuItem";
     this.usingGreenToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
     this.usingGreenToolStripMenuItem.Text = "Using Green";
     this.usingGreenToolStripMenuItem.Click += new System.EventHandler(this.usingGreenToolStripMenuItem_Click);
     //
     // usingGrayToolStripMenuItem
     //
     this.usingGrayToolStripMenuItem.Name = "usingGrayToolStripMenuItem";
     this.usingGrayToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
     this.usingGrayToolStripMenuItem.Text = "Using Gray";
     this.usingGrayToolStripMenuItem.Click += new System.EventHandler(this.usingGrayToolStripMenuItem_Click);
     //
     // unmarkLineToolStripMenuItem
     //
     this.unmarkLineToolStripMenuItem.Name = "unmarkLineToolStripMenuItem";
     this.unmarkLineToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
     this.unmarkLineToolStripMenuItem.Text = "Unmark Line";
     this.unmarkLineToolStripMenuItem.Click += new System.EventHandler(this.unmarkLineToolStripMenuItem_Click);
     //
     // toolStripSeparator8
     //
     this.toolStripSeparator8.Name = "toolStripSeparator8";
     this.toolStripSeparator8.Size = new System.Drawing.Size(164, 6);
     //
     // markCharToolStripMenuItem
     //
     this.markCharToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.usingYellowStyleToolStripMenuItem,
     this.usingRedStyleToolStripMenuItem,
     this.usingGreenStyleToolStripMenuItem,
     this.usingBlueStyleToolStripMenuItem,
     this.usingGrayStyleToolStripMenuItem});
     this.markCharToolStripMenuItem.Name = "markCharToolStripMenuItem";
     this.markCharToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
     this.markCharToolStripMenuItem.Text = "Mark Selection";
     //
     // usingYellowStyleToolStripMenuItem
     //
     this.usingYellowStyleToolStripMenuItem.Name = "usingYellowStyleToolStripMenuItem";
     this.usingYellowStyleToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
     this.usingYellowStyleToolStripMenuItem.Text = "Using Yellow Style";
     this.usingYellowStyleToolStripMenuItem.Click += new System.EventHandler(this.usingYellowStyleToolStripMenuItem_Click);
     //
     // usingRedStyleToolStripMenuItem
     //
     this.usingRedStyleToolStripMenuItem.Name = "usingRedStyleToolStripMenuItem";
     this.usingRedStyleToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
     this.usingRedStyleToolStripMenuItem.Text = "Using Red Style";
     this.usingRedStyleToolStripMenuItem.Click += new System.EventHandler(this.usingRedStyleToolStripMenuItem_Click);
     //
     // usingGreenStyleToolStripMenuItem
     //
     this.usingGreenStyleToolStripMenuItem.Name = "usingGreenStyleToolStripMenuItem";
     this.usingGreenStyleToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
     this.usingGreenStyleToolStripMenuItem.Text = "Using Green Style";
     this.usingGreenStyleToolStripMenuItem.Click += new System.EventHandler(this.usingGreenStyleToolStripMenuItem_Click);
     //
     // usingBlueStyleToolStripMenuItem
     //
     this.usingBlueStyleToolStripMenuItem.Name = "usingBlueStyleToolStripMenuItem";
     this.usingBlueStyleToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
     this.usingBlueStyleToolStripMenuItem.Text = "Using Blue Style";
     this.usingBlueStyleToolStripMenuItem.Click += new System.EventHandler(this.usingBlueStyleToolStripMenuItem_Click);
     //
     // usingGrayStyleToolStripMenuItem
     //
     this.usingGrayStyleToolStripMenuItem.Name = "usingGrayStyleToolStripMenuItem";
     this.usingGrayStyleToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
     this.usingGrayStyleToolStripMenuItem.Text = "Using Gray Style";
     this.usingGrayStyleToolStripMenuItem.Click += new System.EventHandler(this.usingGrayStyleToolStripMenuItem_Click);
     //
     // toolStripSeparator6
     //
     this.toolStripSeparator6.Name = "toolStripSeparator6";
     this.toolStripSeparator6.Size = new System.Drawing.Size(152, 6);
     //
     // autoCompleteToolStripMenuItem
     //
     this.autoCompleteToolStripMenuItem.Name = "autoCompleteToolStripMenuItem";
     this.autoCompleteToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.autoCompleteToolStripMenuItem.Text = "Auto Complete";
     this.autoCompleteToolStripMenuItem.Click += new System.EventHandler(this.autoCompleteToolStripMenuItem_Click);
     //
     // toolStripSeparator7
     //
     this.toolStripSeparator7.Name = "toolStripSeparator7";
     this.toolStripSeparator7.Size = new System.Drawing.Size(152, 6);
     //
     // selectAllToolStripMenuItem
     //
     this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
     this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.selectAllToolStripMenuItem.Text = "Select All ";
     this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
     //
     // TabContext
     //
     this.TabContext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.closeToolStripMenuItem,
     this.closeAllButThisToolStripMenuItem,
     this.closeAllToolStripMenuItem,
     this.toolStripSeparator3,
     this.copyFileNameToClipboardToolStripMenuItem,
     this.copyFilePathToClipboardToolStripMenuItem,
     this.toolStripSeparator4,
     this.openContainingFolderToolStripMenuItem});
     this.TabContext.Name = "TabContext";
     this.TabContext.Size = new System.Drawing.Size(242, 148);
     //
     // closeToolStripMenuItem
     //
     this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
     this.closeToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
     this.closeToolStripMenuItem.Text = "Close";
     this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
     //
     // closeAllButThisToolStripMenuItem
     //
     this.closeAllButThisToolStripMenuItem.Name = "closeAllButThisToolStripMenuItem";
     this.closeAllButThisToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
     this.closeAllButThisToolStripMenuItem.Text = "Close All But this";
     this.closeAllButThisToolStripMenuItem.Click += new System.EventHandler(this.closeAllButThisToolStripMenuItem_Click);
     //
     // closeAllToolStripMenuItem
     //
     this.closeAllToolStripMenuItem.Name = "closeAllToolStripMenuItem";
     this.closeAllToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
     this.closeAllToolStripMenuItem.Text = "Close All";
     this.closeAllToolStripMenuItem.Click += new System.EventHandler(this.closeAllToolStripMenuItem_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(238, 6);
     //
     // copyFileNameToClipboardToolStripMenuItem
     //
     this.copyFileNameToClipboardToolStripMenuItem.Name = "copyFileNameToClipboardToolStripMenuItem";
     this.copyFileNameToClipboardToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
     this.copyFileNameToClipboardToolStripMenuItem.Text = "Copy File Name to Clipboard";
     this.copyFileNameToClipboardToolStripMenuItem.Click += new System.EventHandler(this.copyFileNameToClipboardToolStripMenuItem_Click);
     //
     // copyFilePathToClipboardToolStripMenuItem
     //
     this.copyFilePathToClipboardToolStripMenuItem.Name = "copyFilePathToClipboardToolStripMenuItem";
     this.copyFilePathToClipboardToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
     this.copyFilePathToClipboardToolStripMenuItem.Text = "Copy Full File Path to Clipboard";
     this.copyFilePathToClipboardToolStripMenuItem.Click += new System.EventHandler(this.copyFilePathToClipboardToolStripMenuItem_Click);
     //
     // toolStripSeparator4
     //
     this.toolStripSeparator4.Name = "toolStripSeparator4";
     this.toolStripSeparator4.Size = new System.Drawing.Size(238, 6);
     //
     // openContainingFolderToolStripMenuItem
     //
     this.openContainingFolderToolStripMenuItem.Name = "openContainingFolderToolStripMenuItem";
     this.openContainingFolderToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
     this.openContainingFolderToolStripMenuItem.Text = "Open Containing Folder";
     this.openContainingFolderToolStripMenuItem.Click += new System.EventHandler(this.openContainingFolderToolStripMenuItem_Click);
     //
     // unmarkSelectionToolStripMenuItem
     //
     this.unmarkSelectionToolStripMenuItem.Name = "unmarkSelectionToolStripMenuItem";
     this.unmarkSelectionToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
     this.unmarkSelectionToolStripMenuItem.Text = "Unmark Selection";
     this.unmarkSelectionToolStripMenuItem.Click += new System.EventHandler(this.unmarkSelectionToolStripMenuItem_Click);
     //
     // Editor
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(775, 469);
     this.Controls.Add(this.codebox);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "Editor";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.TabPageContextMenuStrip = this.TabContext;
     this.Text = "New";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Editor_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.codebox)).EndInit();
     this.EditorContext.ResumeLayout(false);
     this.TabContext.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Beispiel #31
0
 public override void Bind()
 {
     Binding = actual = new FastColoredTextBoxNS.FastColoredTextBox();
 }
Beispiel #32
0
 public elementoConsola(FastColoredTextBoxNS.FastColoredTextBox cuadro)
 {
     listaConsola = new List <string>();
     this.consola = cuadro;
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CodeNowPluginControl));
     this.splitContainer4          = new System.Windows.Forms.SplitContainer();
     this.panelCode                = new System.Windows.Forms.Panel();
     this.panelStart               = new System.Windows.Forms.Panel();
     this.pictureBox1              = new System.Windows.Forms.PictureBox();
     this.label4                   = new System.Windows.Forms.Label();
     this.executionProgressBar     = new System.Windows.Forms.ProgressBar();
     this.toolStrip2               = new System.Windows.Forms.ToolStrip();
     this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton();
     this.tbLoadItem               = new System.Windows.Forms.ToolStripMenuItem();
     this.tbSaveItem               = new System.Windows.Forms.ToolStripMenuItem();
     this.tbSaveAs                 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1      = new System.Windows.Forms.ToolStripSeparator();
     this.tbNewItem                = new System.Windows.Forms.ToolStripMenuItem();
     this.tbNewScript              = new System.Windows.Forms.ToolStripMenuItem();
     this.tbCompileCode            = new System.Windows.Forms.ToolStripButton();
     this.tbRunCode                = new System.Windows.Forms.ToolStripButton();
     this.splitContainerCode       = new System.Windows.Forms.SplitContainer();
     this.label5                   = new System.Windows.Forms.Label();
     this.tbLocation               = new System.Windows.Forms.TextBox();
     this.label1                   = new System.Windows.Forms.Label();
     this.tbDescription            = new System.Windows.Forms.TextBox();
     this.Description              = new System.Windows.Forms.Label();
     this.tbCategory               = new System.Windows.Forms.TextBox();
     this.label3                   = new System.Windows.Forms.Label();
     this.tbTitle                  = new System.Windows.Forms.TextBox();
     this.label2                   = new System.Windows.Forms.Label();
     this.label6                   = new System.Windows.Forms.Label();
     this.tbUsing                  = new System.Windows.Forms.TextBox();
     this.tbLog         = new System.Windows.Forms.TextBox();
     this.progressTimer = new System.Windows.Forms.Timer(this.components);
     this.tbCode        = new FastColoredTextBoxNS.FastColoredTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
     this.splitContainer4.Panel1.SuspendLayout();
     this.splitContainer4.Panel2.SuspendLayout();
     this.splitContainer4.SuspendLayout();
     this.panelCode.SuspendLayout();
     this.panelStart.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.toolStrip2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerCode)).BeginInit();
     this.splitContainerCode.Panel1.SuspendLayout();
     this.splitContainerCode.Panel2.SuspendLayout();
     this.splitContainerCode.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbCode)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainer4
     //
     this.splitContainer4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.splitContainer4.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer4.Name        = "splitContainer4";
     this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer4.Panel1
     //
     this.splitContainer4.Panel1.Controls.Add(this.panelCode);
     //
     // splitContainer4.Panel2
     //
     this.splitContainer4.Panel2.Controls.Add(this.tbLog);
     this.splitContainer4.Size             = new System.Drawing.Size(877, 561);
     this.splitContainer4.SplitterDistance = 400;
     this.splitContainer4.TabIndex         = 0;
     //
     // panelCode
     //
     this.panelCode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.panelCode.Controls.Add(this.panelStart);
     this.panelCode.Controls.Add(this.executionProgressBar);
     this.panelCode.Controls.Add(this.toolStrip2);
     this.panelCode.Controls.Add(this.splitContainerCode);
     this.panelCode.Location = new System.Drawing.Point(3, 3);
     this.panelCode.Name     = "panelCode";
     this.panelCode.Size     = new System.Drawing.Size(871, 394);
     this.panelCode.TabIndex = 0;
     //
     // panelStart
     //
     this.panelStart.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.panelStart.BackColor = System.Drawing.SystemColors.ButtonHighlight;
     this.panelStart.Controls.Add(this.pictureBox1);
     this.panelStart.Controls.Add(this.label4);
     this.panelStart.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panelStart.Location = new System.Drawing.Point(82, 49);
     this.panelStart.Name     = "panelStart";
     this.panelStart.Size     = new System.Drawing.Size(682, 229);
     this.panelStart.TabIndex = 2;
     //
     // pictureBox1
     //
     this.pictureBox1.BackgroundImage = global::TreeCat.XrmToolBox.CodeNow.Properties.Resources.Logo64;
     this.pictureBox1.Location        = new System.Drawing.Point(144, 55);
     this.pictureBox1.Name            = "pictureBox1";
     this.pictureBox1.Size            = new System.Drawing.Size(62, 56);
     this.pictureBox1.TabIndex        = 1;
     this.pictureBox1.TabStop         = false;
     //
     // label4
     //
     this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location  = new System.Drawing.Point(212, 55);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(267, 80);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "CodeNow Plugin for XrmToolBox\r\n\r\nTo load a script, use \r\nFile->Open";
     this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // executionProgressBar
     //
     this.executionProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.executionProgressBar.Location = new System.Drawing.Point(419, 370);
     this.executionProgressBar.Name     = "executionProgressBar";
     this.executionProgressBar.Size     = new System.Drawing.Size(449, 18);
     this.executionProgressBar.TabIndex = 5;
     //
     // toolStrip2
     //
     this.toolStrip2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.toolStrip2.AutoSize = false;
     this.toolStrip2.Dock     = System.Windows.Forms.DockStyle.None;
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripDropDownButton2,
         this.tbCompileCode,
         this.tbRunCode
     });
     this.toolStrip2.Location = new System.Drawing.Point(0, 363);
     this.toolStrip2.Name     = "toolStrip2";
     this.toolStrip2.Size     = new System.Drawing.Size(216, 27);
     this.toolStrip2.TabIndex = 1;
     this.toolStrip2.Text     = "toolStrip2";
     //
     // toolStripDropDownButton2
     //
     this.toolStripDropDownButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tbLoadItem,
         this.tbSaveItem,
         this.tbSaveAs,
         this.toolStripSeparator1,
         this.tbNewItem,
         this.tbNewScript
     });
     this.toolStripDropDownButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton2.Image")));
     this.toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripDropDownButton2.Name = "toolStripDropDownButton2";
     this.toolStripDropDownButton2.Size = new System.Drawing.Size(38, 24);
     this.toolStripDropDownButton2.Text = "File";
     //
     // tbLoadItem
     //
     this.tbLoadItem.Name   = "tbLoadItem";
     this.tbLoadItem.Size   = new System.Drawing.Size(135, 22);
     this.tbLoadItem.Text   = "Open";
     this.tbLoadItem.Click += new System.EventHandler(this.tbLoadItem_Click);
     //
     // tbSaveItem
     //
     this.tbSaveItem.Name   = "tbSaveItem";
     this.tbSaveItem.Size   = new System.Drawing.Size(135, 22);
     this.tbSaveItem.Text   = "Save";
     this.tbSaveItem.Click += new System.EventHandler(this.tbSaveItem_Click);
     //
     // tbSaveAs
     //
     this.tbSaveAs.Name   = "tbSaveAs";
     this.tbSaveAs.Size   = new System.Drawing.Size(135, 22);
     this.tbSaveAs.Text   = "Save As";
     this.tbSaveAs.Click += new System.EventHandler(this.tbSaveAs_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(132, 6);
     //
     // tbNewItem
     //
     this.tbNewItem.Name   = "tbNewItem";
     this.tbNewItem.Size   = new System.Drawing.Size(135, 22);
     this.tbNewItem.Text   = "New Plugin";
     this.tbNewItem.Click += new System.EventHandler(this.tbNewItem_Click);
     //
     // tbNewScript
     //
     this.tbNewScript.Name   = "tbNewScript";
     this.tbNewScript.Size   = new System.Drawing.Size(135, 22);
     this.tbNewScript.Text   = "New Script";
     this.tbNewScript.Click += new System.EventHandler(this.tbNewScript_Click);
     //
     // tbCompileCode
     //
     this.tbCompileCode.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.tbCompileCode.Image                 = ((System.Drawing.Image)(resources.GetObject("tbCompileCode.Image")));
     this.tbCompileCode.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tbCompileCode.Name   = "tbCompileCode";
     this.tbCompileCode.Size   = new System.Drawing.Size(56, 24);
     this.tbCompileCode.Text   = "Compile";
     this.tbCompileCode.Click += new System.EventHandler(this.tbMakeExeItem_Click);
     //
     // tbRunCode
     //
     this.tbRunCode.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.tbRunCode.Image                 = ((System.Drawing.Image)(resources.GetObject("tbRunCode.Image")));
     this.tbRunCode.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tbRunCode.Name   = "tbRunCode";
     this.tbRunCode.Size   = new System.Drawing.Size(32, 24);
     this.tbRunCode.Text   = "Run";
     this.tbRunCode.Click += new System.EventHandler(this.buttonRun_Click);
     //
     // splitContainerCode
     //
     this.splitContainerCode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                             | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.splitContainerCode.Location = new System.Drawing.Point(0, 0);
     this.splitContainerCode.Name     = "splitContainerCode";
     //
     // splitContainerCode.Panel1
     //
     this.splitContainerCode.Panel1.BackColor = System.Drawing.SystemColors.Control;
     this.splitContainerCode.Panel1.Controls.Add(this.tbCode);
     this.splitContainerCode.Panel1.Controls.Add(this.label5);
     //
     // splitContainerCode.Panel2
     //
     this.splitContainerCode.Panel2.BackColor = System.Drawing.SystemColors.Control;
     this.splitContainerCode.Panel2.Controls.Add(this.tbLocation);
     this.splitContainerCode.Panel2.Controls.Add(this.label1);
     this.splitContainerCode.Panel2.Controls.Add(this.tbDescription);
     this.splitContainerCode.Panel2.Controls.Add(this.Description);
     this.splitContainerCode.Panel2.Controls.Add(this.tbCategory);
     this.splitContainerCode.Panel2.Controls.Add(this.label3);
     this.splitContainerCode.Panel2.Controls.Add(this.tbTitle);
     this.splitContainerCode.Panel2.Controls.Add(this.label2);
     this.splitContainerCode.Panel2.Controls.Add(this.label6);
     this.splitContainerCode.Panel2.Controls.Add(this.tbUsing);
     this.splitContainerCode.Size             = new System.Drawing.Size(871, 363);
     this.splitContainerCode.SplitterDistance = 550;
     this.splitContainerCode.TabIndex         = 0;
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.SystemColors.Control;
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location  = new System.Drawing.Point(4, 4);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(100, 13);
     this.label5.TabIndex  = 0;
     this.label5.Text      = "C# Source Code";
     //
     // tbLocation
     //
     this.tbLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.tbLocation.Location = new System.Drawing.Point(4, 339);
     this.tbLocation.Name     = "tbLocation";
     this.tbLocation.ReadOnly = true;
     this.tbLocation.Size     = new System.Drawing.Size(310, 20);
     this.tbLocation.TabIndex = 9;
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.SystemColors.Control;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(3, 323);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 13);
     this.label1.TabIndex  = 8;
     this.label1.Text      = "Location";
     //
     // tbDescription
     //
     this.tbDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.tbDescription.Location   = new System.Drawing.Point(4, 251);
     this.tbDescription.Multiline  = true;
     this.tbDescription.Name       = "tbDescription";
     this.tbDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.tbDescription.Size       = new System.Drawing.Size(310, 69);
     this.tbDescription.TabIndex   = 7;
     //
     // Description
     //
     this.Description.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.Description.AutoSize  = true;
     this.Description.BackColor = System.Drawing.SystemColors.Control;
     this.Description.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Description.Location  = new System.Drawing.Point(3, 235);
     this.Description.Name      = "Description";
     this.Description.Size      = new System.Drawing.Size(71, 13);
     this.Description.TabIndex  = 6;
     this.Description.Text      = "Description";
     //
     // tbCategory
     //
     this.tbCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.tbCategory.Location = new System.Drawing.Point(4, 212);
     this.tbCategory.Name     = "tbCategory";
     this.tbCategory.Size     = new System.Drawing.Size(310, 20);
     this.tbCategory.TabIndex = 5;
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.SystemColors.Control;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(3, 196);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(57, 13);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Category";
     //
     // tbTitle
     //
     this.tbTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.tbTitle.Location = new System.Drawing.Point(4, 173);
     this.tbTitle.Name     = "tbTitle";
     this.tbTitle.Size     = new System.Drawing.Size(310, 20);
     this.tbTitle.TabIndex = 3;
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.SystemColors.Control;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(3, 156);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(32, 13);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Title";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.SystemColors.Control;
     this.label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location  = new System.Drawing.Point(2, 4);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(39, 13);
     this.label6.TabIndex  = 1;
     this.label6.Text      = "Using";
     //
     // tbUsing
     //
     this.tbUsing.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.tbUsing.Location   = new System.Drawing.Point(4, 25);
     this.tbUsing.Multiline  = true;
     this.tbUsing.Name       = "tbUsing";
     this.tbUsing.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.tbUsing.Size       = new System.Drawing.Size(310, 128);
     this.tbUsing.TabIndex   = 0;
     //
     // tbLog
     //
     this.tbLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.tbLog.Location   = new System.Drawing.Point(3, 3);
     this.tbLog.Multiline  = true;
     this.tbLog.Name       = "tbLog";
     this.tbLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.tbLog.Size       = new System.Drawing.Size(871, 151);
     this.tbLog.TabIndex   = 1;
     //
     // progressTimer
     //
     this.progressTimer.Interval = 500;
     this.progressTimer.Tick    += new System.EventHandler(this.progressTimer_Tick);
     //
     // tbCode
     //
     this.tbCode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.tbCode.AutoCompleteBracketsList = new char[] {
         '(',
         ')',
         '{',
         '}',
         '[',
         ']',
         '\"',
         '\"',
         '\'',
         '\''
     };
     this.tbCode.AutoIndentCharsPatterns = "\r\n^\\s*[\\w\\.]+(\\s\\w+)?\\s*(?<range>=)\\s*(?<range>[^;]+);\r\n^\\s*(case|default)\\s*[^:]" +
                                           "*(?<range>:)\\s*(?<range>[^;]+);\r\n";
     this.tbCode.AutoScrollMinSize         = new System.Drawing.Size(27, 14);
     this.tbCode.BackBrush                 = null;
     this.tbCode.BracketsHighlightStrategy = FastColoredTextBoxNS.BracketsHighlightStrategy.Strategy2;
     this.tbCode.CharHeight                = 14;
     this.tbCode.CharWidth                 = 8;
     this.tbCode.Cursor                = System.Windows.Forms.Cursors.IBeam;
     this.tbCode.DisabledColor         = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     this.tbCode.HighlightingRangeType = FastColoredTextBoxNS.HighlightingRangeType.AllTextRange;
     this.tbCode.IsReplaceMode         = false;
     this.tbCode.Language              = FastColoredTextBoxNS.Language.CSharp;
     this.tbCode.LeftBracket           = '(';
     this.tbCode.LeftBracket2          = '{';
     this.tbCode.Location              = new System.Drawing.Point(7, 25);
     this.tbCode.Name           = "tbCode";
     this.tbCode.Paddings       = new System.Windows.Forms.Padding(0);
     this.tbCode.RightBracket   = ')';
     this.tbCode.RightBracket2  = '}';
     this.tbCode.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     this.tbCode.Size           = new System.Drawing.Size(540, 335);
     this.tbCode.TabIndex       = 1;
     this.tbCode.Zoom           = 100;
     //
     // CodeNowPluginControl
     //
     this.Controls.Add(this.splitContainer4);
     this.Name  = "CodeNowPluginControl";
     this.Size  = new System.Drawing.Size(877, 561);
     this.Load += new System.EventHandler(this.CodeNowPluginControl_Load);
     this.splitContainer4.Panel1.ResumeLayout(false);
     this.splitContainer4.Panel2.ResumeLayout(false);
     this.splitContainer4.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
     this.splitContainer4.ResumeLayout(false);
     this.panelCode.ResumeLayout(false);
     this.panelStart.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.toolStrip2.ResumeLayout(false);
     this.toolStrip2.PerformLayout();
     this.splitContainerCode.Panel1.ResumeLayout(false);
     this.splitContainerCode.Panel1.PerformLayout();
     this.splitContainerCode.Panel2.ResumeLayout(false);
     this.splitContainerCode.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerCode)).EndInit();
     this.splitContainerCode.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tbCode)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components                     = new System.ComponentModel.Container();
     textBox                             = new FastColoredTextBoxNS.FastColoredTextBox();
     this.menuPopup                      = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.menuitemCopy                   = new System.Windows.Forms.ToolStripMenuItem();
     this.menuitemSeparator              = new System.Windows.Forms.ToolStripSeparator();
     this.menuitemAddToLookBehind        = new System.Windows.Forms.ToolStripMenuItem();
     this.menuitemAddToNegLookBehind     = new System.Windows.Forms.ToolStripMenuItem();
     this.menuitemAddToLookAhead         = new System.Windows.Forms.ToolStripMenuItem();
     this.menuitemAddToNegLookAhead      = new System.Windows.Forms.ToolStripMenuItem();
     this.menuitemAddToExceptions        = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripTop                   = new System.Windows.Forms.ToolStrip();
     this.toolStripButtonAddToExceptions = new System.Windows.Forms.ToolStripButton();
     this.btnScrollToFirstMatch          = new System.Windows.Forms.ToolStripButton();
     this.btnScrollToLastMatch           = new System.Windows.Forms.ToolStripButton();
     this.menuPopup.SuspendLayout();
     this.toolStripTop.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox
     //
     this.textBox.BackColor         = System.Drawing.Color.White;
     this.textBox.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.textBox.Location          = new System.Drawing.Point(0, 34);
     this.textBox.Margin            = new System.Windows.Forms.Padding(10);
     this.textBox.Name              = "richTextBox";
     this.textBox.ReadOnly          = true;
     this.textBox.Size              = new System.Drawing.Size(2954, 1827);
     this.textBox.TabIndex          = 1;
     this.textBox.Text              = "";
     this.textBox.SelectionChanged += new System.EventHandler(this.textBox_SelectionChanged);
     //
     // menuPopup
     //
     this.menuPopup.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.menuitemCopy,
         this.menuitemSeparator,
         this.menuitemAddToLookBehind,
         this.menuitemAddToNegLookBehind,
         this.menuitemAddToLookAhead,
         this.menuitemAddToNegLookAhead,
         this.menuitemAddToExceptions
     });
     this.menuPopup.Name = "menuPopup";
     this.menuPopup.Size = new System.Drawing.Size(208, 142);
     //
     // menuitemCopy
     //
     this.menuitemCopy.Name   = "menuitemCopy";
     this.menuitemCopy.Size   = new System.Drawing.Size(207, 22);
     this.menuitemCopy.Text   = "Copy";
     this.menuitemCopy.Click += new System.EventHandler(this.menuitemCopy_Click);
     //
     // menuitemSeparator
     //
     this.menuitemSeparator.Name = "menuitemSeparator";
     this.menuitemSeparator.Size = new System.Drawing.Size(204, 6);
     //
     // menuitemAddToLookBehind
     //
     this.menuitemAddToLookBehind.Name   = "menuitemAddToLookBehind";
     this.menuitemAddToLookBehind.Size   = new System.Drawing.Size(207, 22);
     this.menuitemAddToLookBehind.Text   = "Add to \'Look behind\'";
     this.menuitemAddToLookBehind.Click += new System.EventHandler(this.menuitemAddToLookBehind_Click);
     //
     // menuitemAddToNegLookBehind
     //
     this.menuitemAddToNegLookBehind.Name   = "menuitemAddToNegLookBehind";
     this.menuitemAddToNegLookBehind.Size   = new System.Drawing.Size(207, 22);
     this.menuitemAddToNegLookBehind.Text   = "Add to \'Neg look behind\'";
     this.menuitemAddToNegLookBehind.Click += new System.EventHandler(this.menuitemAddToNegLookBehind_Click);
     //
     // menuitemAddToLookAhead
     //
     this.menuitemAddToLookAhead.Name   = "menuitemAddToLookAhead";
     this.menuitemAddToLookAhead.Size   = new System.Drawing.Size(207, 22);
     this.menuitemAddToLookAhead.Text   = "Add to \'Look ahead\'";
     this.menuitemAddToLookAhead.Click += new System.EventHandler(this.menuitemAddToLookAhead_Click);
     //
     // menuitemAddToNegLookAhead
     //
     this.menuitemAddToNegLookAhead.Name   = "menuitemAddToNegLookAhead";
     this.menuitemAddToNegLookAhead.Size   = new System.Drawing.Size(207, 22);
     this.menuitemAddToNegLookAhead.Text   = "Add to \'Neg look ahead\'";
     this.menuitemAddToNegLookAhead.Click += new System.EventHandler(this.menuitemAddToNegLookAhead_Click);
     //
     // menuitemAddToExceptions
     //
     this.menuitemAddToExceptions.Name   = "menuitemAddToExceptions";
     this.menuitemAddToExceptions.Size   = new System.Drawing.Size(207, 22);
     this.menuitemAddToExceptions.Text   = "Add to Exceptions";
     this.menuitemAddToExceptions.Click += new System.EventHandler(this.menuitemAddToExceptions_Click);
     //
     // toolStripTop
     //
     this.toolStripTop.GripStyle        = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStripTop.ImageScalingSize = new System.Drawing.Size(24, 24);
     this.toolStripTop.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButtonAddToExceptions,
         this.btnScrollToFirstMatch,
         this.btnScrollToLastMatch
     });
     this.toolStripTop.Location = new System.Drawing.Point(0, 0);
     this.toolStripTop.Name     = "toolStripTop";
     this.toolStripTop.Padding  = new System.Windows.Forms.Padding(10, 0, 0, 3);
     this.toolStripTop.Size     = new System.Drawing.Size(2954, 34);
     this.toolStripTop.Stretch  = true;
     this.toolStripTop.TabIndex = 2;
     this.toolStripTop.Text     = "toolStrip";
     //
     // toolStripButtonAddToExceptions
     //
     this.toolStripButtonAddToExceptions.Image = global::RegScoreCalc.Properties.Resources.CategoryClasses;
     this.toolStripButtonAddToExceptions.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonAddToExceptions.Name   = "toolStripButtonAddToExceptions";
     this.toolStripButtonAddToExceptions.Size   = new System.Drawing.Size(130, 28);
     this.toolStripButtonAddToExceptions.Text   = "Add to Exceptions";
     this.toolStripButtonAddToExceptions.Click += new System.EventHandler(this.toolStripButtonAddToExceptions_Click);
     //
     // btnScrollToFirstMatch
     //
     this.btnScrollToFirstMatch.Image = global::RegScoreCalc.Properties.Resources.ScrollToFirstMatch;
     this.btnScrollToFirstMatch.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnScrollToFirstMatch.Name   = "btnScrollToFirstMatch";
     this.btnScrollToFirstMatch.Size   = new System.Drawing.Size(126, 28);
     this.btnScrollToFirstMatch.Text   = "Go to First Match";
     this.btnScrollToFirstMatch.Click += new System.EventHandler(this.btnScrollToFirstMatch_Click);
     //
     // btnScrollToLastMatch
     //
     this.btnScrollToLastMatch.Image = global::RegScoreCalc.Properties.Resources.ScrollToLastMatch;
     this.btnScrollToLastMatch.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnScrollToLastMatch.Name   = "btnScrollToLastMatch";
     this.btnScrollToLastMatch.Size   = new System.Drawing.Size(125, 28);
     this.btnScrollToLastMatch.Text   = "Go to Last Match";
     this.btnScrollToLastMatch.Click += new System.EventHandler(this.btnScrollToLastMatch_Click);
     this.AutoScaleDimensions         = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize    = new System.Drawing.Size(2954, 1861);
     this.Controls.Add(this.textBox);
     this.Controls.Add(this.toolStripTop);
     this.Name = "PaneNotesBilling";
     this.Text = "PaneNotesBilling";
     this.menuPopup.ResumeLayout(false);
     this.toolStripTop.ResumeLayout(false);
     this.toolStripTop.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }