/// <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(ManualTreeView)); Wisej.Web.ImageListEntry imageListEntry1 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images"))), "Node.png"); Wisej.Web.ImageListEntry imageListEntry2 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images1"))), "NodeSelected.png"); Wisej.Web.ImageListEntry imageListEntry3 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images2"))), "ReadOnlyNode.png"); Wisej.Web.ImageListEntry imageListEntry4 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images3"))), "ReadOnlyNodeSelected.png"); this.treeView1 = new Wisej.Web.TreeView(); this.imageList = new Wisej.Web.ImageList(this.components); this.expandButton = new Wisej.Web.Button(); this.collapseButton = new Wisej.Web.Button(); this.SuspendLayout(); // // treeView1 // this.treeView1.AllowDrag = true; this.treeView1.AllowDrop = true; this.treeView1.ImageIndex = 0; this.treeView1.ImageList = this.imageList; this.treeView1.LabelEdit = true; this.treeView1.Location = new System.Drawing.Point(16, 13); this.treeView1.Name = "treeView1"; this.treeView1.OpenedImageIndex = 1; this.treeView1.SelectedImageIndex = 1; this.treeView1.ShowNodeToolTips = true; this.treeView1.Size = new System.Drawing.Size(212, 394); this.treeView1.TabIndex = 15; this.treeView1.ItemDrag += new Wisej.Web.ItemDragEventHandler(this.treeView1_ItemDrag); this.treeView1.DragDrop += new Wisej.Web.DragEventHandler(this.treeView1_DragDrop); // // imageList // this.imageList.Images.AddRange(new Wisej.Web.ImageListEntry[] { imageListEntry1, imageListEntry2, imageListEntry3, imageListEntry4 }); // // expandButton // this.expandButton.Location = new System.Drawing.Point(249, 343); this.expandButton.Name = "expandButton"; this.expandButton.Size = new System.Drawing.Size(84, 23); this.expandButton.TabIndex = 33; this.expandButton.Text = "Expand"; this.expandButton.Click += new System.EventHandler(this.expandButton_Click); // // collapseButton // this.collapseButton.Location = new System.Drawing.Point(249, 384); this.collapseButton.Name = "collapseButton"; this.collapseButton.Size = new System.Drawing.Size(84, 23); this.collapseButton.TabIndex = 33; this.collapseButton.Text = "Collapse"; this.collapseButton.Click += new System.EventHandler(this.collapseButton_Click); // // ManualTreeView // this.Controls.Add(this.treeView1); this.Controls.Add(this.collapseButton); this.Controls.Add(this.expandButton); this.MaximumSize = new System.Drawing.Size(931, 438); this.MinimumSize = new System.Drawing.Size(931, 438); this.Name = "ManualTreeView"; this.Size = new System.Drawing.Size(931, 438); this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <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(); Wisej.Web.ImageListEntry imageListEntry3 = new Wisej.Web.ImageListEntry("https://icons.iconarchive.com/icons/igh0zt/ios7-style-metro-ui/96/MetroUI-Apps-Ca" + "lculator-Alt-icon.png", "MetroUI-Calculator"); Wisej.Web.ImageListEntry imageListEntry4 = new Wisej.Web.ImageListEntry("https://icons.iconarchive.com/icons/igh0zt/ios7-style-metro-ui/96/MetroUI-Apps-Bl" + "uetooth-icon.png", "MetroUI-Apps-Bluetooth-icon"); this.groupBox1 = new Wisej.Web.GroupBox(); this.button3 = new Wisej.Web.Button(); this.button2 = new Wisej.Web.Button(); this.button1 = new Wisej.Web.Button(); this.groupBox2 = new Wisej.Web.GroupBox(); this.button5 = new Wisej.Web.Button(); this.button4 = new Wisej.Web.Button(); this.flowLayoutPanel1 = new Wisej.Web.FlowLayoutPanel(); this.groupBox4 = new Wisej.Web.GroupBox(); this.button9 = new Wisej.Web.Button(); this.button10 = new Wisej.Web.Button(); this.groupBox5 = new Wisej.Web.GroupBox(); this.button11 = new Wisej.Web.Button(); this.imageList1 = new Wisej.Web.ImageList(this.components); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox5.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.button3); this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Location = new System.Drawing.Point(40, 40); this.groupBox1.Margin = new Wisej.Web.Padding(40); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(412, 191); this.groupBox1.TabIndex = 1; this.groupBox1.Text = "Buttons with Image Resources (png)"; this.groupBox1.UseMnemonic = false; // // button3 // this.button3.Image = global::Wisej.Buttons.Properties.Resources.Error_64; this.button3.Location = new System.Drawing.Point(146, 32); this.button3.Name = "button3"; this.button3.Padding = new Wisej.Web.Padding(0, 0, 0, 30); this.button3.Size = new System.Drawing.Size(238, 132); this.button3.TabIndex = 2; this.button3.Text = "ERROR"; this.button3.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.button3.TextImageRelation = Wisej.Web.TextImageRelation.Overlay; // // button2 // this.button2.Image = global::Wisej.Buttons.Properties.Resources.rss; this.button2.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button2.Location = new System.Drawing.Point(17, 89); this.button2.Name = "button2"; this.button2.Padding = new Wisej.Web.Padding(10, 10, 10, 11); this.button2.Size = new System.Drawing.Size(110, 75); this.button2.TabIndex = 1; this.button2.Text = "Subscribe"; this.button2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.button2.TextImageRelation = Wisej.Web.TextImageRelation.ImageAboveText; // // button1 // this.button1.Image = global::Wisej.Buttons.Properties.Resources.Ok_24; this.button1.Location = new System.Drawing.Point(17, 32); this.button1.Name = "button1"; this.button1.Padding = new Wisej.Web.Padding(10, 0, 10, 0); this.button1.Size = new System.Drawing.Size(110, 40); this.button1.TabIndex = 0; this.button1.Text = "OK"; // // groupBox2 // this.groupBox2.Controls.Add(this.button5); this.groupBox2.Controls.Add(this.button4); this.groupBox2.Location = new System.Drawing.Point(532, 40); this.groupBox2.Margin = new Wisej.Web.Padding(40); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(411, 191); this.groupBox2.TabIndex = 2; this.groupBox2.Text = "Buttons with Background"; this.groupBox2.UseMnemonic = false; // // button5 // this.button5.AllowHtml = true; this.button5.BackColor = System.Drawing.Color.Transparent; this.button5.BackgroundImage = global::Wisej.Buttons.Properties.Resources.oval_background; this.button5.BackgroundImageLayout = Wisej.Web.ImageLayout.Stretch; this.button5.Location = new System.Drawing.Point(176, 36); this.button5.Name = "button5"; this.button5.Padding = new Wisej.Web.Padding(10, 0, 10, 0); this.button5.Size = new System.Drawing.Size(218, 136); this.button5.TabIndex = 4; this.button5.Text = "<b>THIS IS</b><br/>\r\n<i>HTML TEXT</i>"; // // button4 // this.button4.BackColor = System.Drawing.Color.Transparent; this.button4.BackgroundImage = global::Wisej.Buttons.Properties.Resources.blank_glossy_round_button_pv; this.button4.BackgroundImageLayout = Wisej.Web.ImageLayout.Stretch; this.button4.ForeColor = System.Drawing.Color.Black; this.button4.Location = new System.Drawing.Point(17, 36); this.button4.Name = "button4"; this.button4.Padding = new Wisej.Web.Padding(10, 0, 10, 0); this.button4.Size = new System.Drawing.Size(142, 136); this.button4.TabIndex = 3; this.button4.Text = "OK"; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.groupBox1); this.flowLayoutPanel1.Controls.Add(this.groupBox2); this.flowLayoutPanel1.Controls.Add(this.groupBox4); this.flowLayoutPanel1.Controls.Add(this.groupBox5); this.flowLayoutPanel1.Dock = Wisej.Web.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(1027, 727); this.flowLayoutPanel1.TabIndex = 3; this.flowLayoutPanel1.TabStop = true; // // groupBox4 // this.groupBox4.Controls.Add(this.button9); this.groupBox4.Controls.Add(this.button10); this.groupBox4.Location = new System.Drawing.Point(40, 311); this.groupBox4.Margin = new Wisej.Web.Padding(40); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(411, 191); this.groupBox4.TabIndex = 5; this.groupBox4.Text = "Buttons with Double Images"; this.groupBox4.UseMnemonic = false; // // button9 // this.button9.AllowHtml = true; this.button9.BackColor = System.Drawing.Color.Transparent; this.button9.BackgroundImage = global::Wisej.Buttons.Properties.Resources.oval_background; this.button9.BackgroundImageLayout = Wisej.Web.ImageLayout.Stretch; this.button9.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.button9.ImageSource = "icon-comment"; this.button9.Location = new System.Drawing.Point(176, 36); this.button9.Name = "button9"; this.button9.Padding = new Wisej.Web.Padding(10, 0, 30, 0); this.button9.Size = new System.Drawing.Size(218, 136); this.button9.TabIndex = 4; this.button9.Text = "<b>THIS IS</b><br/>\r\n<i>HTML TEXT</i>"; this.button9.TextImageRelation = Wisej.Web.TextImageRelation.TextBeforeImage; // // button10 // this.button10.BackColor = System.Drawing.Color.Transparent; this.button10.BackgroundImage = global::Wisej.Buttons.Properties.Resources.blank_glossy_round_button_pv; this.button10.BackgroundImageLayout = Wisej.Web.ImageLayout.Zoom; this.button10.Font = new System.Drawing.Font("default", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.button10.ForeColor = System.Drawing.Color.Black; this.button10.ImageSource = "ajax-loader"; this.button10.Location = new System.Drawing.Point(17, 36); this.button10.Name = "button10"; this.button10.Padding = new Wisej.Web.Padding(10, 0, 10, 0); this.button10.Size = new System.Drawing.Size(142, 136); this.button10.TabIndex = 3; this.button10.Text = "Load"; // // groupBox5 // this.groupBox5.Controls.Add(this.button11); this.groupBox5.Location = new System.Drawing.Point(531, 311); this.groupBox5.Margin = new Wisej.Web.Padding(40); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(412, 191); this.groupBox5.TabIndex = 4; this.groupBox5.Text = "Buttons with Image List"; this.groupBox5.UseMnemonic = false; // // button11 // this.button11.AppearanceKey = "button-alert"; this.button11.Font = new System.Drawing.Font("default", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel); this.button11.ImageKey = "MetroUI-Calculator"; this.button11.ImageList = this.imageList1; this.button11.Location = new System.Drawing.Point(18, 36); this.button11.Name = "button11"; this.button11.Size = new System.Drawing.Size(377, 132); this.button11.TabIndex = 2; this.button11.Text = "Image Size Set in Image List"; this.button11.ToolTipText = "Click to change icon..."; this.button11.Click += new System.EventHandler(this.button11_Click); // // imageList1 // this.imageList1.Images.AddRange(new Wisej.Web.ImageListEntry[] { imageListEntry3, imageListEntry4 }); this.imageList1.ImageSize = new System.Drawing.Size(96, 96); // // Page1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F); this.AutoScaleMode = Wisej.Web.AutoScaleMode.Font; this.Controls.Add(this.flowLayoutPanel1); this.Name = "Page1"; this.Size = new System.Drawing.Size(1027, 727); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(AutoTreeView)); Wisej.Web.ImageListEntry imageListEntry1 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images"))), "Node.png"); Wisej.Web.ImageListEntry imageListEntry2 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images1"))), "NodeSelected.png"); Wisej.Web.ImageListEntry imageListEntry3 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images2"))), "ReadOnlyNode.png"); Wisej.Web.ImageListEntry imageListEntry4 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images3"))), "ReadOnlyNodeSelected.png"); this.buttonView = new Wisej.Web.Button(); this.textboxView = new Wisej.Web.TextBox(); this.textboxModel = new Wisej.Web.TextBox(); this.buttonModel = new Wisej.Web.Button(); this.boundTreeView1 = new MvvmFx.Controls.WisejWeb.BoundTreeView(); this.imageList = new Wisej.Web.ImageList(this.components); this.label1 = new Wisej.Web.Label(); this.leafListBindingSource = new Wisej.Web.BindingSource(this.components); this.leafName = new Wisej.Web.Label(); this.dragDropStatusLabel = new Wisej.Web.Label(); this.leafId = new Wisej.Web.Label(); this.label3 = new Wisej.Web.Label(); this.leafParentId = new Wisej.Web.Label(); this.label5 = new Wisej.Web.Label(); this.refreshButton = new Wisej.Web.Button(); this.sortButton = new Wisej.Web.Button(); this.expandButton = new Wisej.Web.Button(); this.readOnlyAllowSelectCheckBox = new Wisej.Web.CheckBox(); this.readOnlyAllowDragCheckBox = new Wisej.Web.CheckBox(); this.readOnlyAllowDropCheckBox = new Wisej.Web.CheckBox(); this.collapseButton = new Wisej.Web.Button(); this.textBoxSelectValue = new Wisej.Web.TextBox(); this.selectValueButton = new Wisej.Web.Button(); this.allowDropOnDescendentsCheckBox = new Wisej.Web.CheckBox(); this.allowDropOnRootCheckBox = new Wisej.Web.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.leafListBindingSource)).BeginInit(); this.SuspendLayout(); // // buttonView // this.buttonView.Location = new System.Drawing.Point(249, 101); this.buttonView.Name = "buttonView"; this.buttonView.Size = new System.Drawing.Size(84, 23); this.buttonView.TabIndex = 19; this.buttonView.Text = "Set View"; this.buttonView.Click += new System.EventHandler(this.tvButtonView_Click); // // textboxView // this.textboxView.Location = new System.Drawing.Point(249, 78); this.textboxView.Name = "textboxView"; this.textboxView.Size = new System.Drawing.Size(100, 20); this.textboxView.TabIndex = 18; // // textboxModel // this.textboxModel.Location = new System.Drawing.Point(249, 13); this.textboxModel.Name = "textboxModel"; this.textboxModel.Size = new System.Drawing.Size(100, 20); this.textboxModel.TabIndex = 17; // // buttonModel // this.buttonModel.Location = new System.Drawing.Point(249, 36); this.buttonModel.Name = "buttonModel"; this.buttonModel.Size = new System.Drawing.Size(84, 23); this.buttonModel.TabIndex = 16; this.buttonModel.Text = "Set Model"; this.buttonModel.Click += new System.EventHandler(this.tvButtonModel_Click); // // leafListBindingSource // this.leafListBindingSource.DataSource = typeof(BoundControls.Business.LeafList); this.leafListBindingSource.RefreshValueOnChange = true; // // boundTreeView1 // this.boundTreeView1.AllowDrag = true; this.boundTreeView1.AllowDrop = true; //this.boundTreeView1.DataSource = this.leafListBindingSource; this.boundTreeView1.DisplayMember = "LeafName"; this.boundTreeView1.DuplicatedCaption = "Duplicated Identifier Error"; this.boundTreeView1.DuplicatedMessage = "Node \"{0}\" duplicates identifier \"{1}\""; this.boundTreeView1.GeneralNodeError = "Error at node."; this.boundTreeView1.IdentifierMember = "LeafId"; this.boundTreeView1.ImageIndex = 0; this.boundTreeView1.ImageList = this.imageList; this.boundTreeView1.InexistentParent = "Parent of node does not exist."; this.boundTreeView1.LabelEdit = true; this.boundTreeView1.Location = new System.Drawing.Point(16, 13); this.boundTreeView1.Name = "boundTreeView1"; this.boundTreeView1.OpenedImageIndex = 1; this.boundTreeView1.ParentIdentifierMember = "LeafParentId"; this.boundTreeView1.ReadOnlyImageIndex = 2; this.boundTreeView1.ReadOnlyMember = "LeafIsReadOnly"; this.boundTreeView1.ReadOnlyOpenedImageIndex = 3; this.boundTreeView1.ReadOnlySelectedImageIndex = 3; this.boundTreeView1.SelectedImageIndex = 1; this.boundTreeView1.SelfParent = "Parent of node cannot be the node itself."; this.boundTreeView1.ShowNodeToolTips = true; this.boundTreeView1.Size = new System.Drawing.Size(212, 394); this.boundTreeView1.Sorted = false; this.boundTreeView1.TabIndex = 15; this.boundTreeView1.ToolTipTextMember = "LeafDescription"; this.boundTreeView1.ValueMember = "LeafId"; this.boundTreeView1.AfterLabelEdit += new Wisej.Web.NodeLabelEditEventHandler(this.boundTreeView1_AfterLabelEdit); this.boundTreeView1.BindingContextChanged += new System.EventHandler(this.boundTreeView1_BindingContextChanged); this.boundTreeView1.DragDrop += new Wisej.Web.DragEventHandler(this.boundTreeView1_DragDrop); this.boundTreeView1.SelectedValueChanged += new System.EventHandler(this.boundTreeView1_SelectedValueChanged); // // imageList // this.imageList.Images.AddRange(new Wisej.Web.ImageListEntry[] { imageListEntry1, imageListEntry2, imageListEntry3, imageListEntry4 }); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(543, 66); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(82, 13); this.label1.TabIndex = 20; this.label1.Text = "Leaf Name:"; // // leafName // this.leafName.Location = new System.Drawing.Point(661, 66); this.leafName.Name = "leafName"; this.leafName.Size = new System.Drawing.Size(100, 13); this.leafName.TabIndex = 21; this.leafName.Text = "Leaf Name"; // // dragDropStatusLabel // this.dragDropStatusLabel.Location = new System.Drawing.Point(543, 216); this.dragDropStatusLabel.Name = "dragDropStatusLabel"; this.dragDropStatusLabel.Size = new System.Drawing.Size(200, 13); this.dragDropStatusLabel.TabIndex = 28; this.dragDropStatusLabel.Text = "Current Drag&&Drop Status"; // // leafId // this.leafId.Location = new System.Drawing.Point(664, 104); this.leafId.Name = "leafId"; this.leafId.Size = new System.Drawing.Size(100, 13); this.leafId.TabIndex = 30; this.leafId.Text = "Leaf Id"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(543, 104); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(65, 13); this.label3.TabIndex = 29; this.label3.Text = "Leaf Id:"; // // leafParentId // this.leafParentId.Location = new System.Drawing.Point(666, 143); this.leafParentId.Name = "leafParentId"; this.leafParentId.Size = new System.Drawing.Size(100, 13); this.leafParentId.TabIndex = 32; this.leafParentId.Text = "Leaf Parent Id"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(543, 143); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(96, 13); this.label5.TabIndex = 31; this.label5.Text = "Leaf Parent Id:"; // // refreshButton // this.refreshButton.Location = new System.Drawing.Point(249, 261); this.refreshButton.Name = "refreshButton"; this.refreshButton.Size = new System.Drawing.Size(84, 23); this.refreshButton.TabIndex = 33; this.refreshButton.Text = "Refresh"; this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click); // // sortButton // this.sortButton.Location = new System.Drawing.Point(249, 300); this.sortButton.Name = "sortButton"; this.sortButton.Size = new System.Drawing.Size(84, 23); this.sortButton.TabIndex = 33; this.sortButton.Text = "Sort"; this.sortButton.Click += new System.EventHandler(this.sortButton_Click); // // expandButton // this.expandButton.Location = new System.Drawing.Point(249, 343); this.expandButton.Name = "expandButton"; this.expandButton.Size = new System.Drawing.Size(84, 23); this.expandButton.TabIndex = 33; this.expandButton.Text = "Expand"; this.expandButton.Click += new System.EventHandler(this.expandButton_Click); // // readOnlyAllowSelectCheckBox // this.readOnlyAllowSelectCheckBox.AutoSize = true; this.readOnlyAllowSelectCheckBox.Location = new System.Drawing.Point(249, 142); this.readOnlyAllowSelectCheckBox.Name = "readOnlyAllowSelectCheckBox"; this.readOnlyAllowSelectCheckBox.Size = new System.Drawing.Size(134, 17); this.readOnlyAllowSelectCheckBox.TabIndex = 34; this.readOnlyAllowSelectCheckBox.Text = "ReadOnly Allow Select"; this.readOnlyAllowSelectCheckBox.CheckedChanged += new System.EventHandler(this.readOnlyAllowSelectCheckBox_CheckedChanged); // // readOnlyAllowDragCheckBox // this.readOnlyAllowDragCheckBox.AutoSize = true; this.readOnlyAllowDragCheckBox.Location = new System.Drawing.Point(249, 159); this.readOnlyAllowDragCheckBox.Name = "readOnlyAllowDragCheckBox"; this.readOnlyAllowDragCheckBox.Size = new System.Drawing.Size(127, 17); this.readOnlyAllowDragCheckBox.TabIndex = 34; this.readOnlyAllowDragCheckBox.Text = "ReadOnly Allow Drag"; this.readOnlyAllowDragCheckBox.CheckedChanged += new System.EventHandler(this.readOnlyAllowDragCheckBox_CheckedChanged); // // readOnlyAllowDropCheckBox // this.readOnlyAllowDropCheckBox.AutoSize = true; this.readOnlyAllowDropCheckBox.Location = new System.Drawing.Point(249, 176); this.readOnlyAllowDropCheckBox.Name = "readOnlyAllowDropCheckBox"; this.readOnlyAllowDropCheckBox.Size = new System.Drawing.Size(127, 17); this.readOnlyAllowDropCheckBox.TabIndex = 34; this.readOnlyAllowDropCheckBox.Text = "ReadOnly Allow Drop"; this.readOnlyAllowDropCheckBox.CheckedChanged += new System.EventHandler(this.readOnlyAllowDropCheckBox_CheckedChanged); // // collapseButton // this.collapseButton.Location = new System.Drawing.Point(249, 384); this.collapseButton.Name = "collapseButton"; this.collapseButton.Size = new System.Drawing.Size(84, 23); this.collapseButton.TabIndex = 33; this.collapseButton.Text = "Collapse"; this.collapseButton.Click += new System.EventHandler(this.collapseButton_Click); // // allowDropOnDescendentsCheckBox // this.allowDropOnDescendentsCheckBox.AutoSize = true; this.allowDropOnDescendentsCheckBox.Location = new System.Drawing.Point(249, 192); this.allowDropOnDescendentsCheckBox.Name = "allowDropOnDescendentsCheckBox"; this.allowDropOnDescendentsCheckBox.Size = new System.Drawing.Size(127, 17); this.allowDropOnDescendentsCheckBox.TabIndex = 35; this.allowDropOnDescendentsCheckBox.Text = "Allow Drop On Descendents"; this.allowDropOnDescendentsCheckBox.CheckedChanged += new System.EventHandler(this.allowDropOnDescendentsCheckBox_CheckedChanged); // // allowDropOnRootCheckBox // this.allowDropOnRootCheckBox.AutoSize = true; this.allowDropOnRootCheckBox.Location = new System.Drawing.Point(249, 208); this.allowDropOnRootCheckBox.Name = "allowDropOnRootCheckBox"; this.allowDropOnRootCheckBox.Size = new System.Drawing.Size(127, 17); this.allowDropOnRootCheckBox.TabIndex = 35; this.allowDropOnRootCheckBox.Text = "Allow Drop On Root"; this.allowDropOnRootCheckBox.CheckedChanged += new System.EventHandler(this.allowDropOnRootCheckBox_CheckedChanged); // // textBoxSelectValue // this.textBoxSelectValue.AutoComplete = Wisej.Web.AutoComplete.On; this.textBoxSelectValue.AutoCompleteList = new string[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }; this.textBoxSelectValue.Location = new System.Drawing.Point(546, 264); this.textBoxSelectValue.Name = "textBoxSelectValue"; this.textBoxSelectValue.Size = new System.Drawing.Size(84, 20); this.textBoxSelectValue.TabIndex = 37; // // selectValueButton // this.selectValueButton.Location = new System.Drawing.Point(546, 287); this.selectValueButton.Name = "selectValueButton"; this.selectValueButton.Size = new System.Drawing.Size(84, 23); this.selectValueButton.TabIndex = 36; this.selectValueButton.Text = "Select Value"; this.selectValueButton.Click += new System.EventHandler(this.selectValueButton_Click); // // AutoTreeView // this.Controls.Add(this.textBoxSelectValue); this.Controls.Add(this.selectValueButton); this.Controls.Add(this.allowDropOnRootCheckBox); this.Controls.Add(this.allowDropOnDescendentsCheckBox); this.Controls.Add(this.collapseButton); this.Controls.Add(this.readOnlyAllowDropCheckBox); this.Controls.Add(this.readOnlyAllowDragCheckBox); this.Controls.Add(this.readOnlyAllowSelectCheckBox); this.Controls.Add(this.sortButton); this.Controls.Add(this.expandButton); this.Controls.Add(this.refreshButton); this.Controls.Add(this.leafParentId); this.Controls.Add(this.label5); this.Controls.Add(this.leafId); this.Controls.Add(this.label3); this.Controls.Add(this.dragDropStatusLabel); this.Controls.Add(this.leafName); this.Controls.Add(this.label1); this.Controls.Add(this.buttonView); this.Controls.Add(this.textboxView); this.Controls.Add(this.textboxModel); this.Controls.Add(this.buttonModel); //this.Controls.Add(this.boundTreeView1); this.MaximumSize = new System.Drawing.Size(931, 438); this.MinimumSize = new System.Drawing.Size(931, 438); this.Name = "AutoTreeView"; this.Size = new System.Drawing.Size(931, 438); this.Text = "AutoTreeView"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.leafListBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(TreeView)); Wisej.Web.ImageListEntry imageListEntry1 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images"))), "Node.png"); Wisej.Web.ImageListEntry imageListEntry2 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images1"))), "NodeSelected.png"); Wisej.Web.ImageListEntry imageListEntry3 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images2"))), "ReadOnlyNode.png"); Wisej.Web.ImageListEntry imageListEntry4 = new Wisej.Web.ImageListEntry(((System.Drawing.Image)(resources.GetObject("imageList.Images3"))), "ReadOnlyNodeSelected.png"); this.docTypeListBindingSource = new Wisej.Web.BindingSource(this.components); this.buttonView = new Wisej.Web.Button(); this.textboxView = new Wisej.Web.TextBox(); this.textboxModel = new Wisej.Web.TextBox(); this.buttonModel = new Wisej.Web.Button(); this.boundTreeView1 = new MvvmFx.WisejForms.BoundTreeView(); this.imageList = new Wisej.Web.ImageList(this.components); this.label1 = new Wisej.Web.Label(); this.docTypeName = new Wisej.Web.Label(); this.dragDropStatusLabel = new Wisej.Web.Label(); this.docTypeID = new Wisej.Web.Label(); this.label3 = new Wisej.Web.Label(); this.docTypeParentID = new Wisej.Web.Label(); this.label5 = new Wisej.Web.Label(); this.refreshButton = new Wisej.Web.Button(); this.sortButton = new Wisej.Web.Button(); this.expandButton = new Wisej.Web.Button(); this.readOnlyAllowSelectCheckBox = new Wisej.Web.CheckBox(); this.readOnlyAllowDragCheckBox = new Wisej.Web.CheckBox(); this.readOnlyAllowDropCheckBox = new Wisej.Web.CheckBox(); this.collapseButton = new Wisej.Web.Button(); this.allowDropOnDescendentsCheckBox = new Wisej.Web.CheckBox(); this.allowDropOnRootCheckBox = new Wisej.Web.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.docTypeListBindingSource)).BeginInit(); this.SuspendLayout(); // // docTypeListBindingSource // this.docTypeListBindingSource.DataSource = typeof(BoundControls.Business.DocTypeEditColl); // // buttonView // this.buttonView.Location = new System.Drawing.Point(249, 101); this.buttonView.Name = "buttonView"; this.buttonView.Size = new System.Drawing.Size(84, 23); this.buttonView.TabIndex = 19; this.buttonView.Text = "Set View"; this.buttonView.Click += new System.EventHandler(this.tvButtonView_Click); // // textboxView // this.textboxView.Location = new System.Drawing.Point(249, 78); this.textboxView.Name = "textboxView"; this.textboxView.Size = new System.Drawing.Size(100, 20); this.textboxView.TabIndex = 18; // // textboxModel // this.textboxModel.Location = new System.Drawing.Point(249, 13); this.textboxModel.Name = "textboxModel"; this.textboxModel.Size = new System.Drawing.Size(100, 20); this.textboxModel.TabIndex = 17; // // buttonModel // this.buttonModel.Location = new System.Drawing.Point(249, 36); this.buttonModel.Name = "buttonModel"; this.buttonModel.Size = new System.Drawing.Size(84, 23); this.buttonModel.TabIndex = 16; this.buttonModel.Text = "Set Model"; this.buttonModel.Click += new System.EventHandler(this.tvButtonModel_Click); // // boundTreeView1 // this.boundTreeView1.AllowDrag = true; this.boundTreeView1.AllowDrop = true; this.boundTreeView1.DataSource = this.docTypeListBindingSource; this.boundTreeView1.DisplayMember = "DocTypeName"; this.boundTreeView1.DuplicatedCaption = "Duplicated Identifier Error"; this.boundTreeView1.DuplicatedMessage = "Node \"{0}\" duplicates identifier \"{1}\""; this.boundTreeView1.GeneralNodeError = "Error at node."; this.boundTreeView1.IdentifierMember = "DocTypeID"; this.boundTreeView1.ImageIndex = 0; this.boundTreeView1.ImageList = this.imageList; this.boundTreeView1.InexistentParent = "Parent of node does not exist."; this.boundTreeView1.LabelEdit = true; this.boundTreeView1.Location = new System.Drawing.Point(16, 13); this.boundTreeView1.Name = "boundTreeView1"; this.boundTreeView1.OpenedImageIndex = 1; this.boundTreeView1.ParentIdentifierMember = "DocTypeParentID"; this.boundTreeView1.ReadOnlyImageIndex = 2; this.boundTreeView1.ReadOnlyMember = "DocTypeIsReadOnly"; this.boundTreeView1.ReadOnlySelectedImageIndex = 3; this.boundTreeView1.SelectedImageIndex = 1; this.boundTreeView1.SelfParent = "Parent of node cannot be the node itself."; this.boundTreeView1.ShowNodeToolTips = true; this.boundTreeView1.Size = new System.Drawing.Size(212, 394); this.boundTreeView1.Sorted = false; this.boundTreeView1.TabIndex = 15; this.boundTreeView1.ToolTipTextMember = "DocTypeDescription"; this.boundTreeView1.ValueMember = "DocTypeID"; this.boundTreeView1.SelectedValueChanged += new System.EventHandler(this.boundTreeView1_SelectedValueChanged); this.boundTreeView1.AfterLabelEdit += new Wisej.Web.NodeLabelEditEventHandler(this.boundTreeView1_AfterLabelEdit); this.boundTreeView1.DragDrop += new Wisej.Web.DragEventHandler(this.boundTreeView1_DragDrop); // // imageList // this.imageList.Images.AddRange(new Wisej.Web.ImageListEntry[] { imageListEntry1, imageListEntry2, imageListEntry3, imageListEntry4}); // // label1 // this.label1.AutoSize = false; this.label1.Location = new System.Drawing.Point(543, 66); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(82, 13); this.label1.TabIndex = 20; this.label1.Text = "DocTypeName:"; // // docTypeName // this.docTypeName.AutoSize = false; this.docTypeName.Location = new System.Drawing.Point(661, 66); this.docTypeName.Name = "docTypeName"; this.docTypeName.Size = new System.Drawing.Size(100, 13); this.docTypeName.TabIndex = 21; this.docTypeName.Text = "DocTypeName"; // // dragDropStatusLabel // this.dragDropStatusLabel.AutoSize = false; this.dragDropStatusLabel.Location = new System.Drawing.Point(543, 216); this.dragDropStatusLabel.Name = "dragDropStatusLabel"; this.dragDropStatusLabel.Size = new System.Drawing.Size(200, 13); this.dragDropStatusLabel.TabIndex = 28; this.dragDropStatusLabel.Text = "Current Drag&&Drop Status"; // // docTypeID // this.docTypeID.AutoSize = false; this.docTypeID.Location = new System.Drawing.Point(664, 104); this.docTypeID.Name = "docTypeID"; this.docTypeID.Size = new System.Drawing.Size(100, 13); this.docTypeID.TabIndex = 30; this.docTypeID.Text = "DocTypeID"; // // label3 // this.label3.AutoSize = false; this.label3.Location = new System.Drawing.Point(543, 104); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(65, 13); this.label3.TabIndex = 29; this.label3.Text = "DocTypeID:"; // // docTypeParentID // this.docTypeParentID.AutoSize = false; this.docTypeParentID.Location = new System.Drawing.Point(666, 143); this.docTypeParentID.Name = "docTypeParentID"; this.docTypeParentID.Size = new System.Drawing.Size(100, 13); this.docTypeParentID.TabIndex = 32; this.docTypeParentID.Text = "DocTypeParentID"; // // label5 // this.label5.AutoSize = false; this.label5.Location = new System.Drawing.Point(543, 143); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(96, 13); this.label5.TabIndex = 31; this.label5.Text = "DocTypeParentID:"; // // refreshButton // this.refreshButton.Location = new System.Drawing.Point(249, 261); this.refreshButton.Name = "refreshButton"; this.refreshButton.Size = new System.Drawing.Size(84, 23); this.refreshButton.TabIndex = 33; this.refreshButton.Text = "Refresh"; this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click); // // sortButton // this.sortButton.Location = new System.Drawing.Point(249, 300); this.sortButton.Name = "sortButton"; this.sortButton.Size = new System.Drawing.Size(84, 23); this.sortButton.TabIndex = 33; this.sortButton.Text = "Sort"; this.sortButton.Click += new System.EventHandler(this.sortButton_Click); // // expandButton // this.expandButton.Location = new System.Drawing.Point(249, 343); this.expandButton.Name = "expandButton"; this.expandButton.Size = new System.Drawing.Size(84, 23); this.expandButton.TabIndex = 33; this.expandButton.Text = "Expand"; this.expandButton.Click += new System.EventHandler(this.expandButton_Click); // // readOnlyAllowSelectCheckBox // this.readOnlyAllowSelectCheckBox.AutoSize = false; this.readOnlyAllowSelectCheckBox.Location = new System.Drawing.Point(249, 142); this.readOnlyAllowSelectCheckBox.Name = "readOnlyAllowSelectCheckBox"; this.readOnlyAllowSelectCheckBox.Size = new System.Drawing.Size(134, 17); this.readOnlyAllowSelectCheckBox.TabIndex = 34; this.readOnlyAllowSelectCheckBox.Text = "ReadOnly Allow Select"; this.readOnlyAllowSelectCheckBox.CheckedChanged += new System.EventHandler(this.readOnlyAllowSelectCheckBox_CheckedChanged); // // readOnlyAllowDragCheckBox // this.readOnlyAllowDragCheckBox.AutoSize = false; this.readOnlyAllowDragCheckBox.Location = new System.Drawing.Point(249, 159); this.readOnlyAllowDragCheckBox.Name = "readOnlyAllowDragCheckBox"; this.readOnlyAllowDragCheckBox.Size = new System.Drawing.Size(127, 17); this.readOnlyAllowDragCheckBox.TabIndex = 34; this.readOnlyAllowDragCheckBox.Text = "ReadOnly Allow Drag"; this.readOnlyAllowDragCheckBox.CheckedChanged += new System.EventHandler(this.readOnlyAllowDragCheckBox_CheckedChanged); // // readOnlyAllowDropCheckBox // this.readOnlyAllowDropCheckBox.AutoSize = false; this.readOnlyAllowDropCheckBox.Location = new System.Drawing.Point(249, 176); this.readOnlyAllowDropCheckBox.Name = "readOnlyAllowDropCheckBox"; this.readOnlyAllowDropCheckBox.Size = new System.Drawing.Size(127, 17); this.readOnlyAllowDropCheckBox.TabIndex = 34; this.readOnlyAllowDropCheckBox.Text = "ReadOnly Allow Drop"; this.readOnlyAllowDropCheckBox.CheckedChanged += new System.EventHandler(this.readOnlyAllowDropCheckBox_CheckedChanged); // // collapseButton // this.collapseButton.Location = new System.Drawing.Point(249, 384); this.collapseButton.Name = "collapseButton"; this.collapseButton.Size = new System.Drawing.Size(84, 23); this.collapseButton.TabIndex = 33; this.collapseButton.Text = "Collapse"; this.collapseButton.Click += new System.EventHandler(this.collapseButton_Click); // // allowDropOnDescendentsCheckBox // this.allowDropOnDescendentsCheckBox.AutoSize = false; this.allowDropOnDescendentsCheckBox.Location = new System.Drawing.Point(249, 192); this.allowDropOnDescendentsCheckBox.Name = "allowDropOnDescendentsCheckBox"; this.allowDropOnDescendentsCheckBox.Size = new System.Drawing.Size(127, 17); this.allowDropOnDescendentsCheckBox.TabIndex = 35; this.allowDropOnDescendentsCheckBox.Text = "Allow Drop On Descendents"; this.allowDropOnDescendentsCheckBox.CheckedChanged += new System.EventHandler(this.allowDropOnDescendentsCheckBox_CheckedChanged); // // allowDropOnRootCheckBox // this.allowDropOnRootCheckBox.AutoSize = false; this.allowDropOnRootCheckBox.Location = new System.Drawing.Point(249, 208); this.allowDropOnRootCheckBox.Name = "allowDropOnRootCheckBox"; this.allowDropOnRootCheckBox.Size = new System.Drawing.Size(127, 17); this.allowDropOnRootCheckBox.TabIndex = 35; this.allowDropOnRootCheckBox.Text = "Allow Drop On Root"; this.allowDropOnRootCheckBox.CheckedChanged += new System.EventHandler(this.allowDropOnRootCheckBox_CheckedChanged); // // TreeView // this.Controls.Add(this.allowDropOnRootCheckBox); this.Controls.Add(this.allowDropOnDescendentsCheckBox); this.Controls.Add(this.collapseButton); this.Controls.Add(this.readOnlyAllowDropCheckBox); this.Controls.Add(this.readOnlyAllowDragCheckBox); this.Controls.Add(this.readOnlyAllowSelectCheckBox); this.Controls.Add(this.sortButton); this.Controls.Add(this.expandButton); this.Controls.Add(this.refreshButton); this.Controls.Add(this.docTypeParentID); this.Controls.Add(this.label5); this.Controls.Add(this.docTypeID); this.Controls.Add(this.label3); this.Controls.Add(this.dragDropStatusLabel); this.Controls.Add(this.docTypeName); this.Controls.Add(this.label1); this.Controls.Add(this.buttonView); this.Controls.Add(this.textboxView); this.Controls.Add(this.textboxModel); this.Controls.Add(this.buttonModel); this.Controls.Add(this.boundTreeView1); this.MaximumSize = new System.Drawing.Size(931, 425); this.MinimumSize = new System.Drawing.Size(931, 425); this.Name = "TreeView"; this.Size = new System.Drawing.Size(931, 425); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.docTypeListBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }