Exemplo n.º 1
0
 private void InitializeComponent()
 {
     this.radPageView           = new RadPageView();
     this.toolstripsPage        = new RadPageViewPage();
     this.stripsListControl     = new RadListControl();
     this.toolstripItemsPage    = new RadPageViewPage();
     this.resetItemsButton      = new RadButton();
     this.chooseToolstripLabel  = new RadLabel();
     this.moveDownButton        = new RadButton();
     this.moveUpButton          = new RadButton();
     this.stripItemsListControl = new RadListControl();
     this.stripsDropDownList    = new RadDropDownList();
     this.closeButton           = new RadButton();
     this.radPageView.BeginInit();
     this.radPageView.SuspendLayout();
     this.toolstripsPage.SuspendLayout();
     this.stripsListControl.BeginInit();
     this.toolstripItemsPage.SuspendLayout();
     this.resetItemsButton.BeginInit();
     this.chooseToolstripLabel.BeginInit();
     this.moveDownButton.BeginInit();
     this.moveUpButton.BeginInit();
     this.stripItemsListControl.BeginInit();
     this.stripsDropDownList.BeginInit();
     this.closeButton.BeginInit();
     this.BeginInit();
     this.SuspendLayout();
     this.radPageView.Controls.Add((Control)this.toolstripsPage);
     this.radPageView.Controls.Add((Control)this.toolstripItemsPage);
     this.radPageView.Location     = new Point(0, 0);
     this.radPageView.Name         = "radPageView";
     this.radPageView.SelectedPage = this.toolstripItemsPage;
     this.radPageView.Size         = new Size(399, 352);
     this.radPageView.TabIndex     = 0;
     this.radPageView.Text         = "f";
     this.toolstripsPage.Controls.Add((Control)this.stripsListControl);
     this.toolstripsPage.Location    = new Point(10, 37);
     this.toolstripsPage.Name        = "toolstripsPage";
     this.toolstripsPage.Size        = new Size(378, 304);
     this.toolstripsPage.Text        = "Toolstrips";
     this.stripsListControl.Location = new Point(3, 3);
     this.stripsListControl.Name     = "stripsListControl";
     this.stripsListControl.Size     = new Size(372, 298);
     this.stripsListControl.TabIndex = 0;
     this.stripsListControl.Text     = "radListControl1";
     this.toolstripItemsPage.Controls.Add((Control)this.resetItemsButton);
     this.toolstripItemsPage.Controls.Add((Control)this.chooseToolstripLabel);
     this.toolstripItemsPage.Controls.Add((Control)this.moveDownButton);
     this.toolstripItemsPage.Controls.Add((Control)this.moveUpButton);
     this.toolstripItemsPage.Controls.Add((Control)this.stripItemsListControl);
     this.toolstripItemsPage.Controls.Add((Control)this.stripsDropDownList);
     this.toolstripItemsPage.Location    = new Point(10, 37);
     this.toolstripItemsPage.Name        = "toolstripItemsPage";
     this.toolstripItemsPage.Size        = new Size(378, 304);
     this.toolstripItemsPage.Text        = "Toolstrip Items";
     this.resetItemsButton.Location      = new Point(285, 115);
     this.resetItemsButton.Name          = "resetItemsButton";
     this.resetItemsButton.Size          = new Size(91, 24);
     this.resetItemsButton.TabIndex      = 8;
     this.resetItemsButton.Text          = "Reset";
     this.resetItemsButton.Visible       = false;
     this.chooseToolstripLabel.BackColor = Color.Transparent;
     this.chooseToolstripLabel.Location  = new Point(1, 3);
     this.chooseToolstripLabel.Name      = "chooseToolstripLabel";
     this.chooseToolstripLabel.Size      = new Size(165, 18);
     this.chooseToolstripLabel.TabIndex  = 7;
     this.chooseToolstripLabel.Text      = "Choose a toolstrip to rearrange:";
     this.moveDownButton.Location        = new Point(285, 85);
     this.moveDownButton.Name            = "moveDownButton";
     this.moveDownButton.Size            = new Size(90, 24);
     this.moveDownButton.TabIndex        = 6;
     this.moveDownButton.Text            = "Move Down";
     this.moveDownButton.Click          += new EventHandler(this.moveDownButton_Click);
     this.moveUpButton.Location          = new Point(286, 55);
     this.moveUpButton.Name                        = "moveUpButton";
     this.moveUpButton.Size                        = new Size(89, 24);
     this.moveUpButton.TabIndex                    = 5;
     this.moveUpButton.Text                        = "Move Up";
     this.moveUpButton.Click                      += new EventHandler(this.moveUpButton_Click);
     this.stripItemsListControl.Location           = new Point(3, 55);
     this.stripItemsListControl.Name               = "stripItemsListControl";
     this.stripItemsListControl.Size               = new Size(277, 246);
     this.stripItemsListControl.TabIndex           = 1;
     this.stripItemsListControl.Text               = "radListControl1";
     this.stripsDropDownList.Location              = new Point(3, 27);
     this.stripsDropDownList.Name                  = "stripsDropDownList";
     this.stripsDropDownList.Size                  = new Size(372, 20);
     this.stripsDropDownList.TabIndex              = 0;
     this.stripsDropDownList.SelectedValueChanged += new EventHandler(this.toolstripsDownList_SelectedValueChanged);
     this.closeButton.Location                     = new Point(299, 358);
     this.closeButton.Name     = "closeButton";
     this.closeButton.Size     = new Size(93, 24);
     this.closeButton.TabIndex = 2;
     this.closeButton.Text     = "Close";
     this.AutoScaleDimensions  = new SizeF(6f, 13f);
     this.AutoScaleMode        = AutoScaleMode.None;
     this.ClientSize           = new Size(407, 390);
     this.Controls.Add((Control)this.closeButton);
     this.Controls.Add((Control)this.radPageView);
     this.Name = nameof(CommandBarCustomizeDialog);
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = FormStartPosition.CenterScreen;
     this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.Text            = "Customize";
     this.radPageView.EndInit();
     this.radPageView.ResumeLayout(false);
     this.toolstripsPage.ResumeLayout(false);
     this.stripsListControl.EndInit();
     this.toolstripItemsPage.ResumeLayout(false);
     this.toolstripItemsPage.PerformLayout();
     this.resetItemsButton.EndInit();
     this.chooseToolstripLabel.EndInit();
     this.moveDownButton.EndInit();
     this.moveUpButton.EndInit();
     this.stripItemsListControl.EndInit();
     this.stripsDropDownList.EndInit();
     this.closeButton.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.radGroupBox1             = new RadGroupBox();
     this.radLabel2                = new RadLabel();
     this.radLabel1                = new RadLabel();
     this.radButtonRemoveOne       = new RadButton();
     this.radButtonRemoveAll       = new RadButton();
     this.radButtonAddAll          = new RadButton();
     this.radButtonAddOne          = new RadButton();
     this.radListBoxAssociatedTabs = new RadListControl();
     this.radListBoxAvaibleTabs    = new RadListControl();
     this.radButtonOk              = new RadButton();
     this.radButtonCancel          = new RadButton();
     this.radGroupBox1.BeginInit();
     this.radGroupBox1.SuspendLayout();
     this.radLabel2.BeginInit();
     this.radLabel1.BeginInit();
     this.radButtonRemoveOne.BeginInit();
     this.radButtonRemoveAll.BeginInit();
     this.radButtonAddAll.BeginInit();
     this.radButtonAddOne.BeginInit();
     this.radListBoxAssociatedTabs.BeginInit();
     this.radListBoxAvaibleTabs.BeginInit();
     this.radButtonOk.BeginInit();
     this.radButtonCancel.BeginInit();
     this.SuspendLayout();
     this.radGroupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radGroupBox1.Controls.Add((Control)this.radLabel2);
     this.radGroupBox1.Controls.Add((Control)this.radLabel1);
     this.radGroupBox1.Controls.Add((Control)this.radButtonRemoveOne);
     this.radGroupBox1.Controls.Add((Control)this.radButtonRemoveAll);
     this.radGroupBox1.Controls.Add((Control)this.radButtonAddAll);
     this.radGroupBox1.Controls.Add((Control)this.radButtonAddOne);
     this.radGroupBox1.Controls.Add((Control)this.radListBoxAssociatedTabs);
     this.radGroupBox1.Controls.Add((Control)this.radListBoxAvaibleTabs);
     this.radGroupBox1.FooterImageIndex = -1;
     this.radGroupBox1.FooterImageKey   = "";
     this.radGroupBox1.HeaderImageIndex = -1;
     this.radGroupBox1.HeaderImageKey   = "";
     this.radGroupBox1.HeaderMargin     = new Padding(0);
     this.radGroupBox1.HeaderText       = "Tabs";
     this.radGroupBox1.Location         = new Point(13, 13);
     this.radGroupBox1.Name             = "radGroupBox1";
     this.radGroupBox1.Size             = new Size(588, 412);
     this.radGroupBox1.TabIndex         = 0;
     this.radGroupBox1.Text             = "Tabs";
     this.radLabel2.Location            = new Point(325, 33);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new Size(88, 14);
     this.radLabel2.TabIndex = 5;
     this.radLabel2.Text     = "Associated Tabs";
     this.radLabel1.Location = new Point(13, 33);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new Size(79, 14);
     this.radLabel1.TabIndex = 5;
     this.radLabel1.Text     = "Available Tabs";
     this.radButtonRemoveOne.AllowShowFocusCues = true;
     this.radButtonRemoveOne.Location           = new Point(246, 146);
     this.radButtonRemoveOne.Name               = "radButtonRemoveOne";
     this.radButtonRemoveOne.Size               = new Size(75, 23);
     this.radButtonRemoveOne.TabIndex           = 4;
     this.radButtonRemoveOne.Text               = "<";
     this.radButtonRemoveOne.Click             += new EventHandler(this.radButtonRemoveOne_Click);
     this.radButtonRemoveAll.AllowShowFocusCues = true;
     this.radButtonRemoveAll.Location           = new Point(246, 116);
     this.radButtonRemoveAll.Name               = "radButtonRemoveAll";
     this.radButtonRemoveAll.Size               = new Size(75, 23);
     this.radButtonRemoveAll.TabIndex           = 3;
     this.radButtonRemoveAll.Text               = "<<";
     this.radButtonRemoveAll.Click             += new EventHandler(this.radButtonRemoveAll_Click);
     this.radButtonAddAll.AllowShowFocusCues    = true;
     this.radButtonAddAll.Location              = new Point(246, 86);
     this.radButtonAddAll.Name                   = "radButtonAddAll";
     this.radButtonAddAll.Size                   = new Size(75, 23);
     this.radButtonAddAll.TabIndex               = 2;
     this.radButtonAddAll.Text                   = ">>";
     this.radButtonAddAll.Click                 += new EventHandler(this.radButtonAddAll_Click);
     this.radButtonAddOne.AllowShowFocusCues     = true;
     this.radButtonAddOne.Location               = new Point(246, 57);
     this.radButtonAddOne.Name                   = "radButtonAddOne";
     this.radButtonAddOne.Size                   = new Size(75, 23);
     this.radButtonAddOne.TabIndex               = 1;
     this.radButtonAddOne.Text                   = ">";
     this.radButtonAddOne.Click                 += new EventHandler(this.radButtonAddOne_Click);
     this.radListBoxAssociatedTabs.Anchor        = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radListBoxAssociatedTabs.Location      = new Point(325, 55);
     this.radListBoxAssociatedTabs.Name          = "radListBoxAssociatedTabs";
     this.radListBoxAssociatedTabs.SelectionMode = SelectionMode.MultiExtended;
     this.radListBoxAssociatedTabs.Size          = new Size(248, 340);
     this.radListBoxAssociatedTabs.TabIndex      = 0;
     this.radListBoxAvaibleTabs.Anchor           = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
     this.radListBoxAvaibleTabs.Location         = new Point(13, 55);
     this.radListBoxAvaibleTabs.Name             = "radListBoxAvaibleTabs";
     this.radListBoxAvaibleTabs.SelectionMode    = SelectionMode.MultiExtended;
     this.radListBoxAvaibleTabs.Size             = new Size(227, 340);
     this.radListBoxAvaibleTabs.TabIndex         = 0;
     this.radButtonOk.AllowShowFocusCues         = true;
     this.radButtonOk.Anchor   = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButtonOk.Location = new Point(422, 430);
     this.radButtonOk.Name     = "radButtonOk";
     this.radButtonOk.Size     = new Size(75, 23);
     this.radButtonOk.TabIndex = 1;
     this.radButtonOk.Text     = "OK";
     this.radButtonOk.Click   += new EventHandler(this.radButtonOk_Click);
     this.radButtonCancel.AllowShowFocusCues = true;
     this.radButtonCancel.Anchor             = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButtonCancel.Location           = new Point(524, 430);
     this.radButtonCancel.Name     = "radButtonCancel";
     this.radButtonCancel.Size     = new Size(75, 23);
     this.radButtonCancel.TabIndex = 2;
     this.radButtonCancel.Text     = "Cancel";
     this.radButtonCancel.Click   += new EventHandler(this.radButtonCancel_Click);
     this.AutoScaleDimensions      = new SizeF(6f, 13f);
     this.AutoScaleMode            = AutoScaleMode.None;
     this.ClientSize = new Size(613, 458);
     this.Controls.Add((Control)this.radButtonCancel);
     this.Controls.Add((Control)this.radButtonOk);
     this.Controls.Add((Control)this.radGroupBox1);
     this.FormBorderStyle = FormBorderStyle.FixedSingle;
     this.StartPosition   = FormStartPosition.CenterScreen;
     this.Name            = nameof(ContextulTabGroupsEditor);
     this.ShowInTaskbar   = false;
     this.Text            = "Contextual Tab Groups Editor";
     this.radGroupBox1.EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     this.radLabel2.EndInit();
     this.radLabel1.EndInit();
     this.radButtonRemoveOne.EndInit();
     this.radButtonRemoveAll.EndInit();
     this.radButtonAddAll.EndInit();
     this.radButtonAddOne.EndInit();
     this.radListBoxAssociatedTabs.EndInit();
     this.radListBoxAvaibleTabs.EndInit();
     this.radButtonOk.EndInit();
     this.radButtonCancel.EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.panel1            = new Panel();
     this.btnSaveLayout     = new RadButton();
     this.btnLoadLayout     = new RadButton();
     this.itemsListView     = new RadListView();
     this.radPageView1      = new RadPageView();
     this.radPageViewPage1  = new RadPageViewPage();
     this.radPageViewPage2  = new RadPageViewPage();
     this.structureTreeView = new RadTreeView();
     this.btnSaveLayout.BeginInit();
     this.btnLoadLayout.BeginInit();
     this.itemsListView.BeginInit();
     this.radPageView1.BeginInit();
     this.panel1.SuspendLayout();
     this.radPageView1.SuspendLayout();
     this.radPageViewPage1.SuspendLayout();
     this.radPageViewPage2.SuspendLayout();
     this.structureTreeView.BeginInit();
     this.BeginInit();
     this.SuspendLayout();
     this.btnSaveLayout.Location = new Point(7, 12);
     this.btnSaveLayout.Name     = "btnSaveLayout";
     this.btnSaveLayout.Size     = new Size(24, 24);
     this.btnSaveLayout.TabIndex = 0;
     this.btnSaveLayout.Click   += new EventHandler(this.OnSaveLayoutButtonClick);
     this.btnLoadLayout.Location = new Point(34, 12);
     this.btnLoadLayout.Name     = "btnLoadLayout";
     this.btnLoadLayout.Size     = new Size(24, 24);
     this.btnLoadLayout.TabIndex = 0;
     this.btnLoadLayout.Click   += new EventHandler(this.OnLoadLayoutButtonClick);
     this.panel1.Controls.Add((Control)this.btnSaveLayout);
     this.panel1.Controls.Add((Control)this.btnLoadLayout);
     this.panel1.Dock                        = DockStyle.Top;
     this.panel1.Location                    = new Point(0, 0);
     this.panel1.Margin                      = new Padding(3);
     this.panel1.Name                        = "panel1";
     this.panel1.Size                        = new Size(150, 50);
     this.panel1.TabIndex                    = 0;
     this.itemsListView.AllowDragDrop        = true;
     this.itemsListView.AllowEdit            = false;
     this.itemsListView.AllowRemove          = false;
     this.itemsListView.Dock                 = DockStyle.Fill;
     this.itemsListView.EnableCustomGrouping = true;
     this.itemsListView.Location             = new Point(0, 0);
     this.itemsListView.Name                 = "itemsListView";
     this.itemsListView.ShowGroups           = true;
     this.itemsListView.Size                 = new Size(250, 277);
     this.itemsListView.TabIndex             = 0;
     this.itemsListView.Text                 = "radListView1";
     this.radPageView1.Controls.Add((Control)this.radPageViewPage1);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage2);
     this.radPageView1.DefaultPage  = this.radPageViewPage1;
     this.radPageView1.Dock         = DockStyle.Fill;
     this.radPageView1.Location     = new Point(0, 45);
     this.radPageView1.Name         = "radPageView1";
     this.radPageView1.SelectedPage = this.radPageViewPage1;
     this.radPageView1.Size         = new Size(271, 325);
     this.radPageView1.TabIndex     = 2;
     this.radPageView1.Text         = "radPageView1";
     ((RadPageViewStripElement)this.radPageView1.GetChildAt(0)).StripButtons = StripViewButtons.None;
     this.radPageViewPage1.Controls.Add((Control)this.itemsListView);
     this.radPageViewPage1.ItemSize = new SizeF(44f, 28f);
     this.radPageViewPage1.Location = new Point(10, 37);
     this.radPageViewPage1.Name     = "radPageViewPage1";
     this.radPageViewPage1.Size     = new Size(250, 277);
     this.radPageViewPage1.Text     = "Items";
     this.radPageViewPage2.Controls.Add((Control)this.structureTreeView);
     this.radPageViewPage2.ItemSize              = new SizeF(62f, 28f);
     this.radPageViewPage2.Location              = new Point(10, 37);
     this.radPageViewPage2.Name                  = "radPageViewPage2";
     this.radPageViewPage2.Size                  = new Size(362, 282);
     this.radPageViewPage2.Text                  = "Structure";
     this.structureTreeView.AllowEdit            = true;
     this.structureTreeView.AllowRemove          = true;
     this.structureTreeView.Dock                 = DockStyle.Fill;
     this.structureTreeView.Location             = new Point(0, 0);
     this.structureTreeView.Name                 = "structureTreeView";
     this.structureTreeView.Size                 = new Size(362, 282);
     this.structureTreeView.SpacingBetweenNodes  = -1;
     this.structureTreeView.TabIndex             = 0;
     this.structureTreeView.Text                 = "radTreeView1";
     this.structureTreeView.Edited              += new TreeNodeEditedEventHandler(this.OnStructureTreeNodeEdited);
     this.structureTreeView.SelectedNodeChanged += new RadTreeView.RadTreeViewEventHandler(this.OnStructureTreeViewSelectedNodeChanged);
     this.structureTreeView.MouseDown           += new MouseEventHandler(this.OnStructureTreeViewMouseDown);
     this.structureTreeView.MouseMove           += new MouseEventHandler(this.OnStructureTreeViewMouseMove);
     this.structureTreeView.NodeRemoving        += new RadTreeView.RadTreeViewCancelEventHandler(this.OnStructureTreeViewNodeRemoving);
     this.AutoScaleDimensions = new SizeF(6f, 13f);
     this.AutoScaleMode       = AutoScaleMode.None;
     this.ClientSize          = new Size(267, 360);
     this.Controls.Add((Control)this.radPageView1);
     this.Controls.Add((Control)this.panel1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = nameof(RadLayoutControlCustomizeDialog);
     this.RootElement.ApplyShapeToControl = true;
     this.ShowInTaskbar = false;
     this.StartPosition = FormStartPosition.Manual;
     this.Text          = "Customize";
     this.TopMost       = true;
     this.btnSaveLayout.EndInit();
     this.btnLoadLayout.EndInit();
     this.itemsListView.EndInit();
     this.radPageView1.EndInit();
     this.radPageView1.ResumeLayout(false);
     this.radPageViewPage1.ResumeLayout(false);
     this.radPageViewPage2.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.structureTreeView.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
 }
 public RadButtonAccessibleObject(Control owner)
     : base(owner)
 {
     this.owner = (RadButton)owner;
 }
Exemplo n.º 5
0
 private void InitializeComponent()
 {
     this.radDropDownListLeftOperator  = new RadDropDownList();
     this.radDropDownListRightOperator = new RadDropDownList();
     this.radLabelFormTitle            = new RadLabel();
     this.radioButtonAndOperator       = new RadRadioButton();
     this.radioButtonOrOperator        = new RadRadioButton();
     this.radButtonOK     = new RadButton();
     this.radButtonCancel = new RadButton();
     this.groupBox        = new RadGroupBox();
     this.rchbNot         = new RadCheckBox();
     this.radDropDownListLeftOperator.BeginInit();
     this.radLabelFormTitle.BeginInit();
     this.radDropDownListRightOperator.BeginInit();
     this.radioButtonAndOperator.BeginInit();
     this.radioButtonOrOperator.BeginInit();
     this.radButtonOK.BeginInit();
     this.radButtonCancel.BeginInit();
     this.groupBox.BeginInit();
     this.rchbNot.BeginInit();
     this.groupBox.SuspendLayout();
     this.BeginInit();
     this.SuspendLayout();
     this.radDropDownListLeftOperator.DropDownSizingMode = SizingMode.UpDownAndRightBottom;
     this.radDropDownListLeftOperator.DropDownStyle      = RadDropDownStyle.DropDownList;
     this.radDropDownListLeftOperator.Location           = new Point(13, 32);
     this.radDropDownListLeftOperator.Name     = "radComboBoxLeftOperator";
     this.radDropDownListLeftOperator.Size     = new Size(149, 21);
     this.radDropDownListLeftOperator.TabIndex = 0;
     this.radDropDownListLeftOperator.TabStop  = false;
     this.radLabelFormTitle.Location           = new Point(4, 12);
     this.radLabelFormTitle.Name     = "radLabelFormTitle";
     this.radLabelFormTitle.Size     = new Size(96, 18);
     this.radLabelFormTitle.TabIndex = 2;
     this.radLabelFormTitle.Text     = "Show rows where:";
     this.radDropDownListRightOperator.DropDownSizingMode = SizingMode.UpDownAndRightBottom;
     this.radDropDownListRightOperator.DropDownStyle      = RadDropDownStyle.DropDownList;
     this.radDropDownListRightOperator.Location           = new Point(13, 79);
     this.radDropDownListRightOperator.Name     = "radComboBoxRightOperator";
     this.radDropDownListRightOperator.Size     = new Size(149, 21);
     this.radDropDownListRightOperator.TabIndex = 4;
     this.radDropDownListRightOperator.TabStop  = false;
     this.radioButtonAndOperator.AutoSize       = true;
     this.radioButtonAndOperator.Location       = new Point(43, 57);
     this.radioButtonAndOperator.Name           = "radioButtonAndOperator";
     this.radioButtonAndOperator.Size           = new Size(46, 17);
     this.radioButtonAndOperator.TabIndex       = 2;
     this.radioButtonAndOperator.TabStop        = true;
     this.radioButtonAndOperator.Text           = "And";
     this.radioButtonOrOperator.AutoSize        = true;
     this.radioButtonOrOperator.Location        = new Point(93, 57);
     this.radioButtonOrOperator.Name            = "radioButtonOrOperator";
     this.radioButtonOrOperator.Size            = new Size(38, 17);
     this.radioButtonOrOperator.TabIndex        = 3;
     this.radioButtonOrOperator.TabStop         = true;
     this.radioButtonOrOperator.Text            = "Or";
     this.radButtonOK.DialogResult     = DialogResult.OK;
     this.radButtonOK.Location         = new Point(196, 161);
     this.radButtonOK.Name             = "radButtonOK";
     this.radButtonOK.Size             = new Size(75, 23);
     this.radButtonOK.TabIndex         = 6;
     this.radButtonOK.Text             = "OK";
     this.radButtonOK.Click           += new EventHandler(this.radButtonOK_Click);
     this.radButtonCancel.DialogResult = DialogResult.Cancel;
     this.radButtonCancel.Location     = new Point(280, 161);
     this.radButtonCancel.Name         = "radButtonCancel";
     this.radButtonCancel.Size         = new Size(75, 23);
     this.radButtonCancel.TabIndex     = 7;
     this.radButtonCancel.Text         = "Cancel";
     this.radButtonCancel.Click       += new EventHandler(this.radButtonCancel_Click);
     this.groupBox.BackColor           = Color.Transparent;
     this.groupBox.Controls.Add((Control)this.radDropDownListLeftOperator);
     this.groupBox.Controls.Add((Control)this.rchbNot);
     this.groupBox.Controls.Add((Control)this.radDropDownListRightOperator);
     this.groupBox.Controls.Add((Control)this.radioButtonAndOperator);
     this.groupBox.Controls.Add((Control)this.radioButtonOrOperator);
     this.groupBox.FooterImageIndex = -1;
     this.groupBox.FooterImageKey   = "";
     this.groupBox.HeaderImageIndex = -1;
     this.groupBox.HeaderImageKey   = "";
     this.groupBox.HeaderMargin     = new Padding(0);
     this.groupBox.Location         = new Point(4, 36);
     this.groupBox.Name             = "groupBox";
     this.groupBox.RootElement.EnableElementShadow = false;
     this.groupBox.Size               = new Size(361, 119);
     this.groupBox.TabIndex           = 9;
     this.rchbNot.Location            = new Point(14, 1);
     this.rchbNot.Name                = "rchbNot";
     this.rchbNot.Size                = new Size(39, 18);
     this.rchbNot.TabIndex            = 8;
     this.rchbNot.Text                = "Not";
     this.rchbNot.ToggleStateChanged += new StateChangedEventHandler(this.rchbNot_ToggleStateChanged);
     this.AcceptButton                = (IButtonControl)this.radButtonOK;
     this.CancelButton                = (IButtonControl)this.radButtonCancel;
     this.AutoScaleDimensions         = new SizeF(6f, 13f);
     this.AutoScaleMode               = AutoScaleMode.None;
     this.ClientSize = new Size(370, 196);
     this.Controls.Add((Control)this.groupBox);
     this.Controls.Add((Control)this.radButtonCancel);
     this.Controls.Add((Control)this.radButtonOK);
     this.Controls.Add((Control)this.radLabelFormTitle);
     this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     this.Name            = nameof(CompositeFilterForm);
     this.MaximizeBox     = false;
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = FormStartPosition.CenterScreen;
     this.Text          = "ComplexFilterForm";
     this.radDropDownListLeftOperator.EndInit();
     this.radDropDownListRightOperator.EndInit();
     this.radioButtonAndOperator.EndInit();
     this.radioButtonOrOperator.EndInit();
     this.radLabelFormTitle.EndInit();
     this.radButtonOK.EndInit();
     this.radButtonCancel.EndInit();
     this.groupBox.EndInit();
     this.rchbNot.EndInit();
     this.groupBox.ResumeLayout(false);
     this.groupBox.PerformLayout();
     this.EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 6
0
 private void InitializeComponent()
 {
     this.radLabelFormTitle = new RadLabel();
     this.radButtonOK       = new RadButton();
     this.radButtonCancel   = new RadButton();
     this.radDataFilter1    = new RadDataFilter();
     this.radLabelFormTitle.BeginInit();
     this.radButtonOK.BeginInit();
     this.radButtonCancel.BeginInit();
     this.radDataFilter1.BeginInit();
     this.BeginInit();
     this.SuspendLayout();
     this.radLabelFormTitle.Location   = new Point(4, 12);
     this.radLabelFormTitle.Name       = "radLabelFormTitle";
     this.radLabelFormTitle.Size       = new Size(96, 18);
     this.radLabelFormTitle.TabIndex   = 2;
     this.radLabelFormTitle.Text       = "Show rows where:";
     this.radButtonOK.Anchor           = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButtonOK.DialogResult     = DialogResult.OK;
     this.radButtonOK.Location         = new Point(288, 214);
     this.radButtonOK.Name             = "radButtonOK";
     this.radButtonOK.Size             = new Size(75, 23);
     this.radButtonOK.TabIndex         = 6;
     this.radButtonOK.Text             = "OK";
     this.radButtonOK.Click           += new EventHandler(this.radButtonOK_Click);
     this.radButtonCancel.Anchor       = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButtonCancel.DialogResult = DialogResult.Cancel;
     this.radButtonCancel.Location     = new Point(372, 214);
     this.radButtonCancel.Name         = "radButtonCancel";
     this.radButtonCancel.Size         = new Size(75, 23);
     this.radButtonCancel.TabIndex     = 7;
     this.radButtonCancel.Text         = "Cancel";
     this.radButtonCancel.Click       += new EventHandler(this.radButtonCancel_Click);
     this.radDataFilter1.Anchor        = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radDataFilter1.Location      = new Point(4, 36);
     this.radDataFilter1.Name          = "radDataFilter1";
     this.radDataFilter1.Size          = new Size(443, 172);
     this.radDataFilter1.TabIndex      = 10;
     this.radDataFilter1.Text          = "radDataFilter1";
     this.AcceptButton        = (IButtonControl)this.radButtonOK;
     this.AutoScaleDimensions = new SizeF(6f, 13f);
     this.AutoScaleMode       = AutoScaleMode.None;
     this.CancelButton        = (IButtonControl)this.radButtonCancel;
     this.ClientSize          = new Size(452, 240);
     this.Controls.Add((Control)this.radDataFilter1);
     this.Controls.Add((Control)this.radButtonCancel);
     this.Controls.Add((Control)this.radButtonOK);
     this.Controls.Add((Control)this.radLabelFormTitle);
     this.FormBorderStyle = FormBorderStyle.SizableToolWindow;
     this.MaximizeBox     = false;
     this.MinimumSize     = new Size(410, 220);
     this.Name            = nameof(CompositeDataFilterForm);
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = FormStartPosition.CenterParent;
     this.Text          = "ComplexFilterForm";
     this.radLabelFormTitle.EndInit();
     this.radButtonOK.EndInit();
     this.radButtonCancel.EndInit();
     this.radDataFilter1.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 7
0
 private void InitializeComponent()
 {
     this.newLabel                  = new RadLabel();
     this.labelOldColor             = new RadLabel();
     this.panel1                    = new Panel();
     this.labelColor                = new TransparentColorBox();
     this.hexHeadingLabel           = new RadLabel();
     this.currentLabel              = new RadLabel();
     this.customColors              = new Telerik.WinControls.UI.RadColorPicker.CustomColors();
     this.textBoxColor              = new RadTextBox();
     this.btnAddNewColor            = new RadButton();
     this.radPageView1              = new RadPageView();
     this.radPageViewPage1          = new RadPageViewPage();
     this.discreteColorHexagon      = new DiscreteColorHexagon();
     this.radPageViewPage2          = new RadPageViewPage();
     this.listBox1                  = new ColorListBox();
     this.radPageViewPage3          = new RadPageViewPage();
     this.listBox2                  = new ColorListBox();
     this.radPageViewPage4          = new RadPageViewPage();
     this.professionalColorsControl = new Telerik.WinControls.UI.RadColorPicker.ProfessionalColors();
     this.radButton3                = new RadButton();
     this.btnScreenColorPick        = new RadButton();
     this.radButton1                = new RadButton();
     this.captureBox                = new CaptureBox();
     this.newLabel.BeginInit();
     this.labelOldColor.BeginInit();
     this.panel1.SuspendLayout();
     this.labelColor.BeginInit();
     this.hexHeadingLabel.BeginInit();
     this.currentLabel.BeginInit();
     this.textBoxColor.BeginInit();
     this.btnAddNewColor.BeginInit();
     this.radPageView1.BeginInit();
     this.radPageView1.SuspendLayout();
     this.radPageViewPage1.SuspendLayout();
     this.radPageViewPage2.SuspendLayout();
     this.listBox1.BeginInit();
     this.radPageViewPage3.SuspendLayout();
     this.listBox2.BeginInit();
     this.radPageViewPage4.SuspendLayout();
     this.radButton3.BeginInit();
     this.btnScreenColorPick.BeginInit();
     this.radButton1.BeginInit();
     this.SuspendLayout();
     this.newLabel.Anchor         = AnchorStyles.Top | AnchorStyles.Right;
     this.newLabel.Location       = new Point(445, 45);
     this.newLabel.Name           = "newLabel";
     this.newLabel.Size           = new Size(29, 18);
     this.newLabel.TabIndex       = 4;
     this.newLabel.Text           = "New";
     this.labelOldColor.Anchor    = AnchorStyles.None;
     this.labelOldColor.BackColor = Color.LightGray;
     this.labelOldColor.Location  = new Point(-6, 25);
     this.labelOldColor.Name      = "labelOldColor";
     this.labelOldColor.Size      = new Size(2, 2);
     this.labelOldColor.TabIndex  = 5;
     this.panel1.Anchor           = AnchorStyles.Top | AnchorStyles.Right;
     this.panel1.BorderStyle      = BorderStyle.FixedSingle;
     this.panel1.Controls.Add((Control)this.labelOldColor);
     this.panel1.Controls.Add((Control)this.labelColor);
     this.panel1.Location                       = new Point(448, 62);
     this.panel1.Name                           = "panel1";
     this.panel1.Size                           = new Size(57, 50);
     this.panel1.TabIndex                       = 7;
     this.labelColor.Anchor                     = AnchorStyles.None;
     this.labelColor.Location                   = new Point(-6, 0);
     this.labelColor.Name                       = "labelColor";
     this.labelColor.Size                       = new Size(67, 25);
     this.labelColor.TabIndex                   = 0;
     this.hexHeadingLabel.Anchor                = AnchorStyles.Top | AnchorStyles.Right;
     this.hexHeadingLabel.Location              = new Point(437, 142);
     this.hexHeadingLabel.Name                  = "hexHeadingLabel";
     this.hexHeadingLabel.Size                  = new Size(13, 18);
     this.hexHeadingLabel.TabIndex              = 19;
     this.hexHeadingLabel.Text                  = "#";
     this.currentLabel.Anchor                   = AnchorStyles.Top | AnchorStyles.Right;
     this.currentLabel.Location                 = new Point(442, 122);
     this.currentLabel.Name                     = "currentLabel";
     this.currentLabel.Size                     = new Size(44, 18);
     this.currentLabel.TabIndex                 = 27;
     this.currentLabel.Text                     = "Current";
     this.customColors.Anchor                   = AnchorStyles.Bottom | AnchorStyles.Left;
     this.customColors.BackColor                = Color.Transparent;
     this.customColors.Location                 = new Point(3, 301);
     this.customColors.Name                     = "customColors";
     this.customColors.Padding                  = new Padding(5);
     this.customColors.SaveCustomColors         = true;
     this.customColors.SelectedColorIndex       = -1;
     this.customColors.Size                     = new Size(290, 32);
     this.customColors.TabIndex                 = 29;
     this.textBoxColor.Anchor                   = AnchorStyles.Top | AnchorStyles.Right;
     this.textBoxColor.Location                 = new Point(448, 138);
     this.textBoxColor.Name                     = "textBoxColor";
     this.textBoxColor.Padding                  = new Padding(2, 2, 2, 3);
     this.textBoxColor.RootElement.AutoSizeMode = RadAutoSizeMode.WrapAroundChildren;
     this.textBoxColor.Size                     = new Size(57, 22);
     this.textBoxColor.TabIndex                 = 28;
     this.textBoxColor.TabStop                  = false;
     this.textBoxColor.TextChanged             += new EventHandler(this.textBoxColor_TextChanged);
     this.btnAddNewColor.Anchor                 = AnchorStyles.Bottom | AnchorStyles.Left;
     this.btnAddNewColor.Location               = new Point(3, 333);
     this.btnAddNewColor.Name                   = "btnAddNewColor";
     this.btnAddNewColor.Size                   = new Size(111, 23);
     this.btnAddNewColor.TabIndex               = 26;
     this.btnAddNewColor.Text                   = "Add Custom Color";
     this.btnAddNewColor.Click                 += new EventHandler(this.radButton4_Click);
     this.radPageView1.Anchor                   = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radPageView1.Controls.Add((Control)this.radPageViewPage1);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage2);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage3);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage4);
     this.radPageView1.Location     = new Point(0, 0);
     this.radPageView1.Name         = "radPageView1";
     this.radPageView1.SelectedPage = this.radPageViewPage4;
     this.radPageView1.Size         = new Size(433, 300);
     this.radPageView1.TabIndex     = 24;
     this.radPageViewPage1.Controls.Add((Control)this.discreteColorHexagon);
     this.radPageViewPage1.ItemSize     = new SizeF(41f, 28f);
     this.radPageViewPage1.Location     = new Point(10, 37);
     this.radPageViewPage1.Name         = "radPageViewPage1";
     this.radPageViewPage1.Size         = new Size(412, 252);
     this.radPageViewPage1.Text         = "Basic";
     this.discreteColorHexagon.Dock     = DockStyle.Fill;
     this.discreteColorHexagon.Location = new Point(0, 0);
     this.discreteColorHexagon.Name     = "discreteColorHexagon";
     this.discreteColorHexagon.Size     = new Size(412, 252);
     this.discreteColorHexagon.TabIndex = 0;
     this.radPageViewPage2.Controls.Add((Control)this.listBox1);
     this.radPageViewPage2.ItemSize = new SizeF(52f, 28f);
     this.radPageViewPage2.Location = new Point(10, 37);
     this.radPageViewPage2.Name     = "radPageViewPage2";
     this.radPageViewPage2.Size     = new Size(412, 252);
     this.radPageViewPage2.Text     = "System";
     this.listBox1.Dock             = DockStyle.Fill;
     this.listBox1.EnableAnalytics  = false;
     this.listBox1.ItemHeight       = 24;
     this.listBox1.Location         = new Point(0, 0);
     this.listBox1.Name             = "listBox1";
     this.listBox1.Size             = new Size(412, 252);
     this.listBox1.TabIndex         = 0;
     this.radPageViewPage3.Controls.Add((Control)this.listBox2);
     this.radPageViewPage3.ItemSize = new SizeF(39f, 28f);
     this.radPageViewPage3.Location = new Point(10, 37);
     this.radPageViewPage3.Name     = "radPageViewPage3";
     this.radPageViewPage3.Size     = new Size(412, 252);
     this.radPageViewPage3.Text     = "Web";
     this.listBox2.Dock             = DockStyle.Fill;
     this.listBox2.EnableAnalytics  = false;
     this.listBox2.ItemHeight       = 24;
     this.listBox2.Location         = new Point(0, 0);
     this.listBox2.Name             = "listBox2";
     this.listBox2.Size             = new Size(412, 252);
     this.listBox2.TabIndex         = 1;
     this.radPageViewPage4.Controls.Add((Control)this.professionalColorsControl);
     this.radPageViewPage4.ItemSize          = new SizeF(76f, 28f);
     this.radPageViewPage4.Location          = new Point(10, 37);
     this.radPageViewPage4.Name              = "radPageViewPage4";
     this.radPageViewPage4.Size              = new Size(412, 252);
     this.radPageViewPage4.Text              = "Professional";
     this.professionalColorsControl.Anchor   = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.professionalColorsControl.ColorHsl = HslColor.FromAhsl(0.0, 1.0, 1.0);
     this.professionalColorsControl.ColorRgb = Color.FromArgb((int)byte.MaxValue, 0, 0);
     this.professionalColorsControl.Location = new Point(0, 0);
     this.professionalColorsControl.Name     = "professionalColorsControl";
     this.professionalColorsControl.Size     = new Size(415, 251);
     this.professionalColorsControl.TabIndex = 0;
     this.radButton3.Anchor                 = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButton3.EnableAnalytics        = false;
     this.radButton3.Location               = new Point(431, 333);
     this.radButton3.Name                   = "radButton3";
     this.radButton3.Size                   = new Size(75, 23);
     this.radButton3.TabIndex               = 23;
     this.radButton3.Text                   = "Cancel";
     this.radButton3.Click                 += new EventHandler(this.radButton3_Click);
     this.btnScreenColorPick.Anchor         = AnchorStyles.Top | AnchorStyles.Right;
     this.btnScreenColorPick.DisplayStyle   = DisplayStyle.Image;
     this.btnScreenColorPick.Image          = (Image)Telerik\u002EWinControls\u002EUI\u002EResources.eyedropper;
     this.btnScreenColorPick.ImageAlignment = ContentAlignment.MiddleCenter;
     this.btnScreenColorPick.Location       = new Point(457, 166);
     this.btnScreenColorPick.Name           = "btnScreenColorPick";
     this.btnScreenColorPick.Size           = new Size(38, 32);
     this.btnScreenColorPick.TabIndex       = 22;
     this.btnScreenColorPick.Click         += new EventHandler(this.buttonColorPick_Click);
     this.radButton1.Anchor                 = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButton1.EnableAnalytics        = false;
     this.radButton1.Location               = new Point(350, 333);
     this.radButton1.Name                   = "radButton1";
     this.radButton1.Size                   = new Size(75, 23);
     this.radButton1.TabIndex               = 21;
     this.radButton1.Text                   = "OK";
     this.radButton1.Click                 += new EventHandler(this.radButton1_Click);
     this.captureBox.CapturedColor          = Color.Empty;
     this.captureBox.Location               = new Point(0, 0);
     this.captureBox.Name                   = "captureBox";
     this.captureBox.Size                   = new Size(166, 131);
     this.captureBox.TabIndex               = 30;
     this.Controls.Add((Control)this.textBoxColor);
     this.Controls.Add((Control)this.currentLabel);
     this.Controls.Add((Control)this.btnAddNewColor);
     this.Controls.Add((Control)this.radPageView1);
     this.Controls.Add((Control)this.radButton3);
     this.Controls.Add((Control)this.btnScreenColorPick);
     this.Controls.Add((Control)this.radButton1);
     this.Controls.Add((Control)this.hexHeadingLabel);
     this.Controls.Add((Control)this.panel1);
     this.Controls.Add((Control)this.newLabel);
     this.Controls.Add((Control)this.captureBox);
     this.Controls.Add((Control)this.customColors);
     this.Name = nameof(RadColorSelector);
     this.Size = new Size(509, 361);
     this.newLabel.EndInit();
     this.labelOldColor.EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.labelColor.EndInit();
     this.hexHeadingLabel.EndInit();
     this.currentLabel.EndInit();
     this.textBoxColor.EndInit();
     this.btnAddNewColor.EndInit();
     this.radPageView1.EndInit();
     this.radPageView1.ResumeLayout(false);
     this.radPageViewPage1.ResumeLayout(false);
     this.radPageViewPage2.ResumeLayout(false);
     this.listBox1.EndInit();
     this.radPageViewPage3.ResumeLayout(false);
     this.listBox2.EndInit();
     this.radPageViewPage4.ResumeLayout(false);
     this.radButton3.EndInit();
     this.btnScreenColorPick.EndInit();
     this.radButton1.EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }