Пример #1
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();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer2 = new Syncfusion.Windows.Forms.PopupControlContainer(this.components);
            this.colorPickerUIAdv2      = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
            this.dropDownBarItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.colorPickerUIAdv1      = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.popupControlContainer2.SuspendLayout();
            this.popupControlContainer1.SuspendLayout();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor       = System.Drawing.SystemColors.Window;
            this.editControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.Beige, System.Drawing.Color.IndianRed);
            this.editControl1.BorderStyle     = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98)))));
            this.editControl1.CodeSnipptSize                = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                  = config1;
            this.editControl1.ContextChoiceBackColor        = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.editControl1.ContextChoiceForeColor        = System.Drawing.SystemColors.InfoText;
            this.editControl1.ContextPromptBackgroundBrush  = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))));
            this.editControl1.ContextTooltipBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(232)))), ((int)(((byte)(236))))));
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                                = new System.Drawing.Point(10, 40);
            this.editControl1.MarkChangedLines                        = true;
            this.editControl1.Name                                    = "editControl1";
            this.editControl1.RenderRightToLeft                       = false;
            this.editControl1.ScrollPosition                          = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle                       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SelectionTextColor                      = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
            this.editControl1.ShowHorizontalSplitters                 = false;
            this.editControl1.ShowIndicatorMargin                     = false;
            this.editControl1.ShowSelectionMargin                     = false;
            this.editControl1.ShowVerticalSplitters                   = false;
            this.editControl1.Size                                    = new System.Drawing.Size(546, 411);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 80;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
            this.editControl1.TabIndex                                = 0;
            this.editControl1.Text                                    = "editControl1\n\n\n";
            this.editControl1.TransferFocusOnTab                      = true;
            this.editControl1.UseXPStyleBorder                        = true;
            this.editControl1.VisualColumn                            = 1;
            this.editControl1.VScrollMode                             = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate;
            this.editControl1.WordWrap                                = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2,
                this.dropDownBarItem1,
                this.dropDownBarItem2
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text       = "&File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.barItem5_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.barItem6_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 0;
            this.parentBarItem2.ID            = "Choose Background Color";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.dropDownBarItem1,
                this.dropDownBarItem2
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text       = "Choose Background Color";
            this.parentBarItem2.WrapLength = 20;
            //
            // dropDownBarItem1
            //
            this.dropDownBarItem1.BarName               = "dropDownBarItem1";
            this.dropDownBarItem1.CategoryIndex         = 0;
            this.dropDownBarItem1.ID                    = "Start Color";
            this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer2;
            this.dropDownBarItem1.ShowToolTipInPopUp    = false;
            this.dropDownBarItem1.SizeToFit             = true;
            this.dropDownBarItem1.Text                  = "Start Color";
            //
            // popupControlContainer2
            //
            this.popupControlContainer2.Controls.Add(this.colorPickerUIAdv2);
            this.popupControlContainer2.Location = new System.Drawing.Point(173, 164);
            this.popupControlContainer2.Name     = "popupControlContainer2";
            this.popupControlContainer2.Size     = new System.Drawing.Size(220, 250);
            this.popupControlContainer2.TabIndex = 10002;
            this.popupControlContainer2.Visible  = false;
            //
            // colorPickerUIAdv2.RecentGroup
            //
            //
            // colorPickerUIAdv2.StandardGroup
            //
            //
            // colorPickerUIAdv2.ThemeGroup
            //
            //
            // colorPickerUIAdv2
            //
            this.colorPickerUIAdv2.BeforeTouchSize      = new System.Drawing.Size(13, 13);
            this.colorPickerUIAdv2.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
            this.colorPickerUIAdv2.ColorItemSize        = new System.Drawing.Size(17, 41);
            this.colorPickerUIAdv2.Dock                 = System.Windows.Forms.DockStyle.Fill;
            this.colorPickerUIAdv2.Location             = new System.Drawing.Point(0, 0);
            this.colorPickerUIAdv2.MetroColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.colorPickerUIAdv2.MinimumSize          = new System.Drawing.Size(136, 163);
            this.colorPickerUIAdv2.Name                 = "colorPickerUIAdv2";
            this.colorPickerUIAdv2.SelectedColor        = System.Drawing.Color.Empty;
            this.colorPickerUIAdv2.Size                 = new System.Drawing.Size(220, 250);
            this.colorPickerUIAdv2.Style                = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro;
            this.colorPickerUIAdv2.TabIndex             = 10003;
            this.colorPickerUIAdv2.Text                 = "colorPickerUIAdv2";
            this.colorPickerUIAdv2.UseOffice2007Style   = false;
            this.colorPickerUIAdv2.VerticalItemsSpacing = 1;
            this.colorPickerUIAdv2.Picked              += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv2_Picked);
            //
            // dropDownBarItem2
            //
            this.dropDownBarItem2.BarName               = "dropDownBarItem2";
            this.dropDownBarItem2.CategoryIndex         = 0;
            this.dropDownBarItem2.ID                    = "End Color";
            this.dropDownBarItem2.PopupControlContainer = this.popupControlContainer1;
            this.dropDownBarItem2.ShowToolTipInPopUp    = false;
            this.dropDownBarItem2.SizeToFit             = true;
            this.dropDownBarItem2.Text                  = "End Color";
            //
            // popupControlContainer1
            //
            this.popupControlContainer1.Controls.Add(this.colorPickerUIAdv1);
            this.popupControlContainer1.Location = new System.Drawing.Point(173, 164);
            this.popupControlContainer1.Name     = "popupControlContainer1";
            this.popupControlContainer1.Size     = new System.Drawing.Size(220, 250);
            this.popupControlContainer1.TabIndex = 10002;
            this.popupControlContainer1.Visible  = false;
            //
            // colorPickerUIAdv1.RecentGroup
            //
            //
            // colorPickerUIAdv1.StandardGroup
            //
            //
            // colorPickerUIAdv1.ThemeGroup
            //
            //
            // colorPickerUIAdv1
            //
            this.colorPickerUIAdv1.BeforeTouchSize      = new System.Drawing.Size(13, 13);
            this.colorPickerUIAdv1.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
            this.colorPickerUIAdv1.ColorItemSize        = new System.Drawing.Size(17, 41);
            this.colorPickerUIAdv1.Dock                 = System.Windows.Forms.DockStyle.Fill;
            this.colorPickerUIAdv1.Location             = new System.Drawing.Point(0, 0);
            this.colorPickerUIAdv1.MetroColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.colorPickerUIAdv1.MinimumSize          = new System.Drawing.Size(136, 163);
            this.colorPickerUIAdv1.Name                 = "colorPickerUIAdv1";
            this.colorPickerUIAdv1.SelectedColor        = System.Drawing.Color.Empty;
            this.colorPickerUIAdv1.Size                 = new System.Drawing.Size(220, 250);
            this.colorPickerUIAdv1.Style                = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro;
            this.colorPickerUIAdv1.TabIndex             = 10003;
            this.colorPickerUIAdv1.Text                 = "colorPickerUIAdv1";
            this.colorPickerUIAdv1.UseOffice2007Style   = false;
            this.colorPickerUIAdv1.VerticalItemsSpacing = 1;
            this.colorPickerUIAdv1.Picked              += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv1_Picked);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(566, 461);
            this.Controls.Add(this.editControl1);
            this.MinimumSize   = new System.Drawing.Size(552, 434);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Gradient Background";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.popupControlContainer2.ResumeLayout(false);
            this.popupControlContainer1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #2
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();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1            = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.colorDialog1            = new System.Windows.Forms.ColorDialog();
            this.toolTip1                = new System.Windows.Forms.ToolTip(this.components);
            this.menuStrip1              = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.newToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1     = new System.Windows.Forms.ToolStripSeparator();
            this.saveToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2     = new System.Windows.Forms.ToolStripSeparator();
            this.exitToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStrip1              = new System.Windows.Forms.ToolStrip();
            this.toolStripButton4        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton1        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton3        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton2        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton7        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton8        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator6     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton5        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton6        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator7     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton9        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton10       = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton12       = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton11       = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3     = new System.Windows.Forms.ToolStripSeparator();
            this.highlightItem           = new System.Windows.Forms.ToolStripButton();
            this.toolStripSplitButton1   = new System.Windows.Forms.ToolStripButton();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.menuStrip1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 59);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(651, 376);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 3;
            this.editControl1.Text               = "editControl1";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            this.editControl1.WordWrap           = true;
            //
            // menuStrip1
            //
            this.menuStrip1.BackColor = System.Drawing.Color.Transparent;
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.fileToolStripMenuItem
            });
            this.menuStrip1.Location = new System.Drawing.Point(10, 10);
            this.menuStrip1.Name     = "menuStrip1";
            this.menuStrip1.Size     = new System.Drawing.Size(651, 24);
            this.menuStrip1.TabIndex = 7;
            this.menuStrip1.Text     = "menuStrip1";
            //
            // fileToolStripMenuItem
            //
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.newToolStripMenuItem,
                this.openToolStripMenuItem,
                this.toolStripSeparator1,
                this.saveToolStripMenuItem,
                this.saveAsToolStripMenuItem,
                this.toolStripSeparator2,
                this.exitToolStripMenuItem
            });
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
            this.fileToolStripMenuItem.Text = "File";
            //
            // newToolStripMenuItem
            //
            this.newToolStripMenuItem.Name   = "newToolStripMenuItem";
            this.newToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.newToolStripMenuItem.Text   = "New";
            this.newToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // openToolStripMenuItem
            //
            this.openToolStripMenuItem.Name   = "openToolStripMenuItem";
            this.openToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.openToolStripMenuItem.Text   = "Open...";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(120, 6);
            //
            // saveToolStripMenuItem
            //
            this.saveToolStripMenuItem.Name   = "saveToolStripMenuItem";
            this.saveToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveToolStripMenuItem.Text   = "Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // saveAsToolStripMenuItem
            //
            this.saveAsToolStripMenuItem.Name   = "saveAsToolStripMenuItem";
            this.saveAsToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveAsToolStripMenuItem.Text   = "Save As...";
            this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(120, 6);
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.exitToolStripMenuItem.Text   = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStrip1
            //
            this.toolStrip1.BackColor = System.Drawing.Color.White;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripButton4,
                this.toolStripButton1,
                this.toolStripButton3,
                this.toolStripButton2,
                this.toolStripSeparator5,
                this.toolStripButton7,
                this.toolStripButton8,
                this.toolStripSeparator6,
                this.toolStripButton5,
                this.toolStripButton6,
                this.toolStripSeparator7,
                this.toolStripButton9,
                this.toolStripButton10,
                this.toolStripSeparator8,
                this.toolStripButton12,
                this.toolStripButton11,
                this.toolStripSeparator3,
                this.highlightItem,
                this.toolStripSplitButton1
            });
            this.toolStrip1.Location     = new System.Drawing.Point(10, 34);
            this.toolStrip1.Name         = "toolStrip1";
            this.toolStrip1.Size         = new System.Drawing.Size(651, 25);
            this.toolStrip1.TabIndex     = 8;
            this.toolStrip1.Text         = "toolStrip1";
            this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked);
            //
            // toolStripButton4
            //
            this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
            this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton4.Name = "toolStripButton4";
            this.toolStripButton4.Size = new System.Drawing.Size(75, 22);
            this.toolStripButton4.Tag  = "Move Up";
            this.toolStripButton4.Text = "Move Up";
            //
            // toolStripButton1
            //

            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton1.Tag  = "Move Down";
            this.toolStripButton1.Text = "Move Down";
            //
            // toolStripButton3
            //

            this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
            this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton3.Name = "toolStripButton3";
            this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton3.Tag  = "Move Left";
            this.toolStripButton3.Text = "Move Left";
            //
            // toolStripButton2
            //

            this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
            this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton2.Name = "toolStripButton2";
            this.toolStripButton2.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton2.Tag  = "Move Right";
            this.toolStripButton2.Text = "Move Right";
            //
            // toolStripSeparator5
            //
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton7
            //
            this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
            this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton7.Name = "toolStripButton7";
            this.toolStripButton7.Size = new System.Drawing.Size(71, 22);
            this.toolStripButton7.Tag  = "Page Up";
            this.toolStripButton7.Text = "Page Up";
            //
            // toolStripButton8
            //

            this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image")));
            this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton8.Name = "toolStripButton8";
            this.toolStripButton8.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton8.Tag  = "Page Down";
            this.toolStripButton8.Text = "Page Down";
            //
            // toolStripSeparator6
            //
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton5
            //
            this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
            this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton5.Name = "toolStripButton5";
            this.toolStripButton5.Size = new System.Drawing.Size(76, 22);
            this.toolStripButton5.Tag  = "Line Start";
            this.toolStripButton5.Text = "Line Start";
            //
            // toolStripButton6
            //

            this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
            this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton6.Name = "toolStripButton6";
            this.toolStripButton6.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton6.Tag  = "Line End";
            this.toolStripButton6.Text = "Line End";
            //
            // toolStripSeparator7
            //
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton9
            //
            this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image")));
            this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton9.Name = "toolStripButton9";
            this.toolStripButton9.Size = new System.Drawing.Size(102, 22);
            this.toolStripButton9.Tag  = "Left One word";
            this.toolStripButton9.Text = "Left One word";
            //
            // toolStripButton10
            //

            this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image")));
            this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton10.Name = "toolStripButton10";
            this.toolStripButton10.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton10.Tag  = "Right One word";
            this.toolStripButton10.Text = "Right One word";
            //
            // toolStripSeparator8
            //
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton12
            //
            this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
            this.toolStripButton12.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton12.Name = "toolStripButton12";
            this.toolStripButton12.Size = new System.Drawing.Size(98, 22);
            this.toolStripButton12.Tag  = "Move to Start";
            this.toolStripButton12.Text = "Move to Start";
            //
            // toolStripButton11
            //

            this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
            this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton11.Name = "toolStripButton11";
            this.toolStripButton11.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton11.Tag  = "Move to End";
            this.toolStripButton11.Text = "Move to End";
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
            //
            // highlightItem
            //
            this.highlightItem.Checked    = true;
            this.highlightItem.CheckState = System.Windows.Forms.CheckState.Checked;

            this.highlightItem.Image = ((System.Drawing.Image)(resources.GetObject("highlightItem.Image")));
            this.highlightItem.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.highlightItem.Name = "highlightItem";
            this.highlightItem.Size = new System.Drawing.Size(23, 20);
            this.highlightItem.Tag  = "Highlight current line";
            this.highlightItem.Text = "Highlight current line";
            //
            // toolStripSplitButton1
            //

            this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
            this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripSplitButton1.Name = "toolStripSplitButton1";
            this.toolStripSplitButton1.Size = new System.Drawing.Size(23, 20);
            this.toolStripSplitButton1.Tag  = "Change HighlightColor";
            this.toolStripSplitButton1.Text = "Change HighlightColor";
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
            this.ClientSize        = new System.Drawing.Size(671, 445);
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.menuStrip1);
            this.DropShadow       = true;
            this.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
            this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
            this.MetroColor       = System.Drawing.Color.White;
            this.MinimumSize      = new System.Drawing.Size(683, 482);
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "Text Navigation";
            this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Пример #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
     this.mainMenu1    = new System.Windows.Forms.MainMenu();
     this.menuItem1    = new System.Windows.Forms.MenuItem();
     this.menuItem2    = new System.Windows.Forms.MenuItem();
     this.menuItem3    = new System.Windows.Forms.MenuItem();
     this.menuItem4    = new System.Windows.Forms.MenuItem();
     this.menuItem5    = new System.Windows.Forms.MenuItem();
     this.menuItem6    = new System.Windows.Forms.MenuItem();
     this.menuItem7    = new System.Windows.Forms.MenuItem();
     this.menuItem8    = new System.Windows.Forms.MenuItem();
     this.menuItem9    = new System.Windows.Forms.MenuItem();
     this.menuItem10   = new System.Windows.Forms.MenuItem();
     this.menuItem11   = new System.Windows.Forms.MenuItem();
     this.menuItem13   = new System.Windows.Forms.MenuItem();
     this.menuItem14   = new System.Windows.Forms.MenuItem();
     this.menuItem15   = new System.Windows.Forms.MenuItem();
     this.menuItem16   = new System.Windows.Forms.MenuItem();
     this.menuItem12   = new System.Windows.Forms.MenuItem();
     this.menuItem17   = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
     this.SuspendLayout();
     //
     // editControl1
     //
     this.editControl1.AutoIndent         = true;
     this.editControl1.AutoScrollPosition = new System.Drawing.Point(0, 0);
     this.editControl1.BackColor          = System.Drawing.SystemColors.Window;
     this.editControl1.BorderStyle        = System.Windows.Forms.BorderStyle.Fixed3D;
     this.editControl1.CurrentColumn      = 1;
     this.editControl1.CurrentLine        = 1;
     this.editControl1.CurrentPosition    = new System.Drawing.Point(1, 1);
     this.editControl1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.editControl1.FileOpened = null;
     this.editControl1.GraphicsCompositingQuality = System.Drawing.Drawing2D.CompositingQuality.Default;
     this.editControl1.GraphicsInterpolationMode  = System.Drawing.Drawing2D.InterpolationMode.Default;
     this.editControl1.GraphicsSmoothingMode      = System.Drawing.Drawing2D.SmoothingMode.Default;
     this.editControl1.GraphicsTextRenderingHint  = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.editControl1.Name = "editControl1";
     this.editControl1.ScrollOffsetBottom = 0;
     this.editControl1.ScrollOffsetLeft   = 2;
     this.editControl1.ScrollOffsetRight  = 0;
     this.editControl1.ScrollOffsetTop    = 0;
     this.editControl1.ShowCollapse       = false;
     this.editControl1.ShowLineNumbers    = false;
     this.editControl1.ShowMarkers        = false;
     this.editControl1.ShowWhitespaces    = false;
     this.editControl1.Size        = new System.Drawing.Size(542, 445);
     this.editControl1.TabIndex    = 0;
     this.editControl1.TabSize     = 2;
     this.editControl1.Text        = "";
     this.editControl1.VirtualSize = new System.Drawing.Size(101, 17);
     this.editControl1.WordWrap    = true;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem9
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3,
         this.menuItem4,
         this.menuItem5,
         this.menuItem6,
         this.menuItem7,
         this.menuItem8
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 0;
     this.menuItem2.Text   = "New";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 1;
     this.menuItem3.Text   = "Open";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.Text  = "-";
     //
     // menuItem5
     //
     this.menuItem5.Index  = 3;
     this.menuItem5.Text   = "Save";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 4;
     this.menuItem6.Text   = "SaveAs";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 5;
     this.menuItem7.Text  = "-";
     //
     // menuItem8
     //
     this.menuItem8.Index  = 6;
     this.menuItem8.Text   = "Exit";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index = 1;
     this.menuItem9.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem10,
         this.menuItem14,
         this.menuItem12,
         this.menuItem11,
         this.menuItem13,
         this.menuItem15,
         this.menuItem17,
         this.menuItem16
     });
     this.menuItem9.Text = "Print Menu";
     //
     // menuItem10
     //
     this.menuItem10.Index  = 0;
     this.menuItem10.Text   = "Show Print Dialog";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // menuItem11
     //
     this.menuItem11.Index  = 3;
     this.menuItem11.Text   = "Print Current Page";
     this.menuItem11.Click += new System.EventHandler(this.menuItem11_Click);
     //
     // menuItem13
     //
     this.menuItem13.Index  = 4;
     this.menuItem13.Text   = "Print Directly";
     this.menuItem13.Click += new System.EventHandler(this.menuItem13_Click);
     //
     // menuItem14
     //
     this.menuItem14.Index  = 1;
     this.menuItem14.Text   = "Print Preview";
     this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click);
     //
     // menuItem15
     //
     this.menuItem15.Index  = 5;
     this.menuItem15.Text   = "Print Selected Text";
     this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click);
     //
     // menuItem16
     //
     this.menuItem16.Index  = 7;
     this.menuItem16.Text   = "Print To Document";
     this.menuItem16.Click += new System.EventHandler(this.menuItem16_Click);
     //
     // menuItem12
     //
     this.menuItem12.Index = 2;
     this.menuItem12.Text  = "-";
     //
     // menuItem17
     //
     this.menuItem17.Index = 6;
     this.menuItem17.Text  = "-";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(542, 445);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.editControl1
     });
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu     = this.mainMenu1;
     this.Name     = "Form1";
     this.Text     = "Printing Demo";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #4
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowSelectionMargin      = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(518, 394);
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "editControl1";
            this.editControl1.TransferFocusOnTab       = true;
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem7,
                this.barItem8
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem7,
                this.barItem8
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "JumpToStart";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "JumpToStart";
            this.barItem7.Click             += new System.EventHandler(this.menuItem9_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 0;
            this.barItem8.ID                 = "JumpToEnd";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "JumpToEnd";
            this.barItem8.Click             += new System.EventHandler(this.menuItem10_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(538, 443);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(550, 480);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Indentation Guidelines";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #5
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem13      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem14      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 42);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollVisualStyle        = ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowLineNumbers          = false;
            this.editControl1.ShowOutliningCollapsers  = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(518, 413);
            this.editControl1.StatusBarSettings.CoordsPanel.Visible   = false;
            this.editControl1.StatusBarSettings.EncodingPanel.Visible = false;

            this.editControl1.StatusBarSettings.InsertPanel.Visible = false;

            this.editControl1.StatusBarSettings.StatusPanel.Visible = false;
            this.editControl1.StatusBarSettings.TextPanel.AutoSize  = false;

            this.editControl1.StatusBarSettings.Visible = true;
            this.editControl1.TabIndex         = 0;
            this.editControl1.Text             = "";
            this.editControl1.UseXPStyleBorder = true;
            this.editControl1.VisualColumn     = 1;
            this.editControl1.WordWrap         = true;

            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("fiel");
            this.mainFrameBarManager1.Categories.Add("language");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14,
                this.parentBarItem2
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "Languages Menu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Languages Menu";
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Chinese";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Chinese";
            this.barItem8.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Greek";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Greek";
            this.barItem9.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Arabic";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Arabic";
            this.barItem10.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Russian";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Russian";
            this.barItem11.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 1;
            this.barItem12.ID                 = "Hindi";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "Hindi";
            this.barItem12.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem13
            //
            this.barItem13.BarName            = "barItem13";
            this.barItem13.CategoryIndex      = 1;
            this.barItem13.ID                 = "Japanese";
            this.barItem13.ShowToolTipInPopUp = false;
            this.barItem13.SizeToFit          = true;
            this.barItem13.Text               = "Japanese";
            this.barItem13.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CategoryIndex      = 1;
            this.barItem14.ID                 = "Hebrew";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "Hebrew";
            this.barItem14.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(538, 464);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(550, 501);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Unicode Demo";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
     this.mainMenu1    = new System.Windows.Forms.MainMenu();
     this.menuItem1    = new System.Windows.Forms.MenuItem();
     this.menuItem2    = new System.Windows.Forms.MenuItem();
     this.menuItem3    = new System.Windows.Forms.MenuItem();
     this.menuItem4    = new System.Windows.Forms.MenuItem();
     this.menuItem5    = new System.Windows.Forms.MenuItem();
     this.menuItem6    = new System.Windows.Forms.MenuItem();
     this.menuItem7    = new System.Windows.Forms.MenuItem();
     this.menuItem8    = new System.Windows.Forms.MenuItem();
     this.menuItem9    = new System.Windows.Forms.MenuItem();
     this.menuItem10   = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
     this.SuspendLayout();
     //
     // editControl1
     //
     this.editControl1.AutoIndent                     = true;
     this.editControl1.BackColor                      = System.Drawing.SystemColors.Window;
     this.editControl1.BackgroundColor                = new Syncfusion.Drawing.BrushInfo();
     this.editControl1.BorderStyle                    = System.Windows.Forms.BorderStyle.Fixed3D;
     this.editControl1.CurrentColumn                  = 1;
     this.editControl1.CurrentLine                    = 1;
     this.editControl1.CurrentPosition                = new System.Drawing.Point(1, 1);
     this.editControl1.Dock                           = System.Windows.Forms.DockStyle.Fill;
     this.editControl1.FileOpened                     = null;
     this.editControl1.GraphicsCompositingQuality     = System.Drawing.Drawing2D.CompositingQuality.Default;
     this.editControl1.GraphicsInterpolationMode      = System.Drawing.Drawing2D.InterpolationMode.Default;
     this.editControl1.GraphicsSmoothingMode          = System.Drawing.Drawing2D.SmoothingMode.Default;
     this.editControl1.GraphicsTextRenderingHint      = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.editControl1.IndentBlockHighlightingColor   = System.Drawing.Color.LightBlue;
     this.editControl1.IndentLineColor                = System.Drawing.Color.Gray;
     this.editControl1.Name                           = "editControl1";
     this.editControl1.SelectionMarginBackgroundColor = System.Drawing.Color.Empty;
     this.editControl1.SelectionMarginForegroundColor = System.Drawing.Color.Red;
     this.editControl1.ShowCollapse                   = true;
     this.editControl1.ShowHorizontalSplitters        = true;
     this.editControl1.ShowIndentationGuidelines      = true;
     this.editControl1.ShowLineNumbers                = true;
     this.editControl1.ShowMarkers                    = false;
     this.editControl1.ShowSelectionMargin            = false;
     this.editControl1.ShowVerticalSplitters          = true;
     this.editControl1.ShowWhitespaces                = false;
     this.editControl1.Size                           = new System.Drawing.Size(542, 445);
     this.editControl1.TabIndex                       = 0;
     this.editControl1.TabSize                        = 2;
     this.editControl1.Text                           = "editControl1";
     this.editControl1.TransferFocusOnTab             = true;
     this.editControl1.UserMarginRightWidth           = 100;
     this.editControl1.WordWrap                       = true;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem9,
         this.menuItem10
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3,
         this.menuItem4,
         this.menuItem5,
         this.menuItem6,
         this.menuItem7,
         this.menuItem8
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 0;
     this.menuItem2.Text   = "New";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 1;
     this.menuItem3.Text   = "Open";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.Text  = "-";
     //
     // menuItem5
     //
     this.menuItem5.Index  = 3;
     this.menuItem5.Text   = "Save";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 4;
     this.menuItem6.Text   = "SaveAs";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 5;
     this.menuItem7.Text  = "-";
     //
     // menuItem8
     //
     this.menuItem8.Index  = 6;
     this.menuItem8.Text   = "Exit";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index  = 1;
     this.menuItem9.Text   = "JumpToStart";
     this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
     //
     // menuItem10
     //
     this.menuItem10.Index  = 2;
     this.menuItem10.Text   = "JumpToEnd";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(542, 445);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.editControl1
     });
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu     = this.mainMenu1;
     this.Name     = "Form1";
     this.Text     = "Indentation Guidelines Demo";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #7
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this.editControl1.BackColor                 = System.Drawing.Color.Beige;
            this.editControl1.BorderStyle               = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator              = config1;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                = new System.Drawing.Point(22, 103);
            this.editControl1.Name                    = "editControl1";
            this.editControl1.RenderRightToLeft       = false;
            this.editControl1.SaveOnClose             = false;
            this.editControl1.ScrollPosition          = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SharedFileMode          = true;
            this.editControl1.ShowHorizontalSplitters = false;
            this.editControl1.ShowIndicatorMargin     = false;
            this.editControl1.ShowLineNumbers         = false;
            this.editControl1.ShowOutliningCollapsers = false;
            this.editControl1.ShowSelectionMargin     = false;
            this.editControl1.ShowVerticalSplitters   = false;
            this.editControl1.Size                    = new System.Drawing.Size(536, 182);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 5;
            this.editControl1.Text               = "editControl1";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 13;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem7
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem7
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.barItem5_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.barItem6_Click);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "&Tooggle Single LineMode";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "&Tooggle Single Line Mode";
            this.barItem7.Click             += new System.EventHandler(this.barItem7_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.BackColor         = System.Drawing.Color.White;
            this.ClientSize        = new System.Drawing.Size(580, 450);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(592, 341);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Single Line Mode ";
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #8
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();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            //
            // editControl1
            //
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.ColumnGuidesMeasuringFont = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Configurator              = config1;
            this.editControl1.Dock                      = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.FilterAutoCompleteItems   = false;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                  = new System.Drawing.Point(10, 39);
            this.editControl1.Name                      = "editControl1";
            this.editControl1.RenderRightToLeft         = false;
            this.editControl1.SaveOnClose               = false;
            this.editControl1.ScrollPosition            = new System.Drawing.Point(0, 0);
            this.editControl1.ShowIndicatorMargin       = false;
            this.editControl1.ShowSelectionMargin       = false;
            this.editControl1.Size                      = new System.Drawing.Size(524, 408);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "editControl1";
            this.editControl1.TransferFocusOnTab       = true;
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            this.editControl1.ContextChoiceBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen);
            this.editControl1.ContextChoiceOpen       += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen);
            this.editControl1.ContextPromptBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen);
            this.editControl1.ContextPromptOpen       += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen);
            this.editControl1.ContextPromptUpdate     += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptUpdate);
            this.editControl1.UpdateContextToolTip    += new Syncfusion.Windows.Forms.Edit.UpdateTooltipEventHandler(this.editControl1_UpdateContextToolTip);
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(544, 457);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(556, 494);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Advanced Intellisense";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #9
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowLineNumbers          = false;
            this.editControl1.Size                     = new System.Drawing.Size(522, 396);
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "";
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("print");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.parentBarItem2,
                this.barItem6,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.menuItem6_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Exit";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Exit";
            this.barItem5.Click             += new System.EventHandler(this.menuItem8_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "Print Menu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem6,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Print Options";
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 1;
            this.barItem6.ID                 = "Show Print Dialog";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Show Print Dialog";
            this.barItem6.Click             += new System.EventHandler(this.menuItem10_Click);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Print Preview";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Print Preview";
            this.barItem7.Click             += new System.EventHandler(this.menuItem14_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Print Current Page";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Print Current Page";
            this.barItem8.Click             += new System.EventHandler(this.menuItem11_Click);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Print Directly";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Print Directly";
            this.barItem9.Click             += new System.EventHandler(this.menuItem13_Click);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Print Selected Text";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Print Selected Text";
            this.barItem10.Click             += new System.EventHandler(this.menuItem15_Click);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Print To Document";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Print To Document";
            this.barItem11.Click             += new System.EventHandler(this.menuItem16_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(542, 445);
            this.Controls.Add(this.editControl1);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Print Demo";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Closing      += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #10
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.TreeNode treeNode1  = new System.Windows.Forms.TreeNode("CSharp");
            System.Windows.Forms.TreeNode treeNode2  = new System.Windows.Forms.TreeNode("VB.NET");
            System.Windows.Forms.TreeNode treeNode3  = new System.Windows.Forms.TreeNode("HTML");
            System.Windows.Forms.TreeNode treeNode4  = new System.Windows.Forms.TreeNode("XML");
            System.Windows.Forms.TreeNode treeNode5  = new System.Windows.Forms.TreeNode("Pascal");
            System.Windows.Forms.TreeNode treeNode6  = new System.Windows.Forms.TreeNode("SQL");
            System.Windows.Forms.TreeNode treeNode7  = new System.Windows.Forms.TreeNode("Java");
            System.Windows.Forms.TreeNode treeNode8  = new System.Windows.Forms.TreeNode("VBScript");
            System.Windows.Forms.TreeNode treeNode9  = new System.Windows.Forms.TreeNode("JScript");
            System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("Default");
            System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Prebuilt Configurations", new System.Windows.Forms.TreeNode[] {
                treeNode1,
                treeNode2,
                treeNode3,
                treeNode4,
                treeNode5,
                treeNode6,
                treeNode7,
                treeNode8,
                treeNode9,
                treeNode10
            });
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
            this.treeView1    = new System.Windows.Forms.TreeView();
            this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.SuspendLayout();
            //
            // treeView1
            //
            this.treeView1.Dock       = System.Windows.Forms.DockStyle.Left;
            this.treeView1.Font       = new System.Drawing.Font("Segoe UI", 8.25F);
            this.treeView1.ItemHeight = 20;
            this.treeView1.Location   = new System.Drawing.Point(0, 0);
            this.treeView1.Name       = "treeView1";
            treeNode1.Name            = "";
            treeNode1.Text            = "CSharp";
            treeNode2.Name            = "";
            treeNode2.Text            = "VB.NET";
            treeNode3.Name            = "";
            treeNode3.Text            = "HTML";
            treeNode4.Name            = "";
            treeNode4.Text            = "XML";
            treeNode5.Name            = "";
            treeNode5.Text            = "Pascal";
            treeNode6.Name            = "";
            treeNode6.Text            = "SQL";
            treeNode7.Name            = "";
            treeNode7.Text            = "Java";
            treeNode8.Name            = "";
            treeNode8.Text            = "VBScript";
            treeNode9.Name            = "";
            treeNode9.Text            = "JScript";
            treeNode10.Name           = "";
            treeNode10.Text           = "Default";
            treeNode11.Name           = "";
            treeNode11.Text           = "Prebuilt Configurations";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
                treeNode11
            });
            this.treeView1.Size         = new System.Drawing.Size(176, 430);
            this.treeView1.TabIndex     = 0;
            this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
            //
            // editControl1
            //
            this.editControl1.BorderStyle               = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator              = config1;
            this.editControl1.Dock                      = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                  = new System.Drawing.Point(176, 0);
            this.editControl1.Name                      = "editControl1";
            this.editControl1.RenderRightToLeft         = false;
            this.editControl1.ScrollPosition            = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle         = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SharedFileMode            = true;
            this.editControl1.ShowHorizontalSplitters   = false;
            this.editControl1.ShowIndicatorMargin       = false;
            this.editControl1.ShowSelectionMargin       = false;
            this.editControl1.ShowVerticalSplitters     = false;
            this.editControl1.Size                      = new System.Drawing.Size(528, 430);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 1;
            this.editControl1.Text               = "";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            //
            // Form2
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(704, 430);
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.treeView1);
            this.Font        = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximumSize = new System.Drawing.Size(716, 467);
            this.Name        = "Form2";
            this.Text        = "Configuration Settings Display";
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.editControl1           = new Syncfusion.Windows.Forms.Edit.EditControl();
     this.mainMenu1              = new System.Windows.Forms.MainMenu();
     this.menuItem1              = new System.Windows.Forms.MenuItem();
     this.menuItem2              = new System.Windows.Forms.MenuItem();
     this.menuItem3              = new System.Windows.Forms.MenuItem();
     this.menuItem4              = new System.Windows.Forms.MenuItem();
     this.menuItem5              = new System.Windows.Forms.MenuItem();
     this.menuItem6              = new System.Windows.Forms.MenuItem();
     this.menuItem7              = new System.Windows.Forms.MenuItem();
     this.menuItem8              = new System.Windows.Forms.MenuItem();
     this.menuItem9              = new System.Windows.Forms.MenuItem();
     this.menuItem10             = new System.Windows.Forms.MenuItem();
     this.menuItem20             = new System.Windows.Forms.MenuItem();
     this.menuItem21             = new System.Windows.Forms.MenuItem();
     this.menuItem22             = new System.Windows.Forms.MenuItem();
     this.menuItem25             = new System.Windows.Forms.MenuItem();
     this.menuItem11             = new System.Windows.Forms.MenuItem();
     this.menuItem17             = new System.Windows.Forms.MenuItem();
     this.menuItem18             = new System.Windows.Forms.MenuItem();
     this.menuItem19             = new System.Windows.Forms.MenuItem();
     this.menuItem24             = new System.Windows.Forms.MenuItem();
     this.menuItem12             = new System.Windows.Forms.MenuItem();
     this.menuItem23             = new System.Windows.Forms.MenuItem();
     this.menuItem13             = new System.Windows.Forms.MenuItem();
     this.menuItem14             = new System.Windows.Forms.MenuItem();
     this.menuItem15             = new System.Windows.Forms.MenuItem();
     this.menuItem16             = new System.Windows.Forms.MenuItem();
     this.menuItem26             = new System.Windows.Forms.MenuItem();
     this.ChangedLineMarkingMenu = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
     this.SuspendLayout();
     //
     // editControl1
     //
     this.editControl1.AutoIndentMode = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
     this.editControl1.BackColor      = System.Drawing.SystemColors.Window;
     this.editControl1.BorderStyle    = System.Windows.Forms.BorderStyle.Fixed3D;
     this.editControl1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.editControl1.DropAllFiles   = false;
     this.editControl1.FileExtensions = new string[] {
         ".cs",
         ".htm",
         ".html",
         ".java",
         ".js",
         ".pas",
         ".sql",
         ".vb",
         ".vbs",
         ".xml"
     };
     this.editControl1.Name                = "editControl1";
     this.editControl1.PseudoFileName      = "";
     this.editControl1.ShowIndicatorMargin = false;
     this.editControl1.Size                = new System.Drawing.Size(542, 445);
     this.editControl1.StatusBarSettings.StatusPanel.MinWidth = 70;
     this.editControl1.StatusBarSettings.TextPanel.AutoSize   = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.editControl1.TabIndex           = 0;
     this.editControl1.Text               = "editControl1";
     this.editControl1.TransferFocusOnTab = true;
     this.editControl1.WordWrap           = true;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem9,
         this.ChangedLineMarkingMenu
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3,
         this.menuItem4,
         this.menuItem5,
         this.menuItem6,
         this.menuItem7,
         this.menuItem8
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 0;
     this.menuItem2.Text   = "New";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 1;
     this.menuItem3.Text   = "Open";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.Text  = "-";
     //
     // menuItem5
     //
     this.menuItem5.Index  = 3;
     this.menuItem5.Text   = "Save";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 4;
     this.menuItem6.Text   = "SaveAs";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 5;
     this.menuItem7.Text  = "-";
     //
     // menuItem8
     //
     this.menuItem8.Index  = 6;
     this.menuItem8.Text   = "Exit";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index = 1;
     this.menuItem9.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem10,
         this.menuItem11,
         this.menuItem12
     });
     this.menuItem9.Text = "SelectionMarginMenu";
     //
     // menuItem10
     //
     this.menuItem10.Index = 0;
     this.menuItem10.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem20,
         this.menuItem21,
         this.menuItem22,
         this.menuItem25
     });
     this.menuItem10.Text = "BackgroundColor";
     //
     // menuItem20
     //
     this.menuItem20.Index  = 0;
     this.menuItem20.Text   = "LightBlue";
     this.menuItem20.Click += new System.EventHandler(this.BackgroundColor_menuItem_Click);
     //
     // menuItem21
     //
     this.menuItem21.Index  = 1;
     this.menuItem21.Text   = "IndianRed";
     this.menuItem21.Click += new System.EventHandler(this.BackgroundColor_menuItem_Click);
     //
     // menuItem22
     //
     this.menuItem22.Index  = 2;
     this.menuItem22.Text   = "Beige";
     this.menuItem22.Click += new System.EventHandler(this.BackgroundColor_menuItem_Click);
     //
     // menuItem25
     //
     this.menuItem25.Index  = 3;
     this.menuItem25.Text   = "None";
     this.menuItem25.Click += new System.EventHandler(this.BackgroundColor_menuItem_Click);
     //
     // menuItem11
     //
     this.menuItem11.Index = 1;
     this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem17,
         this.menuItem18,
         this.menuItem19,
         this.menuItem24
     });
     this.menuItem11.Text = "ForegroundColor";
     //
     // menuItem17
     //
     this.menuItem17.Index  = 0;
     this.menuItem17.Text   = "Gray";
     this.menuItem17.Click += new System.EventHandler(this.ForegroundColor_menuItem_Click);
     //
     // menuItem18
     //
     this.menuItem18.Index  = 1;
     this.menuItem18.Text   = "Maroon";
     this.menuItem18.Click += new System.EventHandler(this.ForegroundColor_menuItem_Click);
     //
     // menuItem19
     //
     this.menuItem19.Index  = 2;
     this.menuItem19.Text   = "Navy";
     this.menuItem19.Click += new System.EventHandler(this.ForegroundColor_menuItem_Click);
     //
     // menuItem24
     //
     this.menuItem24.Index  = 3;
     this.menuItem24.Text   = "None";
     this.menuItem24.Click += new System.EventHandler(this.ForegroundColor_menuItem_Click);
     //
     // menuItem12
     //
     this.menuItem12.Index = 2;
     this.menuItem12.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem23,
         this.menuItem13,
         this.menuItem14,
         this.menuItem15,
         this.menuItem16,
         this.menuItem26
     });
     this.menuItem12.Text = "Width";
     //
     // menuItem23
     //
     this.menuItem23.Index  = 0;
     this.menuItem23.Text   = "25";
     this.menuItem23.Click += new System.EventHandler(this.Width_menuItem_Click);
     //
     // menuItem13
     //
     this.menuItem13.Index  = 1;
     this.menuItem13.Text   = "50";
     this.menuItem13.Click += new System.EventHandler(this.Width_menuItem_Click);
     //
     // menuItem14
     //
     this.menuItem14.Index  = 2;
     this.menuItem14.Text   = "75";
     this.menuItem14.Click += new System.EventHandler(this.Width_menuItem_Click);
     //
     // menuItem15
     //
     this.menuItem15.Index  = 3;
     this.menuItem15.Text   = "100";
     this.menuItem15.Click += new System.EventHandler(this.Width_menuItem_Click);
     //
     // menuItem16
     //
     this.menuItem16.Index  = 4;
     this.menuItem16.Text   = "125";
     this.menuItem16.Click += new System.EventHandler(this.Width_menuItem_Click);
     //
     // menuItem26
     //
     this.menuItem26.Index  = 5;
     this.menuItem26.Text   = "Default";
     this.menuItem26.Click += new System.EventHandler(this.Width_menuItem_Click);
     //
     // ChangedLineMarkingMenu
     //
     this.ChangedLineMarkingMenu.Index  = 2;
     this.ChangedLineMarkingMenu.Text   = "ToggleChangedLineMarking";
     this.ChangedLineMarkingMenu.Click += new System.EventHandler(this.ChangedLineMarkingMenu_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(542, 445);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.editControl1
     });
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu     = this.mainMenu1;
     this.Name     = "Form1";
     this.Text     = "Selection Margin Demo";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #12
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BorderStyle            = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize         = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator           = config1;
            this.editControl1.ContextChoiceForeColor = System.Drawing.SystemColors.InfoText;
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location          = new System.Drawing.Point(10, 42);
            this.editControl1.Name              = "editControl1";
            this.editControl1.RenderRightToLeft = false;
            this.editControl1.ScrollPosition    = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.Size              = new System.Drawing.Size(522, 394);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 80;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
            this.editControl1.TabIndex         = 0;
            this.editControl1.Text             = "editControl1\n";
            this.editControl1.UseXPStyleBorder = true;
            this.editControl1.VisualColumn     = 1;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Splitter");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text       = "&File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "&SplittersMenu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text       = "&Splitter Options";
            this.parentBarItem2.WrapLength = 20;
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Show Vertical splitters";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Show Vertical Splitters";
            this.barItem7.Checked            = true;
            this.barItem7.Click             += new System.EventHandler(this.SplittersMenuClick);

            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Show Horizontal Splitters";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Show Horizontal Splitters";
            this.barItem8.Checked            = true;
            this.barItem8.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Split into horizontal halves";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Split Horizontally";
            this.barItem7.Checked            = true;
            this.barItem9.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Split into Vertical halves";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Split Vertically";
            this.barItem10.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Split Quadrantly";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Split Quadrantly";
            this.barItem11.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize        = new System.Drawing.Size(5, 15);
            this.BorderColor              = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.ClientSize               = new System.Drawing.Size(542, 446);
            this.CaptionAlign             = System.Windows.Forms.HorizontalAlignment.Left;
            this.CaptionFont              = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.CaptionForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.CaptionVerticalAlignment = Syncfusion.Windows.Forms.VerticalAlignment.Bottom;
            this.Controls.Add(this.editControl1);
            this.DropShadow    = true;
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MetroColor    = System.Drawing.Color.White;
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Split Views";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }