public ColorPickerButton AddColorEditor(Control field) { ColorPickerButton editor = new ColorPickerButton(); AddEditor(field, editor); return(editor); }
private void colorPickerButton_ColorSelected(object sender, EventArgs e) //컬러를 선택한 경우 { ColorPickerButton colorBtn = (ColorPickerButton)sender; colorPickerButton.Text = colorBtn.SelectedColor.Name; colorPickerButton.BackColor = colorBtn.SelectedColor; }
public ColorChangedEvent(Color color, [NotNull] ColorPickerButton source) { Ensure.Any.IsNotNull(source, nameof(source)); Color = color; Source = source; }
public override void OnInspectorGUI() { ColorPickerButton pickerBtn = (ColorPickerButton)target; pickerBtn.colorPickerPrefab = (GameObject)EditorGUILayout.ObjectField("Префаб ColorPicker", pickerBtn.colorPickerPrefab, typeof(GameObject), true); // Show default inspector property editor DrawDefaultInspector(); }
public ColorMorphPanel( IMorph <Color, ColorMorphDefinition> morph, ColorPickerButton button, Label label, Godot.Control node, ILoggerFactory loggerFactory) : base(morph, label, node, loggerFactory) { Ensure.That(button, nameof(button)).IsNotNull(); Button = button; }
internal Grid CreateColorButton(string _header = "Color", byte r = 0, byte g = 0, byte b = 0, byte a = 0) { Windows.UI.Color col = new Windows.UI.Color(); col.R = r; col.G = g; col.B = b; col.A = a; ColorPickerButton colbutton = new ColorPickerButton() { SelectedColor = col }; return(WrapProperty(_header, colbutton)); }
public static IObservable <ColorChangedEvent> OnColorChange( [NotNull] this ColorPickerButton button) { Ensure.Any.IsNotNull(button, nameof(button)); var tracker = button.GetOrCreateNode(NodeName, _ => new ColorPickerButtonEventTracker()); Debug.Assert(tracker != null, "tracker != null"); return(tracker.OnColorChange); }
private void ApplyCheck(GridStyleInfo style, CheckBox check, ColorPickerButton _color) { _color.BackColor = _color.SelectedColor; if (check.Checked) { style.BackColor = _color.SelectedColor; } else { style.ResetInterior(); } }
private void AddOptions(VBoxContainer options_scroll_holder) { var bcBt = new CheckButton(); bcBt.Text = "Show Border:"; bcBt.Connect("toggled", this, nameof(OnBorderEnabledToggled)); bcBt.Pressed = Lib.Node.BoderEnabled; options_scroll_holder.AddChild(bcBt); options_scroll_holder.AddChild(new Label() { Text = "Border Color:" }); var bcp = new ColorPickerButton(); bcp.Connect("color_changed", this, nameof(OnNewBorderColor)); bcp.Color = new Color(Lib.Node.BorderColorHtmlCode); options_scroll_holder.AddChild(bcp); options_scroll_holder.AddChild(new Label() { Text = "Background Color:" }); var bgcp = new ColorPickerButton(); bgcp.Connect("color_changed", this, nameof(OnNewBackgroundColor)); bgcp.Color = new Color(Lib.Node.BackgroundColorHtmlCode); options_scroll_holder.AddChild(bgcp); var sdBt = new CheckButton(); sdBt.Text = "Sound Enabled:"; sdBt.Connect("toggled", this, nameof(OnSoundEnabledToggled)); sdBt.Pressed = Lib.Node.SoundEnabled; options_scroll_holder.AddChild(sdBt); var vgBt = new CheckButton(); vgBt.Text = "Show Vignette:"; vgBt.Connect("toggled", this, nameof(OnVignetteEnabledToggled)); vgBt.Pressed = Lib.Node.VignetteEnabled; options_scroll_holder.AddChild(vgBt); options_scroll_holder.AddChild(new Label() { Text = "Candle Color:" }); var ccp = new ColorPickerButton(); ccp.Connect("color_changed", this, nameof(OnNewCandleColor)); ccp.Color = new Color(Lib.Node.CandleColorHtmlCode); options_scroll_holder.AddChild(ccp); }
public override Control BuildUI() { ColorPickerButton picker = new ColorPickerButton(); picker.RectMinSize = new Vector2(32, 0); picker.Color = (Color)this.Value; picker.Connect( "color_changed", Shaderer.instance, nameof(Shaderer.instance.OnApplyParam), new Godot.Collections.Array { this.NameCode }); return(picker); }
private void ApplyBaseCheck(GridStyleInfo style, CheckBox check, ColorPickerButton _color) { _color.BackColor = _color.SelectedColor; GridStyleInfo style1 = new GridStyleInfo(); if (check.Checked) { style.BackColor = _color.SelectedColor; style1.BaseStyle = "BackColorTest"; gridControl2.ChangeCells(GridRangeInfo.Cells(2, 1, 4, 4), style1); } else { style1.ResetBaseStyle(); gridControl2.ChangeCells(GridRangeInfo.Cells(2, 1, 4, 4), style1); } }
public override void DrawInterface(Control parent) { Control lifetimeField = moduleInterface.AddField("Lifetime"); Control speedField = moduleInterface.AddField("Speed"); Control sizeField = moduleInterface.AddField("Size"); Control rotationField = moduleInterface.AddField("Rotation"); Control startColorField = moduleInterface.AddField("Color"); RandomNumberEditor randomLifetimeEditor = moduleInterface.AddRandomNumberEditor(lifetimeField); RandomNumberEditor randomSpeedEditor = moduleInterface.AddRandomNumberEditor(speedField); RandomNumberEditor randomSizeEditor = moduleInterface.AddRandomNumberEditor(sizeField); RandomNumberEditor randomRotationEditor = moduleInterface.AddRandomNumberEditor(rotationField); ColorPickerButton startColorEditor = moduleInterface.AddColorEditor(startColorField); randomLifetimeEditor.minValue = minLifetime; randomLifetimeEditor.maxValue = maxLifetime; randomLifetimeEditor.mode = lifetimeMode; randomLifetimeEditor.allowGreater = true; randomLifetimeEditor.allowLesser = true; randomLifetimeEditor.Connect("Changed", this, "OnRandomLifetimeChanged"); randomSpeedEditor.minValue = minSpeed; randomSpeedEditor.maxValue = maxSpeed; randomSpeedEditor.mode = speedMode; randomSpeedEditor.allowGreater = true; randomSpeedEditor.allowLesser = true; randomSpeedEditor.Connect("Changed", this, "OnRandomSpeedChanged"); randomSizeEditor.minValue = minSize; randomSizeEditor.maxValue = maxSize; randomSizeEditor.mode = sizeMode; randomSpeedEditor.allowGreater = true; randomSpeedEditor.allowLesser = true; randomSizeEditor.Connect("Changed", this, "OnRandomSizeChanged"); randomRotationEditor.minValue = minRotation; randomRotationEditor.maxValue = maxRotation; randomRotationEditor.mode = rotationMode; randomSpeedEditor.allowGreater = true; randomSpeedEditor.allowLesser = true; randomRotationEditor.Connect("Changed", this, "OnRandomRotationChanged"); startColorEditor.Color = startColor; startColorEditor.Connect("color_changed", this, "OnStartColorChanged"); }
public MainWindow() { InitializeComponent(); #if DEBUG this.AttachDevTools(); #endif this.Icon = new WindowIcon(new Bitmap(@"auraui-logov2.png")); tabc = this.Find <TabControl>("tabview"); addbtn = this.Find <Button>("btn"); cbtn = this.Find <Button>("cbtn"); open_pages = this.Find <Button>("open_pages"); pickerButton = this.Find <ColorPickerButton>("CP_btn"); border_bg = this.Find <Border>("border_bg"); addbtn.Click += Addbtn_Click; cbtn.Click += Cbtn_Click; open_pages.Click += Open_pages_Click; border_bg.Background = pickerButton.Background; //EnableFeatures(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.openDiagramDialog = new System.Windows.Forms.OpenFileDialog(); this.saveDiagramDialog = new System.Windows.Forms.SaveFileDialog(); this.panel3 = new DemoCommon.Diagram.Expander(); this.label17 = new System.Windows.Forms.Label(); this.colorPickerButton2 = new Syncfusion.Windows.Forms.ColorPickerButton(); this.colorPickerButton1 = new Syncfusion.Windows.Forms.ColorPickerButton(); this.label2 = new System.Windows.Forms.Label(); this.diagram1 = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components); this.model1 = new Syncfusion.Windows.Forms.Diagram.Model(this.components); this.panel4 = new System.Windows.Forms.Panel(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit(); this.panel4.SuspendLayout(); this.SuspendLayout(); // // openDiagramDialog // this.openDiagramDialog.Filter = "Diagram Files|*.edd|All files|*.*"; this.openDiagramDialog.Title = "Open Diagram"; // // saveDiagramDialog // this.saveDiagramDialog.FileName = "doc1"; this.saveDiagramDialog.Filter = "Diagram files|*.edd|All files|*.*"; this.saveDiagramDialog.Title = "SaveDiagram"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.White; this.panel3.Caption = "Properties"; this.panel3.Controls.Add(this.label17); this.panel3.Controls.Add(this.colorPickerButton2); this.panel3.Controls.Add(this.colorPickerButton1); this.panel3.Controls.Add(this.label2); this.panel3.Dock = System.Windows.Forms.DockStyle.Right; this.panel3.Location = new System.Drawing.Point(601, 72); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(10); this.panel3.Size = new System.Drawing.Size(200, 474); this.panel3.TabIndex = 0; // // label17 // this.label17.BackColor = System.Drawing.Color.Transparent; this.label17.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label17.ForeColor = System.Drawing.Color.Black; this.label17.Location = new System.Drawing.Point(13, 40); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(81, 18); this.label17.TabIndex = 170; this.label17.Text = "Handle Color"; // // colorPickerButton2 // this.colorPickerButton2.ColorUISize = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(208), (int)DpiAware.LogicalToDeviceUnits(230)); this.colorPickerButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.colorPickerButton2.FlatAppearance.BorderColor = System.Drawing.Color.LightGray; this.colorPickerButton2.FlatAppearance.BorderSize = 0; this.colorPickerButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.colorPickerButton2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colorPickerButton2.ForeColor = System.Drawing.Color.MidnightBlue; this.colorPickerButton2.Location = new System.Drawing.Point(158, 36); this.colorPickerButton2.Name = "colorPickerButton2"; this.colorPickerButton2.SelectedAsBackcolor = true; this.colorPickerButton2.Size = new System.Drawing.Size(25, 20); this.colorPickerButton2.TabIndex = 174; this.colorPickerButton2.Text = "...."; this.colorPickerButton2.UseVisualStyleBackColor = false; this.colorPickerButton2.ColorSelected += new System.EventHandler(this.colorPickerButton2_ColorSelected); // // colorPickerButton1 // this.colorPickerButton1.ColorUISize = new System.Drawing.Size(208, 230); this.colorPickerButton1.Cursor = System.Windows.Forms.Cursors.Hand; this.colorPickerButton1.FlatAppearance.BorderColor = System.Drawing.Color.LightGray; this.colorPickerButton1.FlatAppearance.BorderSize = 0; this.colorPickerButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.colorPickerButton1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colorPickerButton1.ForeColor = System.Drawing.Color.MidnightBlue; this.colorPickerButton1.Location = new System.Drawing.Point(158, 69); this.colorPickerButton1.Name = "colorPickerButton1"; this.colorPickerButton1.SelectedAsBackcolor = true; this.colorPickerButton1.Size = new System.Drawing.Size(25, 20); this.colorPickerButton1.TabIndex = 171; this.colorPickerButton1.Text = "...."; this.colorPickerButton1.UseVisualStyleBackColor = false; this.colorPickerButton1.ColorSelected += new System.EventHandler(this.colorPickerButton1_ColorSelected); // // label2 // this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.Black; this.label2.Location = new System.Drawing.Point(12, 73); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(118, 18); this.label2.TabIndex = 173; this.label2.Text = "Handle Outline Color"; // // diagram1 // this.diagram1.Controller.PasteOffset = new System.Drawing.SizeF(10F, 10F); this.diagram1.Dock = System.Windows.Forms.DockStyle.Fill; this.diagram1.LayoutManager = null; this.diagram1.Location = new System.Drawing.Point(0, 0); this.diagram1.MetroScrollBars = true; this.diagram1.Model = this.model1; this.diagram1.Name = "diagram1"; this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds"))); this.diagram1.Size = new System.Drawing.Size(599, 474); this.diagram1.SmartSizeBox = false; this.diagram1.TabIndex = 0; this.diagram1.Text = "diagram1"; // // // this.diagram1.View.BackgroundColor = System.Drawing.Color.White; this.diagram1.View.ClientRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.diagram1.View.Controller = this.diagram1.Controller; this.diagram1.View.Grid.MinPixelSpacing = 4F; this.diagram1.View.Grid.Visible = false; this.diagram1.View.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds"))); // // model1 // this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter; this.model1.DocumentScale.DisplayName = "No Scale"; this.model1.DocumentScale.Height = 1F; this.model1.DocumentScale.Width = 1F; this.model1.DocumentSize.Height = 1169F; this.model1.DocumentSize.Width = 827F; this.model1.LineStyle.DashPattern = null; this.model1.LineStyle.LineColor = System.Drawing.Color.Black; this.model1.LineStyle.LineWidth = 0F; this.model1.LogicalSize = new System.Drawing.SizeF(827F, 1169F); this.model1.ShadowStyle.Color = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105))))); this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105))))); // // panel4 // this.panel4.Controls.Add(this.diagram1); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point((int)DpiAware.LogicalToDeviceUnits(2), (int)DpiAware.LogicalToDeviceUnits(72)); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(599), (int)DpiAware.LogicalToDeviceUnits(474)); this.panel4.TabIndex = 2; // // Form1s // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(803, 548); this.Controls.Add(this.panel4); this.Controls.Add(this.panel3); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Controls Galore"; this.Load += new System.EventHandler(this.Form1_Load); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit(); this.panel4.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(FormMain)); this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl(); this.panel2 = new System.Windows.Forms.Panel(); this.label6 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.colorPickerButton1 = new Syncfusion.Windows.Forms.ColorPickerButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.comboBoxChartType = new System.Windows.Forms.ComboBox(); this.label10 = new System.Windows.Forms.Label(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // chartControl1 // this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.chartControl1.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(248)))), ((int)(((byte)(235))))), System.Drawing.Color.White); this.chartControl1.ChartArea.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent); this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0); this.chartControl1.ChartArea.CursorReDraw = false; this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide; this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide; this.chartControl1.ChartAreaMargins = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10); this.chartControl1.ChartInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.BackwardDiagonal, System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(248)))), ((int)(((byte)(247))))), System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(189)))), ((int)(((byte)(166)))))); this.chartControl1.DataSourceName = ""; this.chartControl1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chartControl1.IsWindowLess = false; // // // this.chartControl1.Legend.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent); this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent; this.chartControl1.Legend.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chartControl1.Legend.ForeColor = System.Drawing.SystemColors.ControlText; this.chartControl1.Legend.ItemsSize = new System.Drawing.Size(15, 15); this.chartControl1.Legend.Location = new System.Drawing.Point(594, 75); this.chartControl1.Legend.Spacing = 3; this.chartControl1.Localize = null; this.chartControl1.Location = new System.Drawing.Point(0, 0); this.chartControl1.Name = "chartControl1"; this.chartControl1.PrimaryXAxis.Crossing = double.NaN; this.chartControl1.PrimaryXAxis.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chartControl1.PrimaryXAxis.LabelRotateAngle = 45; this.chartControl1.PrimaryXAxis.Margin = true; this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m"; this.chartControl1.PrimaryYAxis.Crossing = double.NaN; this.chartControl1.PrimaryYAxis.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chartControl1.PrimaryYAxis.LabelRotate = true; this.chartControl1.PrimaryYAxis.Margin = true; this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m"; this.chartControl1.Size = new System.Drawing.Size(700, 580); this.chartControl1.TabIndex = 2; this.chartControl1.Text = "Essential Chart"; // // // this.chartControl1.Title.Name = "Def_title"; this.chartControl1.Title.Text = "Essential Chart"; this.chartControl1.Titles.Add(this.chartControl1.Title); this.chartControl1.ZoomOutIncrement = 1.5D; // // panel2 // this.panel2.Dock = DockStyle.Right; this.panel2.BackColor = System.Drawing.Color.WhiteSmoke; this.panel2.Controls.Add(this.label6); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.colorPickerButton1); this.panel2.Controls.Add(this.radioButton1); this.panel2.Controls.Add(this.checkBox1); this.panel2.Controls.Add(this.radioButton2); this.panel2.Controls.Add(this.comboBoxChartType); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.checkBox2); this.panel2.Controls.Add(this.label1); this.panel2.Location = new System.Drawing.Point(700, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(260, 580); this.panel2.TabIndex = 4; // // label6 // this.label6.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.label6.Location = new System.Drawing.Point(45, 327); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(103, 18); this.label6.TabIndex = 139; this.label6.Text = "Color Palette"; // // label3 // this.label3.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.label3.Location = new System.Drawing.Point(45, 290); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(83, 29); this.label3.TabIndex = 136; this.label3.Text = "Palette"; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.label2.Location = new System.Drawing.Point(44, 30); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(52, 25); this.label2.TabIndex = 135; this.label2.Text = "Type"; // // colorPickerButton1 // this.colorPickerButton1.BeforeTouchSize = new System.Drawing.Size(100, 30); this.colorPickerButton1.ColorUISize = new System.Drawing.Size(208, 230); this.colorPickerButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.colorPickerButton1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colorPickerButton1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.colorPickerButton1.IsBackStageButton = false; this.colorPickerButton1.Location = new System.Drawing.Point(48, 357); this.colorPickerButton1.Name = "colorPickerButton1"; this.colorPickerButton1.SelectedAsBackcolor = true; this.colorPickerButton1.Size = new System.Drawing.Size(100, 30); this.colorPickerButton1.TabIndex = 127; this.colorPickerButton1.ColorSelected += new System.EventHandler(this.colorPickerButton1_ColorSelected_1); // // radioButton1 // this.radioButton1.Checked = true; this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioButton1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radioButton1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.radioButton1.Location = new System.Drawing.Point(48, 220); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(80, 25); this.radioButton1.TabIndex = 129; this.radioButton1.TabStop = true; this.radioButton1.Text = "Server1"; this.radioButton1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // checkBox1 // this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBox1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.checkBox1.Location = new System.Drawing.Point(49, 401); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(91, 24); this.checkBox1.TabIndex = 128; this.checkBox1.Text = "3D View"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // radioButton2 // this.radioButton2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioButton2.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radioButton2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.radioButton2.Location = new System.Drawing.Point(48, 250); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(79, 23); this.radioButton2.TabIndex = 132; this.radioButton2.Text = "Server2"; this.radioButton2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // comboBoxChartType // this.comboBoxChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxChartType.FlatStyle = System.Windows.Forms.FlatStyle.System; this.comboBoxChartType.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxChartType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.comboBoxChartType.Location = new System.Drawing.Point(48, 97); this.comboBoxChartType.Name = "comboBoxChartType"; this.comboBoxChartType.Size = new System.Drawing.Size(181, 28); this.comboBoxChartType.TabIndex = 130; this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // label10 // this.label10.AutoSize = true; this.label10.BackColor = System.Drawing.Color.Transparent; this.label10.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.label10.Location = new System.Drawing.Point(43, 179); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(125, 25); this.label10.TabIndex = 134; this.label10.Text = "Interior Color"; // // checkBox2 // this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBox2.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.checkBox2.Location = new System.Drawing.Point(48, 138); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(137, 24); this.checkBox2.TabIndex = 131; this.checkBox2.Text = "Show Labels"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); this.label1.Location = new System.Drawing.Point(45, 68); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(95, 26); this.label1.TabIndex = 133; this.label1.Text = "Chart Type"; // // FormMain // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(958, 584); this.Controls.Add(this.chartControl1); this.Controls.Add(this.panel2); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.MinimumSize = new System.Drawing.Size(629, 412); this.Name = "FormMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Bar"; this.Load += new System.EventHandler(this.FormMain_Load); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); 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(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.comboBox1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.checkBox1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.zoomFactorText = new DoubleTextBox(); this.label2 = new System.Windows.Forms.Label(); this.colorPickerButton1 = new Syncfusion.Windows.Forms.ColorPickerButton(); this.borderThickness = new Syncfusion.Windows.Forms.Tools.IntegerTextBox(); this.label1 = new System.Windows.Forms.Label(); this.zoomDisplaySize = new System.Windows.Forms.Label(); this.trackBar2 = new System.Windows.Forms.TrackBar(); this.zoomSize = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.tipDesc = new System.Windows.Forms.ToolTip(this.components); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.zoomFactorText)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.borderThickness)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).BeginInit(); this.groupBox2.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // trackBar1 // this.trackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.trackBar1.AutoSize = false; this.trackBar1.BackColor = System.Drawing.Color.White; this.trackBar1.Location = new System.Drawing.Point(22, 112); this.trackBar1.Maximum = 400; this.trackBar1.Minimum = 50; this.trackBar1.Name = "trackBar1"; this.trackBar1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.trackBar1.Size = new System.Drawing.Size(195, 28); this.trackBar1.TabIndex = 2; this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.None; this.trackBar1.Value = 100; this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // comboBox1 // this.comboBox1.BackColor = System.Drawing.Color.White; this.comboBox1.BeforeTouchSize = new System.Drawing.Size(104, 21); this.comboBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBox1.Items.AddRange(new object[] { "50", "75", "100", "150", "200", "300", "400" }); this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "50")); this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "75")); this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "100")); this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "125")); this.comboBox1.Location = new System.Drawing.Point(113, 40); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(104, 21); this.comboBox1.SelectedValue = "100"; this.comboBox1.Text = "100"; this.comboBox1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.comboBox1.TabIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // checkBox1 // this.checkBox1.BeforeTouchSize = new System.Drawing.Size(115, 24); this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox1.ForeColor = System.Drawing.Color.Black; this.checkBox1.Location = new System.Drawing.Point(27, 28); this.checkBox1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(115, 24); this.checkBox1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBox1.DrawFocusRectangle = true; this.checkBox1.TabIndex = 4; this.checkBox1.Text = "Zoom Cell"; this.checkBox1.ThemesEnabled = false; this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // gridGroupingControl1 // this.gridGroupingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Office2010; this.gridGroupingControl1.Location = new System.Drawing.Point(20, 20); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(710, 616); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.ThemesEnabled = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false; this.gridGroupingControl1.VersionInfo = "10.104.0.44"; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.groupBox3); this.groupBox1.Controls.Add(this.groupBox2); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(752, 20); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(243, 570); this.groupBox1.TabIndex = 17; this.groupBox1.TabStop = false; this.groupBox1.Text = "Zooming Options"; // // groupBox3 // this.groupBox3.Controls.Add(this.radioButton2); this.groupBox3.Controls.Add(this.radioButton1); this.groupBox3.Controls.Add(this.zoomFactorText); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.colorPickerButton1); this.groupBox3.Controls.Add(this.borderThickness); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.zoomDisplaySize); this.groupBox3.Controls.Add(this.trackBar2); this.groupBox3.Controls.Add(this.zoomSize); this.groupBox3.Controls.Add(this.checkBox1); this.groupBox3.Location = new System.Drawing.Point(9, 193); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(223, 371); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "Cell Level"; // // zoomFactorText // this.zoomFactorText.Location = new System.Drawing.Point(158, 243); this.zoomFactorText.Name = "zoomFactorText"; this.zoomFactorText.NumberDecimalDigits = 1; this.zoomFactorText.Size = new System.Drawing.Size(53, 29); this.zoomFactorText.TabIndex = 8; this.zoomFactorText.DoubleValue = 1.5D; this.zoomFactorText.TextChanged += new System.EventHandler(this.zoomFactorText_TextChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(23, 246); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(101, 21); this.label2.TabIndex = 22; this.label2.Text = "Zoom Factor:"; // // colorPickerButton1 // this.colorPickerButton1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.colorPickerButton1.BeforeTouchSize = new System.Drawing.Size(119, 24); this.colorPickerButton1.ColorUISize = new System.Drawing.Size(208, 230); this.colorPickerButton1.FlatAppearance.BorderColor = System.Drawing.Color.Black; this.colorPickerButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.colorPickerButton1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colorPickerButton1.ForeColor = System.Drawing.Color.Black; this.colorPickerButton1.IsBackStageButton = false; this.colorPickerButton1.Location = new System.Drawing.Point(46, 331); this.colorPickerButton1.Name = "colorPickerButton1"; this.colorPickerButton1.SelectedAsBackcolor = true; this.colorPickerButton1.Size = new System.Drawing.Size(119, 24); this.colorPickerButton1.TabIndex = 10; this.colorPickerButton1.Text = "Border Color"; this.colorPickerButton1.UseVisualStyleBackColor = false; this.colorPickerButton1.ColorSelected += new System.EventHandler(this.colorPickerButton1_ColorSelected); // // borderThickness // this.borderThickness.Location = new System.Drawing.Point(158, 283); this.borderThickness.Name = "borderThickness"; this.borderThickness.Size = new System.Drawing.Size(53, 29); this.borderThickness.TabIndex = 9; this.borderThickness.Text = "15"; this.borderThickness.TextChanged += new System.EventHandler(this.borderThickness_TextChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(23, 286); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(131, 21); this.label1.TabIndex = 20; this.label1.Text = "Border Thickness:"; // // zoomDisplaySize // this.zoomDisplaySize.AutoSize = true; this.zoomDisplaySize.Location = new System.Drawing.Point(66, 205); this.zoomDisplaySize.Name = "zoomDisplaySize"; this.zoomDisplaySize.Size = new System.Drawing.Size(85, 21); this.zoomDisplaySize.TabIndex = 19; this.zoomDisplaySize.Text = "( 150,150 )"; // // trackBar2 // this.trackBar2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.trackBar2.AutoSize = false; this.trackBar2.BackColor = System.Drawing.Color.White; this.trackBar2.LargeChange = 50; this.trackBar2.Location = new System.Drawing.Point(16, 170); this.trackBar2.Maximum = 400; this.trackBar2.Minimum = 100; this.trackBar2.Name = "trackBar2"; this.trackBar2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.trackBar2.Size = new System.Drawing.Size(195, 28); this.trackBar2.SmallChange = 50; this.trackBar2.TabIndex = 7; this.trackBar2.TickStyle = System.Windows.Forms.TickStyle.None; this.trackBar2.Value = 150; this.trackBar2.ValueChanged += new System.EventHandler(this.trackBar2_ValueChanged); // // zoomSize // this.zoomSize.AutoSize = true; this.zoomSize.Location = new System.Drawing.Point(12, 135); this.zoomSize.Name = "zoomSize"; this.zoomSize.Size = new System.Drawing.Size(86, 21); this.zoomSize.TabIndex = 17; this.zoomSize.Text = "Zoom Size:"; // // groupBox2 // this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.comboBox1); this.groupBox2.Controls.Add(this.trackBar1); this.groupBox2.Location = new System.Drawing.Point(9, 39); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(226, 148); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Grid Level"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 76); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(130, 21); this.label4.TabIndex = 16; this.label4.Text = "Zoom Frequency:"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(12, 40); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(91, 21); this.label3.TabIndex = 15; this.label3.Text = "Zoom Level"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Controls.Add(this.groupBox1); this.panel2.Controls.Add(this.gridGroupingControl1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Margin = new System.Windows.Forms.Padding(0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1012, 654); this.panel2.TabIndex = 19; // // tipDesc // this.tipDesc.BackColor = System.Drawing.Color.White; this.tipDesc.IsBalloon = true; this.tipDesc.OwnerDraw = true; this.tipDesc.ShowAlways = true; this.tipDesc.StripAmpersands = true; this.tipDesc.UseFading = false; // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.Checked = true; this.radioButton1.Location = new System.Drawing.Point(46, 59); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(116, 25); this.radioButton1.TabIndex = 6; this.radioButton1.TabStop = true; this.radioButton1.Text = "Ellipse Mode"; this.radioButton1.UseVisualStyleBackColor = true; this.radioButton1.CheckedChanged += new System.EventHandler(this.mode_Changed); // // radioButton2 // this.radioButton2.AutoSize = true; this.radioButton2.Location = new System.Drawing.Point(46, 90); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(140, 25); this.radioButton2.TabIndex = 5; this.radioButton2.Text = "Rectangle Mode"; this.radioButton2.UseVisualStyleBackColor = true; this.radioButton2.CheckedChanged += new System.EventHandler(this.mode_Changed); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 654); this.Controls.Add(this.panel2); this.MinimumSize = new System.Drawing.Size(800, 500); this.Name = "Form1"; this.Text = "Zooming Grid"; ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.zoomFactorText)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.borderThickness)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).EndInit(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
public static IObservable <Color> OnColorChange(this ColorPickerButton button) { return(button.FromSignal("color_changed") .SelectMany(args => args.HeadOrNone().OfType <Color>().ToObservable())); }
internal virtual void vmethod_39(ColorPickerButton colorPickerButton_1) { colorPickerButton_0 = colorPickerButton_1; }