コード例 #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.Diagram.Binding       binding1  = new Syncfusion.Windows.Forms.Diagram.Binding();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.diagram1        = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
            this.model1          = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
            this.propertyEditor1 = new Syncfusion.Windows.Forms.Diagram.Controls.PropertyEditor(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
            this.SuspendLayout();
            //
            // diagram1
            //
            binding1.DefaultConnector = null;
            binding1.DefaultNode      = null;
            binding1.Diagram          = this.diagram1;
            binding1.Id = null;
#if !NETCORE
            binding1.Label = ((System.Collections.Generic.List <string>)(resources.GetObject("binding1.Label")));
#endif
            binding1.ParentId     = null;
            this.diagram1.Binding = binding1;
            this.diagram1.Controller.PasteOffset = new System.Drawing.SizeF(10F, 10F);
            this.diagram1.Dock                = System.Windows.Forms.DockStyle.Fill;
            this.diagram1.Font                = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.diagram1.HScroll             = true;
            this.diagram1.LayoutManager       = null;
            this.diagram1.Location            = new System.Drawing.Point(0, 0);
            this.diagram1.Margin              = new System.Windows.Forms.Padding(2);
            this.diagram1.Model               = this.model1;
            this.diagram1.Name                = "diagram1";
            this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds")));
            this.diagram1.Size                = new System.Drawing.Size(832, 544);
            this.diagram1.SmartSizeBox        = false;
            this.diagram1.TabIndex            = 2;
            this.diagram1.Text                = "diagram1";
            //
            //
            //
            this.diagram1.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.diagram1.View.Controller           = this.diagram1.Controller;
            this.diagram1.View.Grid.MinPixelSpacing = 4F;
            this.diagram1.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
            this.diagram1.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
            this.diagram1.VScroll = true;
            //
            // model1
            //
            this.model1.AlignmentType = AlignmentType.SelectedNode;
            this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter;
            this.model1.DocumentScale.DisplayName      = "No Scale";
            this.model1.DocumentScale.Height           = 1F;
            this.model1.DocumentScale.Width            = 1F;
            this.model1.DocumentSize.Height            = 1169F;
            this.model1.DocumentSize.Width             = 827F;
            this.model1.LineStyle.DashPattern          = null;
            this.model1.LineStyle.LineColor            = System.Drawing.Color.Black;
            this.model1.LogicalSize           = new System.Drawing.SizeF(827F, 1169F);
            this.model1.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
            this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
            //
            // propertyEditor1
            //
            this.propertyEditor1.Diagram  = this.diagram1;
            this.propertyEditor1.Dock     = System.Windows.Forms.DockStyle.Right;
            this.propertyEditor1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.propertyEditor1.Location = new System.Drawing.Point(832, 0);
            this.propertyEditor1.Margin   = new System.Windows.Forms.Padding(2);
            this.propertyEditor1.Name     = "propertyEditor1";
            this.propertyEditor1.Size     = new System.Drawing.Size(295, 544);
            this.propertyEditor1.TabIndex = 1;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1127, 544);
            this.Controls.Add(this.diagram1);
            this.Controls.Add(this.propertyEditor1);
            this.Margin = new System.Windows.Forms.Padding(2);
            this.Name   = "Form1";
            this.Text   = "Datasource Binding";
            this.Load  += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
            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.Diagram.Binding            binding1              = new Syncfusion.Windows.Forms.Diagram.Binding();
     System.ComponentModel.ComponentResourceManager      resources             = new System.ComponentModel.ComponentResourceManager(typeof(Main));
     Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
     this.diagram1                  = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
     this.model1                    = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
     this.xpToolBar1                = new Syncfusion.Windows.Forms.Tools.XPMenus.XPToolBar();
     this.parentBarItemFile         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItemNew                = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem1            = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.parentBarItem2            = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.parentBarItem3            = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.statusStrip1              = new System.Windows.Forms.StatusStrip();
     this.splitContainerAdv1        = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
     this.treeViewAdv1              = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
     this.splitContainerAdv2        = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
     this.splitContainerAdvTextArea = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
     this.richTextBoxName           = new System.Windows.Forms.RichTextBox();
     this.panelCategoryBtn          = new System.Windows.Forms.Panel();
     this.flowLayoutPanelCategory   = new System.Windows.Forms.FlowLayoutPanel();
     this.sfButtonAdd               = new Syncfusion.WinForms.Controls.SfButton();
     this.panel3                    = new System.Windows.Forms.Panel();
     this.panelCurrentColor         = new System.Windows.Forms.Panel();
     this.labelCurrentColor         = new System.Windows.Forms.Label();
     this.panel4                    = new System.Windows.Forms.Panel();
     this.sfButton1                 = new Syncfusion.WinForms.Controls.SfButton();
     this.panel1                    = new System.Windows.Forms.Panel();
     this.panel2                    = new System.Windows.Forms.Panel();
     this.autoLabelFilePath         = new Syncfusion.Windows.Forms.Tools.AutoLabel();
     this.labelFilePath             = new System.Windows.Forms.Label();
     this.panel6                    = new System.Windows.Forms.Panel();
     this.autoLabelFont             = new Syncfusion.Windows.Forms.Tools.AutoLabel();
     this.fontComboBox              = new Syncfusion.Windows.Forms.Tools.FontComboBox();
     this.tabControlAdv1            = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdvStory           = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.splitContainerAdv3        = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
     this.overviewControl1          = new Syncfusion.Windows.Forms.Diagram.Controls.OverviewControl(this.components);
     this.tabPageAdvTimeline        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.tabPageAdvIssue           = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.flowLayout1               = new Syncfusion.Windows.Forms.Tools.FlowLayout(this.components);
     this.documentExplorer1         = new Syncfusion.Windows.Forms.Diagram.Controls.DocumentExplorer();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit();
     this.splitContainerAdv1.Panel1.SuspendLayout();
     this.splitContainerAdv1.Panel2.SuspendLayout();
     this.splitContainerAdv1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv2)).BeginInit();
     this.splitContainerAdv2.Panel1.SuspendLayout();
     this.splitContainerAdv2.Panel2.SuspendLayout();
     this.splitContainerAdv2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdvTextArea)).BeginInit();
     this.splitContainerAdvTextArea.Panel1.SuspendLayout();
     this.splitContainerAdvTextArea.Panel2.SuspendLayout();
     this.splitContainerAdvTextArea.SuspendLayout();
     this.panelCategoryBtn.SuspendLayout();
     this.flowLayoutPanelCategory.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panelCurrentColor.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
     this.tabControlAdv1.SuspendLayout();
     this.tabPageAdvStory.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv3)).BeginInit();
     this.splitContainerAdv3.Panel1.SuspendLayout();
     this.splitContainerAdv3.Panel2.SuspendLayout();
     this.splitContainerAdv3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.flowLayout1)).BeginInit();
     this.SuspendLayout();
     //
     // diagram1
     //
     this.diagram1.BackColor   = System.Drawing.Color.DarkGray;
     binding1.DefaultConnector = null;
     binding1.DefaultNode      = null;
     binding1.Diagram          = this.diagram1;
     binding1.Id                                   = null;
     binding1.Label                                = ((System.Collections.Generic.List <string>)(resources.GetObject("binding1.Label")));
     binding1.ParentId                             = null;
     this.diagram1.Binding                         = binding1;
     this.diagram1.BorderStyle                     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.diagram1.Controller.Constraint           = Syncfusion.Windows.Forms.Diagram.Constraints.PageEditable;
     this.diagram1.Controller.DefaultConnectorTool = Syncfusion.Windows.Forms.Diagram.ConnectorTool.OrgLineConnectorTool;
     this.diagram1.Controller.PasteOffset          = new System.Drawing.SizeF(10F, 10F);
     this.diagram1.Dock                            = System.Windows.Forms.DockStyle.Fill;
     this.diagram1.EnableTouchMode                 = false;
     this.diagram1.LayoutManager                   = null;
     this.diagram1.Location                        = new System.Drawing.Point(0, 0);
     this.diagram1.Model                           = this.model1;
     this.diagram1.Name                            = "diagram1";
     this.diagram1.ScrollVirtualBounds             = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds")));
     this.diagram1.Size                            = new System.Drawing.Size(635, 420);
     this.diagram1.SmartSizeBox                    = false;
     this.diagram1.TabIndex                        = 0;
     this.diagram1.Text                            = "diagram1";
     //
     //
     //
     this.diagram1.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.diagram1.View.Controller           = this.diagram1.Controller;
     this.diagram1.View.Grid.MinPixelSpacing = 4F;
     this.diagram1.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
     this.diagram1.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
     //
     // model1
     //
     this.model1.AlignmentType = Syncfusion.Windows.Forms.Diagram.AlignmentType.SelectedNode;
     this.model1.BackgroundStyle.HatchBrushStyle = System.Drawing.Drawing2D.HatchStyle.BackwardDiagonal;
     this.model1.BackgroundStyle.PathBrushStyle  = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.CircleLeftTop;
     this.model1.BackgroundStyle.TextureWrapMode = System.Drawing.Drawing2D.WrapMode.TileFlipX;
     this.model1.DocumentScale.DisplayName       = "No Scale";
     this.model1.DocumentScale.Height            = 1F;
     this.model1.DocumentScale.Width             = 1F;
     this.model1.DocumentSize.DisplayName        = "SameAsPrinter";
     this.model1.DocumentSize.Height             = 1169F;
     this.model1.DocumentSize.Width    = 827F;
     this.model1.LineStyle.DashPattern = null;
     this.model1.LineStyle.LineColor   = System.Drawing.Color.Black;
     this.model1.LogicalSize           = new System.Drawing.SizeF(827F, 1169F);
     this.model1.Padding               = new System.Windows.Forms.Padding(0, 0, 0, 0);
     this.model1.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     //
     // xpToolBar1
     //
     this.xpToolBar1.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.xpToolBar1.Bar.BarName = "";
     this.xpToolBar1.Bar.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItemFile,
         this.parentBarItem1,
         this.parentBarItem2,
         this.parentBarItem3
     });
     this.xpToolBar1.Bar.Manager = null;
     this.xpToolBar1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.xpToolBar1.Location    = new System.Drawing.Point(2, 2);
     this.xpToolBar1.MetroColor  = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.xpToolBar1.Name        = "xpToolBar1";
     this.xpToolBar1.Size        = new System.Drawing.Size(1430, 25);
     this.xpToolBar1.TabIndex    = 0;
     this.xpToolBar1.Text        = "xpToolBar1";
     //
     // parentBarItemFile
     //
     this.parentBarItemFile.BarName = "parentBarItemFile";
     this.parentBarItemFile.ID      = "File";
     this.parentBarItemFile.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemNew
     });
     this.parentBarItemFile.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItemFile.ShowToolTipInPopUp = false;
     this.parentBarItemFile.SizeToFit          = true;
     this.parentBarItemFile.Style      = Syncfusion.Windows.Forms.VisualStyle.OfficeXP;
     this.parentBarItemFile.Text       = "File";
     this.parentBarItemFile.WrapLength = 20;
     //
     // barItemNew
     //
     this.barItemNew.BarName            = "barItemNew";
     this.barItemNew.ID                 = "New";
     this.barItemNew.ShowToolTipInPopUp = false;
     this.barItemNew.SizeToFit          = true;
     this.barItemNew.Text               = "New";
     this.barItemNew.Click             += new System.EventHandler(this.barItemNew_Click);
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName            = "parentBarItem1";
     this.parentBarItem1.ID                 = "Edit";
     this.parentBarItem1.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Style              = Syncfusion.Windows.Forms.VisualStyle.OfficeXP;
     this.parentBarItem1.Text               = "Edit";
     this.parentBarItem1.WrapLength         = 20;
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName            = "parentBarItem2";
     this.parentBarItem2.ID                 = "Options";
     this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Style              = Syncfusion.Windows.Forms.VisualStyle.OfficeXP;
     this.parentBarItem2.Text               = "Options";
     this.parentBarItem2.WrapLength         = 20;
     //
     // parentBarItem3
     //
     this.parentBarItem3.BarName            = "parentBarItem3";
     this.parentBarItem3.ID                 = "Help";
     this.parentBarItem3.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem3.ShowToolTipInPopUp = false;
     this.parentBarItem3.SizeToFit          = true;
     this.parentBarItem3.Style              = Syncfusion.Windows.Forms.VisualStyle.OfficeXP;
     this.parentBarItem3.Text               = "Help";
     this.parentBarItem3.WrapLength         = 20;
     //
     // statusStrip1
     //
     this.statusStrip1.Location = new System.Drawing.Point(2, 630);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(1430, 22);
     this.statusStrip1.TabIndex = 2;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // splitContainerAdv1
     //
     this.splitContainerAdv1.BeforeTouchSize = 7;
     this.splitContainerAdv1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.splitContainerAdv1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerAdv1.FixedPanel      = Syncfusion.Windows.Forms.Tools.Enums.FixedPanel.Panel1;
     this.splitContainerAdv1.Location        = new System.Drawing.Point(2, 27);
     this.splitContainerAdv1.Name            = "splitContainerAdv1";
     //
     // splitContainerAdv1.Panel1
     //
     this.splitContainerAdv1.Panel1.Controls.Add(this.documentExplorer1);
     this.splitContainerAdv1.Panel1.Controls.Add(this.treeViewAdv1);
     //
     // splitContainerAdv1.Panel2
     //
     this.splitContainerAdv1.Panel2.Controls.Add(this.splitContainerAdv2);
     this.splitContainerAdv1.Size             = new System.Drawing.Size(1430, 603);
     this.splitContainerAdv1.SplitterDistance = 200;
     this.splitContainerAdv1.TabIndex         = 3;
     this.splitContainerAdv1.Text             = "splitContainerAdv1";
     this.splitContainerAdv1.ThemeName        = "None";
     //
     // treeViewAdv1
     //
     this.treeViewAdv1.AccelerateScrolling            = Syncfusion.Windows.Forms.AccelerateScrollingBehavior.Immediate;
     treeNodeAdvStyleInfo1.CheckBoxTickThickness      = 1;
     treeNodeAdvStyleInfo1.CheckColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
     treeNodeAdvStyleInfo1.IntermediateCheckColor     = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeNodeAdvStyleInfo1.OptionButtonColor          = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeNodeAdvStyleInfo1.SelectedOptionButtonColor  = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
     this.treeViewAdv1.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
         new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)
     });
     this.treeViewAdv1.BeforeTouchSize = new System.Drawing.Size(198, 601);
     this.treeViewAdv1.Dock            = System.Windows.Forms.DockStyle.Fill;
     //
     //
     //
     this.treeViewAdv1.HelpTextControl.BaseThemeName = null;
     this.treeViewAdv1.HelpTextControl.Location      = new System.Drawing.Point(0, 0);
     this.treeViewAdv1.HelpTextControl.Name          = "";
     this.treeViewAdv1.HelpTextControl.Size          = new System.Drawing.Size(392, 112);
     this.treeViewAdv1.HelpTextControl.TabIndex      = 0;
     this.treeViewAdv1.HelpTextControl.Visible       = true;
     this.treeViewAdv1.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
     this.treeViewAdv1.Location              = new System.Drawing.Point(0, 0);
     this.treeViewAdv1.MetroColor            = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.treeViewAdv1.Name                  = "treeViewAdv1";
     this.treeViewAdv1.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
     this.treeViewAdv1.Size                  = new System.Drawing.Size(198, 601);
     this.treeViewAdv1.TabIndex              = 0;
     this.treeViewAdv1.Text                  = "treeViewAdv1";
     this.treeViewAdv1.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness      = 0;
     this.treeViewAdv1.ThemeStyle.TreeNodeAdvStyle.EnsureDefaultOptionedChild = true;
     //
     //
     //
     this.treeViewAdv1.ToolTipControl.BaseThemeName = null;
     this.treeViewAdv1.ToolTipControl.Location      = new System.Drawing.Point(0, 0);
     this.treeViewAdv1.ToolTipControl.Name          = "";
     this.treeViewAdv1.ToolTipControl.Size          = new System.Drawing.Size(392, 112);
     this.treeViewAdv1.ToolTipControl.TabIndex      = 0;
     this.treeViewAdv1.ToolTipControl.Visible       = true;
     //
     // splitContainerAdv2
     //
     this.splitContainerAdv2.BeforeTouchSize = 7;
     this.splitContainerAdv2.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerAdv2.Location        = new System.Drawing.Point(0, 0);
     this.splitContainerAdv2.Name            = "splitContainerAdv2";
     //
     // splitContainerAdv2.Panel1
     //
     this.splitContainerAdv2.Panel1.Controls.Add(this.splitContainerAdvTextArea);
     this.splitContainerAdv2.Panel1.Controls.Add(this.panel1);
     //
     // splitContainerAdv2.Panel2
     //
     this.splitContainerAdv2.Panel2.Controls.Add(this.tabControlAdv1);
     this.splitContainerAdv2.Size             = new System.Drawing.Size(1221, 601);
     this.splitContainerAdv2.SplitterDistance = 572;
     this.splitContainerAdv2.TabIndex         = 0;
     this.splitContainerAdv2.Text             = "splitContainerAdv2";
     this.splitContainerAdv2.ThemeName        = "None";
     //
     // splitContainerAdvTextArea
     //
     this.splitContainerAdvTextArea.BeforeTouchSize = 7;
     this.splitContainerAdvTextArea.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerAdvTextArea.Location        = new System.Drawing.Point(0, 33);
     this.splitContainerAdvTextArea.Name            = "splitContainerAdvTextArea";
     this.splitContainerAdvTextArea.Orientation     = System.Windows.Forms.Orientation.Vertical;
     //
     // splitContainerAdvTextArea.Panel1
     //
     this.splitContainerAdvTextArea.Panel1.Controls.Add(this.richTextBoxName);
     //
     // splitContainerAdvTextArea.Panel2
     //
     this.splitContainerAdvTextArea.Panel2.Controls.Add(this.panelCategoryBtn);
     this.splitContainerAdvTextArea.Panel2.Controls.Add(this.panel3);
     this.splitContainerAdvTextArea.Size             = new System.Drawing.Size(572, 568);
     this.splitContainerAdvTextArea.SplitterDistance = 443;
     this.splitContainerAdvTextArea.TabIndex         = 1;
     this.splitContainerAdvTextArea.Text             = "splitContainerAdv4";
     this.splitContainerAdvTextArea.ThemeName        = "None";
     //
     // richTextBoxName
     //
     this.richTextBoxName.BackColor          = System.Drawing.Color.White;
     this.richTextBoxName.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.richTextBoxName.EnableAutoDragDrop = true;
     this.richTextBoxName.Location           = new System.Drawing.Point(0, 0);
     this.richTextBoxName.Name               = "richTextBoxName";
     this.richTextBoxName.ReadOnly           = true;
     this.richTextBoxName.Size               = new System.Drawing.Size(572, 443);
     this.richTextBoxName.TabIndex           = 2;
     this.richTextBoxName.Text               = "<파일을 열어주세요>";
     //
     // panelCategoryBtn
     //
     this.panelCategoryBtn.Controls.Add(this.flowLayoutPanelCategory);
     this.panelCategoryBtn.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panelCategoryBtn.Location = new System.Drawing.Point(0, 0);
     this.panelCategoryBtn.Name     = "panelCategoryBtn";
     this.panelCategoryBtn.Size     = new System.Drawing.Size(505, 118);
     this.panelCategoryBtn.TabIndex = 1;
     //
     // flowLayoutPanelCategory
     //
     this.flowLayoutPanelCategory.AutoScroll  = true;
     this.flowLayoutPanelCategory.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.flowLayoutPanelCategory.Controls.Add(this.sfButtonAdd);
     this.flowLayoutPanelCategory.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanelCategory.Location = new System.Drawing.Point(0, 0);
     this.flowLayoutPanelCategory.Name     = "flowLayoutPanelCategory";
     this.flowLayoutPanelCategory.Padding  = new System.Windows.Forms.Padding(5);
     this.flowLayoutPanelCategory.Size     = new System.Drawing.Size(505, 118);
     this.flowLayoutPanelCategory.TabIndex = 2;
     //
     // sfButtonAdd
     //
     this.sfButtonAdd.AccessibleName = "Button";
     this.sfButtonAdd.Font           = new System.Drawing.Font("Segoe UI Semibold", 9F);
     this.sfButtonAdd.Location       = new System.Drawing.Point(8, 8);
     this.sfButtonAdd.Name           = "sfButtonAdd";
     this.sfButtonAdd.Size           = new System.Drawing.Size(96, 28);
     this.sfButtonAdd.TabIndex       = 0;
     this.sfButtonAdd.Text           = "Add";
     this.sfButtonAdd.Click         += new System.EventHandler(this.sfButtonAdd_Click);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.panelCurrentColor);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel3.Location = new System.Drawing.Point(505, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(67, 118);
     this.panel3.TabIndex = 0;
     //
     // panelCurrentColor
     //
     this.panelCurrentColor.Controls.Add(this.labelCurrentColor);
     this.panelCurrentColor.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panelCurrentColor.Location = new System.Drawing.Point(0, 62);
     this.panelCurrentColor.Name     = "panelCurrentColor";
     this.panelCurrentColor.Padding  = new System.Windows.Forms.Padding(4);
     this.panelCurrentColor.Size     = new System.Drawing.Size(67, 56);
     this.panelCurrentColor.TabIndex = 1;
     //
     // labelCurrentColor
     //
     this.labelCurrentColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelCurrentColor.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.labelCurrentColor.Location    = new System.Drawing.Point(4, 4);
     this.labelCurrentColor.Name        = "labelCurrentColor";
     this.labelCurrentColor.Size        = new System.Drawing.Size(59, 48);
     this.labelCurrentColor.TabIndex    = 0;
     this.labelCurrentColor.Text        = "Color";
     this.labelCurrentColor.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.sfButton1);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Padding  = new System.Windows.Forms.Padding(4);
     this.panel4.Size     = new System.Drawing.Size(67, 62);
     this.panel4.TabIndex = 0;
     //
     // sfButton1
     //
     this.sfButton1.AccessibleName = "Button";
     this.sfButton1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.sfButton1.Font           = new System.Drawing.Font("Segoe UI Semibold", 9F);
     this.sfButton1.Location       = new System.Drawing.Point(4, 4);
     this.sfButton1.Name           = "sfButton1";
     this.sfButton1.Size           = new System.Drawing.Size(59, 54);
     this.sfButton1.TabIndex       = 0;
     this.sfButton1.Text           = "sfButton1";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.panel6);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(572, 33);
     this.panel1.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.autoLabelFilePath);
     this.panel2.Controls.Add(this.labelFilePath);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(394, 33);
     this.panel2.TabIndex = 3;
     //
     // autoLabelFilePath
     //
     this.autoLabelFilePath.DX             = -41;
     this.autoLabelFilePath.LabeledControl = this.labelFilePath;
     this.autoLabelFilePath.Location       = new System.Drawing.Point(7, 10);
     this.autoLabelFilePath.Name           = "autoLabelFilePath";
     this.autoLabelFilePath.Size           = new System.Drawing.Size(37, 12);
     this.autoLabelFilePath.TabIndex       = 1;
     this.autoLabelFilePath.Text           = "경로 :";
     //
     // labelFilePath
     //
     this.labelFilePath.AutoSize = true;
     this.labelFilePath.Location = new System.Drawing.Point(48, 10);
     this.labelFilePath.Name     = "labelFilePath";
     this.labelFilePath.Size     = new System.Drawing.Size(0, 12);
     this.labelFilePath.TabIndex = 0;
     //
     // panel6
     //
     this.panel6.Controls.Add(this.autoLabelFont);
     this.panel6.Controls.Add(this.fontComboBox);
     this.panel6.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel6.Location = new System.Drawing.Point(394, 0);
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(178, 33);
     this.panel6.TabIndex = 2;
     //
     // autoLabelFont
     //
     this.autoLabelFont.DX             = -41;
     this.autoLabelFont.DY             = 5;
     this.autoLabelFont.LabeledControl = this.fontComboBox;
     this.autoLabelFont.Location       = new System.Drawing.Point(6, 10);
     this.autoLabelFont.Name           = "autoLabelFont";
     this.autoLabelFont.Size           = new System.Drawing.Size(37, 12);
     this.autoLabelFont.TabIndex       = 1;
     this.autoLabelFont.Text           = "글꼴 :";
     //
     // fontComboBox
     //
     this.fontComboBox.FormattingEnabled = true;
     this.fontComboBox.Location          = new System.Drawing.Point(47, 5);
     this.fontComboBox.Name = "fontComboBox";
     this.fontComboBox.ShowSymbolFontPreview = true;
     this.fontComboBox.Size     = new System.Drawing.Size(121, 22);
     this.fontComboBox.TabIndex = 0;
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonBackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonBorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonDisabledBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonDisabledBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonHoverBackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(114)))), ((int)(((byte)(114)))), ((int)(((byte)(114)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonHoverBorderColor    = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(94)))), ((int)(((byte)(94)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonPressedBackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ArrowButtonPressedBorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ScrollBarBackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbBorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbColor               = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbDisabledBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbDisabledColor       = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbHoverBorderColor    = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbHoverColor          = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbPressedBorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
     this.fontComboBox.ThemeStyle.ScrollBarStyle.ThumbPressedColor        = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
     this.fontComboBox.UseAutoComplete       = true;
     this.fontComboBox.SelectedIndexChanged += new System.EventHandler(this.FontComboBox1_SelectedIndexChanged);
     //
     // tabControlAdv1
     //
     this.tabControlAdv1.BeforeTouchSize = new System.Drawing.Size(642, 601);
     this.tabControlAdv1.Controls.Add(this.tabPageAdvStory);
     this.tabControlAdv1.Controls.Add(this.tabPageAdvTimeline);
     this.tabControlAdv1.Controls.Add(this.tabPageAdvIssue);
     this.tabControlAdv1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControlAdv1.Location      = new System.Drawing.Point(0, 0);
     this.tabControlAdv1.Name          = "tabControlAdv1";
     this.tabControlAdv1.Size          = new System.Drawing.Size(642, 601);
     this.tabControlAdv1.TabIndex      = 0;
     this.tabControlAdv1.ThemesEnabled = true;
     //
     // tabPageAdvStory
     //
     this.tabPageAdvStory.Controls.Add(this.splitContainerAdv3);
     this.tabPageAdvStory.Image           = null;
     this.tabPageAdvStory.ImageSize       = new System.Drawing.Size(16, 16);
     this.tabPageAdvStory.Location        = new System.Drawing.Point(3, 26);
     this.tabPageAdvStory.Name            = "tabPageAdvStory";
     this.tabPageAdvStory.ShowCloseButton = true;
     this.tabPageAdvStory.Size            = new System.Drawing.Size(635, 571);
     this.tabPageAdvStory.TabIndex        = 1;
     this.tabPageAdvStory.Text            = "Story";
     this.tabPageAdvStory.ThemesEnabled   = true;
     //
     // splitContainerAdv3
     //
     this.splitContainerAdv3.BeforeTouchSize = 7;
     this.splitContainerAdv3.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerAdv3.Location        = new System.Drawing.Point(0, 0);
     this.splitContainerAdv3.Name            = "splitContainerAdv3";
     this.splitContainerAdv3.Orientation     = System.Windows.Forms.Orientation.Vertical;
     //
     // splitContainerAdv3.Panel1
     //
     this.splitContainerAdv3.Panel1.Controls.Add(this.diagram1);
     //
     // splitContainerAdv3.Panel2
     //
     this.splitContainerAdv3.Panel2.Controls.Add(this.overviewControl1);
     this.splitContainerAdv3.Size             = new System.Drawing.Size(635, 571);
     this.splitContainerAdv3.SplitterDistance = 420;
     this.splitContainerAdv3.TabIndex         = 0;
     this.splitContainerAdv3.Text             = "splitContainerAdv3";
     this.splitContainerAdv3.ThemeName        = "None";
     //
     // overviewControl1
     //
     this.overviewControl1.BackColor = System.Drawing.Color.Transparent;
     this.overviewControl1.Diagram   = this.diagram1;
     this.overviewControl1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.overviewControl1.ForeColor = System.Drawing.Color.Red;
     this.overviewControl1.Location  = new System.Drawing.Point(0, 0);
     this.overviewControl1.Name      = "overviewControl1";
     this.overviewControl1.Size      = new System.Drawing.Size(635, 144);
     this.overviewControl1.TabIndex  = 0;
     //
     // tabPageAdvTimeline
     //
     this.tabPageAdvTimeline.Image           = null;
     this.tabPageAdvTimeline.ImageSize       = new System.Drawing.Size(16, 16);
     this.tabPageAdvTimeline.Location        = new System.Drawing.Point(3, 26);
     this.tabPageAdvTimeline.Name            = "tabPageAdvTimeline";
     this.tabPageAdvTimeline.ShowCloseButton = true;
     this.tabPageAdvTimeline.Size            = new System.Drawing.Size(635, 571);
     this.tabPageAdvTimeline.TabIndex        = 2;
     this.tabPageAdvTimeline.Text            = "Timeline";
     this.tabPageAdvTimeline.ThemesEnabled   = true;
     //
     // tabPageAdvIssue
     //
     this.tabPageAdvIssue.Image           = null;
     this.tabPageAdvIssue.ImageSize       = new System.Drawing.Size(16, 16);
     this.tabPageAdvIssue.Location        = new System.Drawing.Point(3, 26);
     this.tabPageAdvIssue.Name            = "tabPageAdvIssue";
     this.tabPageAdvIssue.ShowCloseButton = true;
     this.tabPageAdvIssue.Size            = new System.Drawing.Size(635, 571);
     this.tabPageAdvIssue.TabIndex        = 3;
     this.tabPageAdvIssue.Text            = "Issue";
     this.tabPageAdvIssue.ThemesEnabled   = true;
     //
     // flowLayout1
     //
     this.flowLayout1.AutoHeight = true;
     //
     // documentExplorer1
     //
     this.documentExplorer1.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.documentExplorer1.ImageIndex         = 0;
     this.documentExplorer1.Location           = new System.Drawing.Point(0, 0);
     this.documentExplorer1.Name               = "documentExplorer1";
     this.documentExplorer1.SelectedImageIndex = 0;
     this.documentExplorer1.Size               = new System.Drawing.Size(198, 601);
     this.documentExplorer1.TabIndex           = 1;
     //
     // Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1434, 654);
     this.Controls.Add(this.splitContainerAdv1);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.xpToolBar1);
     this.Name = "Main";
     this.Style.MdiChild.IconHorizontalAlignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.Style.MdiChild.IconVerticalAlignment   = System.Windows.Forms.VisualStyles.VerticalAlignment.Center;
     this.Text = "Headsup";
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
     this.splitContainerAdv1.Panel1.ResumeLayout(false);
     this.splitContainerAdv1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit();
     this.splitContainerAdv1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).EndInit();
     this.splitContainerAdv2.Panel1.ResumeLayout(false);
     this.splitContainerAdv2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv2)).EndInit();
     this.splitContainerAdv2.ResumeLayout(false);
     this.splitContainerAdvTextArea.Panel1.ResumeLayout(false);
     this.splitContainerAdvTextArea.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdvTextArea)).EndInit();
     this.splitContainerAdvTextArea.ResumeLayout(false);
     this.panelCategoryBtn.ResumeLayout(false);
     this.flowLayoutPanelCategory.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panelCurrentColor.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.panel6.ResumeLayout(false);
     this.panel6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).EndInit();
     this.tabControlAdv1.ResumeLayout(false);
     this.tabPageAdvStory.ResumeLayout(false);
     this.splitContainerAdv3.Panel1.ResumeLayout(false);
     this.splitContainerAdv3.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv3)).EndInit();
     this.splitContainerAdv3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.flowLayout1)).EndInit();
     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()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Diagram.Binding       binding1  = new Syncfusion.Windows.Forms.Diagram.Binding();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.diagram1          = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
     this.model1            = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
     this.panel2            = new System.Windows.Forms.Panel();
     this.lytProp           = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.comboLytDirection = new System.Windows.Forms.ComboBox();
     this.lMarigin          = new System.Windows.Forms.Label();
     this.tMarigin          = new System.Windows.Forms.Label();
     this.txtVSpacing       = new System.Windows.Forms.TextBox();
     this.txtHSpacing       = new System.Windows.Forms.TextBox();
     this.vSpacing          = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.txtLMarigin       = new System.Windows.Forms.TextBox();
     this.apply             = new System.Windows.Forms.Button();
     this.txtTMarigin       = new System.Windows.Forms.TextBox();
     this.hSpacing          = new System.Windows.Forms.Label();
     this.chkAutoLayout     = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // diagram1
     //
     binding1.DefaultConnector = null;
     binding1.DefaultNode      = null;
     binding1.Diagram          = this.diagram1;
     binding1.Id           = null;
     binding1.Label        = null;
     binding1.ParentId     = null;
     this.diagram1.Binding = binding1;
     this.diagram1.Controller.PasteOffset = new System.Drawing.SizeF(10F, 10F);
     this.diagram1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.diagram1.HScroll             = true;
     this.diagram1.LayoutManager       = null;
     this.diagram1.Location            = new System.Drawing.Point(3, 3);
     this.diagram1.Margin              = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.diagram1.MetroScrollBars     = true;
     this.diagram1.Model               = this.model1;
     this.diagram1.Name                = "diagram1";
     this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds")));
     this.diagram1.Size                = new System.Drawing.Size(857, 913);
     this.diagram1.SmartSizeBox        = false;
     this.diagram1.TabIndex            = 2;
     this.diagram1.Text                = "diagram1";
     //
     //
     //
     this.diagram1.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.diagram1.View.Controller           = this.diagram1.Controller;
     this.diagram1.View.Grid.MinPixelSpacing = 4F;
     this.diagram1.View.Grid.Visible         = false;
     this.diagram1.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
     this.diagram1.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
     this.diagram1.VScroll = true;
     //
     // model1
     //
     this.model1.AlignmentType = Syncfusion.Windows.Forms.Diagram.AlignmentType.SelectedNode;
     this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter;
     this.model1.DocumentScale.DisplayName      = "No Scale";
     this.model1.DocumentScale.Height           = 1F;
     this.model1.DocumentScale.Width            = 1F;
     this.model1.DocumentSize.Height            = 1000F;
     this.model1.DocumentSize.Width             = 1200F;
     this.model1.LineStyle.DashPattern          = null;
     this.model1.LineStyle.LineColor            = System.Drawing.Color.Black;
     this.model1.LineStyle.LineWidth            = 0F;
     this.model1.LogicalSize           = new System.Drawing.SizeF(1200F, 1000F);
     this.model1.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
     this.panel2.Controls.Add(this.lytProp);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.comboLytDirection);
     this.panel2.Controls.Add(this.lMarigin);
     this.panel2.Controls.Add(this.tMarigin);
     this.panel2.Controls.Add(this.txtVSpacing);
     this.panel2.Controls.Add(this.txtHSpacing);
     this.panel2.Controls.Add(this.vSpacing);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.txtLMarigin);
     this.panel2.Controls.Add(this.apply);
     this.panel2.Controls.Add(this.txtTMarigin);
     this.panel2.Controls.Add(this.hSpacing);
     this.panel2.Controls.Add(this.chkAutoLayout);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel2.Location = new System.Drawing.Point(860, 3);
     this.panel2.Margin   = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.panel2.Name     = "panel2";
     this.panel2.Padding  = new System.Windows.Forms.Padding(15);
     this.panel2.Size     = new System.Drawing.Size(405, 913);
     this.panel2.TabIndex = 1;
     //
     // lytProp
     //
     this.lytProp.AutoEllipsis = true;
     this.lytProp.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
     this.lytProp.Font         = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lytProp.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.lytProp.Location     = new System.Drawing.Point(18, 27);
     this.lytProp.Margin       = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lytProp.Name         = "lytProp";
     this.lytProp.Size         = new System.Drawing.Size(148, 31);
     this.lytProp.TabIndex     = 40;
     this.lytProp.Text         = "Properties";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(18, 349);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(159, 25);
     this.label2.TabIndex = 38;
     this.label2.Text     = "Direction Selection";
     //
     // comboLytDirection
     //
     this.comboLytDirection.BackColor         = System.Drawing.Color.White;
     this.comboLytDirection.Cursor            = System.Windows.Forms.Cursors.Default;
     this.comboLytDirection.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboLytDirection.ForeColor         = System.Drawing.SystemColors.WindowText;
     this.comboLytDirection.FormattingEnabled = true;
     this.comboLytDirection.IntegralHeight    = false;
     this.comboLytDirection.Items.AddRange(new object[] {
         "TopToBottom",
         "TopRight",
         "TopLeft",
         "RightToLeft",
         "LeftToRight",
         "BottomToTop",
         "BottomLeft",
         "BottomRight"
     });
     this.comboLytDirection.Location      = new System.Drawing.Point(236, 346);
     this.comboLytDirection.Margin        = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.comboLytDirection.Name          = "comboLytDirection";
     this.comboLytDirection.Size          = new System.Drawing.Size(148, 33);
     this.comboLytDirection.TabIndex      = 39;
     this.comboLytDirection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     //
     // lMarigin
     //
     this.lMarigin.AutoSize = true;
     this.lMarigin.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lMarigin.Location = new System.Drawing.Point(18, 193);
     this.lMarigin.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lMarigin.Name     = "lMarigin";
     this.lMarigin.Size     = new System.Drawing.Size(106, 25);
     this.lMarigin.TabIndex = 23;
     this.lMarigin.Text     = "Left Marigin";
     //
     // tMarigin
     //
     this.tMarigin.AutoSize = true;
     this.tMarigin.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tMarigin.Location = new System.Drawing.Point(18, 247);
     this.tMarigin.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.tMarigin.Name     = "tMarigin";
     this.tMarigin.Size     = new System.Drawing.Size(108, 25);
     this.tMarigin.TabIndex = 24;
     this.tMarigin.Text     = "Top Marigin";
     //
     // txtVSpacing
     //
     this.txtVSpacing.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtVSpacing.Location  = new System.Drawing.Point(236, 135);
     this.txtVSpacing.Margin    = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.txtVSpacing.MaxLength = 3;
     this.txtVSpacing.Name      = "txtVSpacing";
     this.txtVSpacing.Size      = new System.Drawing.Size(148, 31);
     this.txtVSpacing.TabIndex  = 22;
     //
     // txtHSpacing
     //
     this.txtHSpacing.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtHSpacing.Location  = new System.Drawing.Point(236, 81);
     this.txtHSpacing.Margin    = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.txtHSpacing.MaxLength = 3;
     this.txtHSpacing.Name      = "txtHSpacing";
     this.txtHSpacing.Size      = new System.Drawing.Size(148, 31);
     this.txtHSpacing.TabIndex  = 21;
     //
     // vSpacing
     //
     this.vSpacing.AutoSize = true;
     this.vSpacing.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vSpacing.Location = new System.Drawing.Point(18, 138);
     this.vSpacing.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.vSpacing.Name     = "vSpacing";
     this.vSpacing.Size     = new System.Drawing.Size(137, 25);
     this.vSpacing.TabIndex = 20;
     this.vSpacing.Text     = "Vertical Spacing";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(18, 296);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(109, 25);
     this.label1.TabIndex = 30;
     this.label1.Text     = "Auto Layout";
     //
     // txtLMarigin
     //
     this.txtLMarigin.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLMarigin.Location  = new System.Drawing.Point(236, 190);
     this.txtLMarigin.Margin    = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.txtLMarigin.MaxLength = 3;
     this.txtLMarigin.Name      = "txtLMarigin";
     this.txtLMarigin.Size      = new System.Drawing.Size(148, 31);
     this.txtLMarigin.TabIndex  = 25;
     //
     // apply
     //
     this.apply.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(0)))));
     this.apply.FlatAppearance.BorderSize = 0;
     this.apply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.apply.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.apply.ForeColor = System.Drawing.Color.White;
     this.apply.Location  = new System.Drawing.Point(23, 434);
     this.apply.Margin    = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.apply.Name      = "apply";
     this.apply.Size      = new System.Drawing.Size(120, 46);
     this.apply.TabIndex  = 33;
     this.apply.Text      = "Apply";
     this.apply.UseVisualStyleBackColor = false;
     this.apply.Click += new System.EventHandler(this.apply_Click);
     //
     // txtTMarigin
     //
     this.txtTMarigin.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTMarigin.Location  = new System.Drawing.Point(236, 244);
     this.txtTMarigin.Margin    = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.txtTMarigin.MaxLength = 3;
     this.txtTMarigin.Name      = "txtTMarigin";
     this.txtTMarigin.Size      = new System.Drawing.Size(148, 31);
     this.txtTMarigin.TabIndex  = 26;
     //
     // hSpacing
     //
     this.hSpacing.AutoSize = true;
     this.hSpacing.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hSpacing.Location = new System.Drawing.Point(18, 84);
     this.hSpacing.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.hSpacing.Name     = "hSpacing";
     this.hSpacing.Size     = new System.Drawing.Size(162, 25);
     this.hSpacing.TabIndex = 19;
     this.hSpacing.Text     = "Horizontal Spacing";
     //
     // chkAutoLayout
     //
     this.chkAutoLayout.FlatAppearance.BorderSize = 0;
     this.chkAutoLayout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.chkAutoLayout.Font      = new System.Drawing.Font("Arial", 21F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkAutoLayout.Location  = new System.Drawing.Point(238, 285);
     this.chkAutoLayout.Margin    = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.chkAutoLayout.Name      = "chkAutoLayout";
     this.chkAutoLayout.Size      = new System.Drawing.Size(31, 51);
     this.chkAutoLayout.TabIndex  = 27;
     this.chkAutoLayout.UseVisualStyleBackColor = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CaptionBarColor     = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(98)))), ((int)(((byte)(117)))));
     this.CaptionForeColor    = System.Drawing.Color.White;
     this.ClientSize          = new System.Drawing.Size(1268, 919);
     this.Controls.Add(this.diagram1);
     this.Controls.Add(this.panel2);
     this.ForeColor     = System.Drawing.Color.Black;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(3);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Radial Layout";
     this.TopMost       = true;
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     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()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     Syncfusion.Windows.Forms.Diagram.Binding       binding1  = new Syncfusion.Windows.Forms.Diagram.Binding();
     this.panel1           = new System.Windows.Forms.Panel();
     this.toolStrip1       = new System.Windows.Forms.ToolStrip();
     this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
     this.propertyEditor1  = new Syncfusion.Windows.Forms.Diagram.Controls.PropertyEditor(this.components);
     this.diagram1         = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
     this.model1           = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
     this.panel1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.toolStrip1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(754), (int)DpiAware.LogicalToDeviceUnits(25));
     this.panel1.TabIndex = 0;
     //
     // toolStrip1
     //
     this.toolStrip1.AutoSize              = false;
     this.toolStrip1.BackColor             = System.Drawing.SystemColors.Control;
     this.toolStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.toolStrip1.GripStyle             = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButton2,
         this.toolStripButton3
     });
     this.toolStrip1.Location     = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name         = "toolStrip1";
     this.toolStrip1.Size         = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(754), (int)DpiAware.LogicalToDeviceUnits(25));
     this.toolStrip1.TabIndex     = 1;
     this.toolStrip1.Text         = "toolStrip1";
     this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked);
     //
     // toolStripButton2
     //
     this.toolStripButton2.ForeColor             = System.Drawing.Color.MidnightBlue;
     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((int)DpiAware.LogicalToDeviceUnits(92), (int)DpiAware.LogicalToDeviceUnits(22));
     this.toolStripButton2.Text = "Add Symbol";
     //
     // toolStripButton3
     //
     this.toolStripButton3.ForeColor             = System.Drawing.Color.MidnightBlue;
     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((int)DpiAware.LogicalToDeviceUnits(58), (int)DpiAware.LogicalToDeviceUnits(22));
     this.toolStripButton3.Text = "Clone";
     //
     // propertyEditor1
     //
     this.propertyEditor1.Diagram  = this.diagram1;
     this.propertyEditor1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.propertyEditor1.Location = new System.Drawing.Point((int)DpiAware.LogicalToDeviceUnits(507), (int)DpiAware.LogicalToDeviceUnits(25));
     this.propertyEditor1.Name     = "propertyEditor1";
     this.propertyEditor1.Size     = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(247), (int)DpiAware.LogicalToDeviceUnits(416));
     this.propertyEditor1.TabIndex = 1;
     //
     // diagram1
     //
     binding1.DefaultConnector = null;
     binding1.DefaultNode      = null;
     binding1.Diagram          = this.diagram1;
     binding1.Id           = null;
     binding1.Label        = ((System.Collections.Generic.List <string>)(resources.GetObject("binding1.Label")));
     binding1.ParentId     = null;
     this.diagram1.Binding = binding1;
     this.diagram1.Controller.Constraint           = Syncfusion.Windows.Forms.Diagram.Constraints.PageEditable;
     this.diagram1.Controller.DefaultConnectorTool = Syncfusion.Windows.Forms.Diagram.ConnectorTool.OrgLineConnectorTool;
     this.diagram1.Controller.PasteOffset          = new System.Drawing.SizeF(10F, 10F);
     this.diagram1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.diagram1.EnableTouchMode     = false;
     this.diagram1.LayoutManager       = null;
     this.diagram1.Location            = new System.Drawing.Point(0, (int)DpiAware.LogicalToDeviceUnits(25));
     this.diagram1.Model               = this.model1;
     this.diagram1.Name                = "diagram1";
     this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds")));
     this.diagram1.Size                = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(507), (int)DpiAware.LogicalToDeviceUnits(416));
     this.diagram1.SmartSizeBox        = false;
     this.diagram1.TabIndex            = 2;
     this.diagram1.Text                = "diagram1";
     //
     //
     //
     this.diagram1.View.BackgroundColor      = System.Drawing.Color.White;
     this.diagram1.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.diagram1.View.Controller           = this.diagram1.Controller;
     this.diagram1.View.Grid.MinPixelSpacing = 4F;
     this.diagram1.View.Grid.Visible         = false;
     this.diagram1.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
     this.diagram1.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
     //
     // model1
     //
     this.model1.AlignmentType = Syncfusion.Windows.Forms.Diagram.AlignmentType.SelectedNode;
     this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter;
     this.model1.DocumentScale.DisplayName      = "No Scale";
     this.model1.DocumentScale.Height           = 1F;
     this.model1.DocumentScale.Width            = 1F;
     this.model1.DocumentSize.Height            = DpiAware.LogicalToDeviceUnits(1169F);
     this.model1.DocumentSize.Width             = DpiAware.LogicalToDeviceUnits(827F);
     this.model1.LineStyle.DashPattern          = null;
     this.model1.LineStyle.LineColor            = System.Drawing.Color.Black;
     this.model1.LineStyle.LineWidth            = 0F;
     this.model1.LogicalSize           = new System.Drawing.SizeF(DpiAware.LogicalToDeviceUnits(827F), DpiAware.LogicalToDeviceUnits(1169F));
     this.model1.Padding               = new System.Windows.Forms.Padding(0, 0, 0, 0);
     this.model1.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(754), (int)DpiAware.LogicalToDeviceUnits(441));
     this.Controls.Add(this.diagram1);
     this.Controls.Add(this.propertyEditor1);
     this.Controls.Add(this.panel1);
     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.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "MainForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Custom Symbol";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     this.panel1.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).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()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Diagram.Binding       binding1  = new Syncfusion.Windows.Forms.Diagram.Binding();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.diagram1            = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
     this.model1              = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
     this.comboBox1           = new System.Windows.Forms.ComboBox();
     this.label1              = new System.Windows.Forms.Label();
     this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     this.toolStripContainer1.ContentPanel.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // diagram1
     //
     this.diagram1.BackColor   = System.Drawing.Color.DarkGray;
     binding1.DefaultConnector = null;
     binding1.DefaultNode      = null;
     binding1.Diagram          = this.diagram1;
     binding1.Id           = null;
     binding1.Label        = ((System.Collections.Generic.List <string>)(resources.GetObject("binding1.Label")));
     binding1.ParentId     = null;
     this.diagram1.Binding = binding1;
     this.diagram1.Controller.Constraint           = Syncfusion.Windows.Forms.Diagram.Constraints.PageEditable;
     this.diagram1.Controller.DefaultConnectorTool = Syncfusion.Windows.Forms.Diagram.ConnectorTool.OrgLineConnectorTool;
     this.diagram1.Controller.PasteOffset          = new System.Drawing.SizeF(10F, 10F);
     this.diagram1.EnableTouchMode     = false;
     this.diagram1.LayoutManager       = null;
     this.diagram1.Location            = new System.Drawing.Point(19, 19);
     this.diagram1.Model               = this.model1;
     this.diagram1.Name                = "diagram1";
     this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds")));
     this.diagram1.ShowRulers          = true;
     this.diagram1.Size                = new System.Drawing.Size(733, 511);
     this.diagram1.SizeGripStyle       = System.Windows.Forms.SizeGripStyle.Hide;
     this.diagram1.SmartSizeBox        = false;
     this.diagram1.TabIndex            = 5;
     this.diagram1.Text                = "diagram1";
     //
     //
     //
     this.diagram1.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.diagram1.View.Controller           = this.diagram1.Controller;
     this.diagram1.View.Grid.MinPixelSpacing = 4F;
     this.diagram1.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
     this.diagram1.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
     //
     // model1
     //
     this.model1.AlignmentType = AlignmentType.SelectedNode;
     this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter;
     this.model1.DocumentScale.DisplayName      = "No Scale";
     this.model1.DocumentScale.Height           = 1F;
     this.model1.DocumentScale.Width            = 1F;
     this.model1.DocumentSize.DisplayName       = "SameAsPrinter";
     this.model1.DocumentSize.Height            = 566.9291F;
     this.model1.DocumentSize.Width             = 996.8504F;
     this.model1.LineStyle.DashPattern          = null;
     this.model1.LineStyle.LineColor            = System.Drawing.Color.Black;
     this.model1.LogicalSize           = new System.Drawing.SizeF(996.8504F, 566.9291F);
     this.model1.Padding               = new System.Windows.Forms.Padding(0, 0, 0, 0);
     this.model1.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     //
     // comboBox1
     //
     this.comboBox1.Cursor            = System.Windows.Forms.Cursors.IBeam;
     this.comboBox1.DisplayMember     = "1";
     this.comboBox1.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] {
         "Office2016Black",
         "Office2016DarkGray",
         "Office2016White",
         "Office2016Colorful"
     });
     this.comboBox1.Location = new System.Drawing.Point(6, 34);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(159, 24);
     this.comboBox1.TabIndex = 6;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(3, 6);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(113, 16);
     this.label1.TabIndex = 7;
     this.label1.Text     = "Choose Theme";
     //
     // toolStripContainer1
     //
     this.toolStripContainer1.BottomToolStripPanelVisible = false;
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.toolStripContainer1.ContentPanel.Controls.Add(this.label1);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.comboBox1);
     this.toolStripContainer1.ContentPanel.Size         = new System.Drawing.Size(195, 511);
     this.toolStripContainer1.LeftToolStripPanelVisible = false;
     this.toolStripContainer1.Location = new System.Drawing.Point(758, 21);
     this.toolStripContainer1.Name     = "toolStripContainer1";
     this.toolStripContainer1.RightToolStripPanelVisible = false;
     this.toolStripContainer1.Size     = new System.Drawing.Size(195, 511);
     this.toolStripContainer1.TabIndex = 9;
     this.toolStripContainer1.Text     = "toolStripContainer1";
     this.toolStripContainer1.TopToolStripPanelVisible = false;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(954, 548);
     this.Controls.Add(this.toolStripContainer1);
     this.Controls.Add(this.diagram1);
     this.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name          = "Form1";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text          = "Themes";
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
     this.toolStripContainer1.ContentPanel.ResumeLayout(false);
     this.toolStripContainer1.ContentPanel.PerformLayout();
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     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()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Diagram.Binding       binding2  = new Syncfusion.Windows.Forms.Diagram.Binding();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewTaskForm));
     this.sfDecompositionDiagram = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
     this.treeModel      = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
     this.sfNodeCalendar = new Syncfusion.WinForms.Input.SfCalendar();
     this.flowLayout     = new System.Windows.Forms.FlowLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this.sfDecompositionDiagram)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeModel)).BeginInit();
     this.SuspendLayout();
     //
     // sfTreeDiagram
     //
     this.sfDecompositionDiagram.BackColor = System.Drawing.Color.DarkGray;
     binding2.DefaultConnector             = null;
     binding2.DefaultNode = null;
     binding2.Diagram     = this.sfDecompositionDiagram;
     binding2.Id          = null;
     binding2.Label       = ((System.Collections.Generic.List <string>)(resources.GetObject("binding2.Label")));
     binding2.ParentId    = null;
     this.sfDecompositionDiagram.Binding = binding2;
     this.sfDecompositionDiagram.Controller.Constraint           = Syncfusion.Windows.Forms.Diagram.Constraints.PageEditable;
     this.sfDecompositionDiagram.Controller.DefaultConnectorTool = Syncfusion.Windows.Forms.Diagram.ConnectorTool.OrgLineConnectorTool;
     this.sfDecompositionDiagram.Controller.PasteOffset          = new System.Drawing.SizeF(10F, 10F);
     this.sfDecompositionDiagram.EnableTouchMode     = false;
     this.sfDecompositionDiagram.LayoutManager       = null;
     this.sfDecompositionDiagram.Location            = new System.Drawing.Point(0, 0);
     this.sfDecompositionDiagram.Margin              = new System.Windows.Forms.Padding(0);
     this.sfDecompositionDiagram.MetroScrollBars     = true;
     this.sfDecompositionDiagram.Model               = this.treeModel;
     this.sfDecompositionDiagram.Name                = "sfTreeDiagram";
     this.sfDecompositionDiagram.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("sfTreeDiagram.ScrollVirtualBounds")));
     this.sfDecompositionDiagram.Size                = new System.Drawing.Size(1358, 368);
     this.sfDecompositionDiagram.SizeGripStyle       = System.Windows.Forms.SizeGripStyle.Hide;
     this.sfDecompositionDiagram.SmartSizeBox        = false;
     this.sfDecompositionDiagram.TabIndex            = 9;
     this.sfDecompositionDiagram.Text                = "diagram1";
     //
     //
     //
     this.sfDecompositionDiagram.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.sfDecompositionDiagram.View.Controller           = this.sfDecompositionDiagram.Controller;
     this.sfDecompositionDiagram.View.Grid.MinPixelSpacing = 4F;
     this.sfDecompositionDiagram.View.Grid.Visible         = false;
     this.sfDecompositionDiagram.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
     this.sfDecompositionDiagram.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
     //
     // treeModel
     //
     this.treeModel.AlignmentType = AlignmentType.SelectedNode;
     this.treeModel.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter;
     this.treeModel.DocumentScale.DisplayName      = "No Scale";
     this.treeModel.DocumentScale.Height           = 1F;
     this.treeModel.DocumentScale.Width            = 1F;
     this.treeModel.DocumentSize.Height            = 600F;
     this.treeModel.DocumentSize.Width             = 1370F;
     this.treeModel.LineStyle.DashPattern          = null;
     this.treeModel.LineStyle.LineColor            = System.Drawing.Color.Black;
     this.treeModel.LineStyle.LineWidth            = 0F;
     this.treeModel.LogicalSize           = new System.Drawing.SizeF(1370F, 600F);
     this.treeModel.Padding               = new System.Windows.Forms.Padding(0, 0, 0, 0);
     this.treeModel.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     this.treeModel.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     //
     // sfNodeCalendar
     //
     this.sfNodeCalendar.Culture             = new System.Globalization.CultureInfo("en-US");
     this.sfNodeCalendar.Location            = new System.Drawing.Point(0, 368);
     this.sfNodeCalendar.Margin              = new System.Windows.Forms.Padding(0);
     this.sfNodeCalendar.Name                = "sfNodeCalendar";
     this.sfNodeCalendar.NumberOfWeeksInView = 5;
     this.sfNodeCalendar.SelectedDate        = new System.DateTime(2020, 4, 15, 0, 0, 0, 0);
     this.sfNodeCalendar.Size                = new System.Drawing.Size(742, 394);
     this.sfNodeCalendar.TabIndex            = 7;
     this.sfNodeCalendar.Text                = "sfCalendar1";
     //
     // flowLayout
     //
     this.flowLayout.Location = new System.Drawing.Point(742, 368);
     this.flowLayout.Margin   = new System.Windows.Forms.Padding(0);
     this.flowLayout.Name     = "flowLayout";
     this.flowLayout.Size     = new System.Drawing.Size(616, 394);
     this.flowLayout.TabIndex = 10;
     //
     // ViewTask
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1358, 761);
     this.Controls.Add(this.flowLayout);
     this.Controls.Add(this.sfDecompositionDiagram);
     this.Controls.Add(this.sfNodeCalendar);
     this.DoubleBuffered  = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "ViewTask";
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.Text            = "ViewTask";
     ((System.ComponentModel.ISupportInitialize)(this.sfDecompositionDiagram)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeModel)).EndInit();
     this.ResumeLayout(false);
 }