public RadLabelAccessibleObject(RadLabel owner) : base((Control)owner) { this.owner = owner; }
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(); }
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(); }
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(); }
// Methods public RadLabelAccessibleObject(RadLabel owner) : base(owner) { }