/// <summary> /// Returns HTML code for labels part of the card. /// </summary> /// <param name="auto">Auto label to print</param> /// <param name="manual">Manual label to print</param> /// <returns>HTML code</returns> private string GenerateLabels(AutoLabel auto, ManualLabel manual) { return($@" <div class='col-md-12 col-sm-12 col-xs-12'> <div class='row metric-labels'> <div class='col-md-6 col-sm-6 col-xs-12'> <span data-identifier='{Metric.Type}-{Metric.Source}' class='metric-auto-label'>{auto.Title}<!-- --></span> </div> <div class='col-md-6 col-sm-6 col-xs-12'> <span data-identifier='{Metric.Type}-{Metric.Source}' class='metric-manual-label'>{manual.Title}<!-- --></span> </div> </div> </div> " ); }
private void createLabel(AudioMixerInput put, int num) { AutoLabel al = new AutoLabel(); al.Location = new Point(num * _widthCol, 1); al.AutoSize = false; al.TextAlign = ContentAlignment.MiddleCenter; al.Size = new Size(_widthCol, 18); al.Text = put.Name; al.Padding = new Padding(0); al.Margin = new Padding(0); al.Name = "AMI_1_" + (num + 1).ToString(); gpInput.Controls.Add(al); }
private void createLabel(AudioMixerOutput put, int num) { AutoLabel al = new AutoLabel(); al.Location = new Point(1, (num + 1)* _heightRow + 1); al.Text = put.Name; al.Name = "AMO_"+(num + 1).ToString() + "_1"; if (((num + 1) >= 10) && (_colNumber > 12)) al.Visible = false; if ((num + 1) > 10) al.Visible = false; gpOutput.Controls.Add(al); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.cancel = new Syncfusion.Windows.Forms.ButtonAdv(); this.OK = new Syncfusion.Windows.Forms.ButtonAdv(); this.popupTextBox = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.label1 = new System.Windows.Forms.Label(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.sourceTextBox = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); this.autoLabel1 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); this.dropDownBtn = new Syncfusion.Windows.Forms.ButtonAdv(); this.popupControlContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupTextBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sourceTextBox)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit(); this.gradientPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit(); this.gradientPanel1.SuspendLayout(); this.SuspendLayout(); // // popupControlContainer1 // this.popupControlContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.popupControlContainer1.Controls.Add(this.cancel); this.popupControlContainer1.Controls.Add(this.OK); this.popupControlContainer1.Controls.Add(this.popupTextBox); this.popupControlContainer1.Location = new System.Drawing.Point(32, 156); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(120, 128); this.popupControlContainer1.TabIndex = 0; this.popupControlContainer1.Visible = false; this.popupControlContainer1.CloseUp += new Syncfusion.Windows.Forms.PopupClosedEventHandler(this.popupControlContainer1_CloseUp); this.popupControlContainer1.BeforePopup += new System.ComponentModel.CancelEventHandler(this.popupControlContainer1_BeforePopup); this.popupControlContainer1.Popup += new System.EventHandler(this.popupControlContainer1_Popup); // // cancel // this.cancel.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.cancel.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.cancel.BackColor = System.Drawing.SystemColors.Highlight; this.cancel.ForeColor = System.Drawing.Color.White; this.cancel.Location = new System.Drawing.Point(56, 96); this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(56, 24); this.cancel.TabIndex = 2; this.cancel.Text = "Cancel"; this.cancel.UseVisualStyle = true; this.cancel.Click += new System.EventHandler(this.cancelButton_Click); // // OK // this.OK.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.OK.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.OK.BackColor = System.Drawing.SystemColors.Highlight; this.OK.ForeColor = System.Drawing.Color.White; this.OK.Location = new System.Drawing.Point(8, 96); this.OK.Name = "OK"; this.OK.Size = new System.Drawing.Size(48, 24); this.OK.TabIndex = 1; this.OK.Text = "OK"; this.OK.UseVisualStyle = true; this.OK.Click += new System.EventHandler(this.OK_Click); // // popupTextBox // this.popupTextBox.BorderColor = System.Drawing.Color.Gray; this.popupTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.popupTextBox.Cursor = System.Windows.Forms.Cursors.IBeam; this.popupTextBox.Location = new System.Drawing.Point(0, 0); this.popupTextBox.Metrocolor = System.Drawing.Color.Gray; this.popupTextBox.Multiline = true; this.popupTextBox.Name = "popupTextBox"; this.popupTextBox.Size = new System.Drawing.Size(118, 90); this.popupTextBox.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro; this.popupTextBox.TabIndex = 0; // // label1 // this.label1.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.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.SystemColors.ControlText; this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label1.ImageList = this.imageList1; this.label1.Location = new System.Drawing.Point(31, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(267, 70); this.label1.TabIndex = 1; this.label1.Text = "Associate a PopupControlContainer with this TextBox. And also transfer data back " + "and forth between the popup and the TextBox."; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); // // sourceTextBox // this.sourceTextBox.BorderColor = System.Drawing.Color.Gray; this.sourceTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.sourceTextBox.Cursor = System.Windows.Forms.Cursors.IBeam; this.sourceTextBox.Location = new System.Drawing.Point(32, 40); this.sourceTextBox.Metrocolor = System.Drawing.Color.Gray; this.sourceTextBox.Name = "sourceTextBox"; this.sourceTextBox.Size = new System.Drawing.Size(176, 22); this.sourceTextBox.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro; this.sourceTextBox.TabIndex = 2; this.sourceTextBox.Text = "Alt+DownArrow for popup"; this.sourceTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBoxPopupParent_KeyDown); // // groupBox1 // this.groupBox1.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.groupBox1.Controls.Add(this.gradientPanel2); this.groupBox1.Controls.Add(this.gradientPanel1); this.groupBox1.Controls.Add(this.popupControlContainer1); this.groupBox1.Controls.Add(this.dropDownBtn); this.groupBox1.Controls.Add(this.sourceTextBox); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(23, 14); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(673, 325); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "PopupControlContainer demo"; // // gradientPanel2 // this.gradientPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gradientPanel2.BorderColor = System.Drawing.Color.Silver; this.gradientPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel2.Controls.Add(this.autoLabel1); this.gradientPanel2.Location = new System.Drawing.Point(270, 156); this.gradientPanel2.Name = "gradientPanel2"; this.gradientPanel2.Size = new System.Drawing.Size(361, 113); this.gradientPanel2.TabIndex = 5; // // autoLabel1 // this.autoLabel1.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.autoLabel1.AutoSize = false; this.autoLabel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.autoLabel1.Location = new System.Drawing.Point(35, 2); this.autoLabel1.Name = "autoLabel1"; this.autoLabel1.Size = new System.Drawing.Size(295, 84); this.autoLabel1.TabIndex = 3; this.autoLabel1.Text = resources.GetString("autoLabel1.Text"); this.autoLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // gradientPanel1 // this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gradientPanel1.BorderColor = System.Drawing.Color.Silver; this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel1.Controls.Add(this.label1); this.gradientPanel1.Location = new System.Drawing.Point(270, 40); this.gradientPanel1.Name = "gradientPanel1"; this.gradientPanel1.Size = new System.Drawing.Size(361, 88); this.gradientPanel1.TabIndex = 4; // // dropDownBtn // this.dropDownBtn.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.dropDownBtn.BackColor = System.Drawing.SystemColors.Highlight; this.dropDownBtn.Image = ((System.Drawing.Image)(resources.GetObject("dropDownBtn.Image"))); this.dropDownBtn.Location = new System.Drawing.Point(216, 40); this.dropDownBtn.Name = "dropDownBtn"; this.dropDownBtn.Size = new System.Drawing.Size(26, 20); this.dropDownBtn.TabIndex = 0; this.dropDownBtn.UseVisualStyle = true; this.dropDownBtn.Click += new System.EventHandler(this.dropDownBtn_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 18); this.BackColor = System.Drawing.Color.White; this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.ClientSize = new System.Drawing.Size(739, 374); this.Controls.Add(this.groupBox1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(751, 411); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(20); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Popup Container Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.popupControlContainer1.ResumeLayout(false); this.popupControlContainer1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupTextBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sourceTextBox)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit(); this.gradientPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit(); this.gradientPanel1.ResumeLayout(false); this.ResumeLayout(false); }
public async Task ReportsHealth() { // Arrange var context = _serviceProvider.GetRequiredService <IDataContext>(); var normal = new AutoLabel { Id = AutoLabels.Normal.AsInt() }; var warning = new AutoLabel { Id = AutoLabels.Warning.AsInt() }; var critical = new AutoLabel { Id = AutoLabels.Critical.AsInt() }; await context.AutoLabels.AddRangeAsync(normal, warning, critical); await context.Metrics.AddRangeAsync( new Metric { Type = Metrics.CpuLoad.AsInt(), Source = "the-source-1", AutoLabel = normal, Public = true }, new Metric { Type = Metrics.UserAction.AsInt(), Source = "the-source-1", AutoLabel = warning, Public = true }, new Metric { Type = Metrics.CpuLoad.AsInt(), Source = "the-source-3", AutoLabel = critical, Public = true }, new Metric { Type = Metrics.CpuLoad.AsInt(), Source = "the-source-4", AutoLabel = normal, Public = true }, new Metric { Type = Metrics.CpuLoad.AsInt(), Source = "the-source-5", AutoLabel = critical, Public = false } ); await context.SaveChangesAsync(); var healthService = new HealthService( context, new Mock <ILogger <HealthService> >().Object, new Mock <IMetricService>().Object ); // Act var actual = await healthService.ProduceHealthReportAsync(); // Assert Assert.Equal(62, actual.Health); Assert.Equal(4, actual.Data.Count()); }
private void GenerateFormats(int div, int highConst, int bankConst) { SortedList <int, FormatDescriptor> newDfds = new SortedList <int, FormatDescriptor>(); Dictionary <int, Symbol> newLabels = new Dictionary <int, Symbol>(); List <int> targetOffsets = new List <int>(); bool isBigEndian; // Identify the offset where each set of data starts. int span = mSelection.Count / div; int lowOff, highOff, bankOff; int stride; if (lowFirstPartRadio.IsChecked == true) { lowOff = 0; isBigEndian = false; } else if (lowSecondPartRadio.IsChecked == true) { lowOff = 1; isBigEndian = true; } else if (lowThirdPartRadio.IsChecked == true) { lowOff = 2; isBigEndian = true; } else { Debug.Assert(false); lowOff = -1; isBigEndian = false; } if (highFirstPartRadio.IsChecked == true) { highOff = 0; } else if (highSecondPartRadio.IsChecked == true) { highOff = 1; } else if (highThirdPartRadio.IsChecked == true) { highOff = 2; } else { highOff = -1; // use constant } if (width24Radio.IsChecked == true) { if (bankNthPartRadio.IsChecked == true) { // Use whichever part isn't being used by the other two. if (lowOff != 0 && highOff != 0) { bankOff = 0; } else if (lowOff != 1 && highOff != 1) { bankOff = 1; } else { Debug.Assert(lowOff != 2 && highOff != 2); bankOff = 2; } } else { bankOff = -1; // use constant } } else { bankOff = -1; // use constant bankConst = 0; // always bank 0 } if (IsSplitTable) { // Split table, so stride is 1 and each section start is determined by the span. stride = 1; lowOff *= span; highOff *= span; bankOff *= span; } else { // For non-split table, the stride is the width of each entry. stride = 1; if (highOff >= 0) { stride++; } if (bankOff >= 0) { stride++; } } Debug.WriteLine("FormatAddressTable: stride=" + stride + " span=" + span + " count=" + mSelection.Count); Debug.WriteLine(" low=" + lowOff + " high=" + highOff + " bank=" + bankOff); // The TypedRangeSet doesn't have an index operation, so copy the values into // an array. int[] offsets = new int[mSelection.Count]; int index = 0; foreach (TypedRangeSet.Tuple tup in mSelection) { offsets[index++] = tup.Value; } int adj = 0; if (IsAdjustedForReturn) { adj = 1; } // Walk through the file data, generating addresses as we go. byte[] fileData = mProject.FileData; for (int i = 0; i < span; i++) { byte low, high, bank; low = fileData[offsets[lowOff + i * stride]]; if (highOff >= 0) { high = fileData[offsets[highOff + i * stride]]; } else { high = (byte)highConst; } if (bankOff >= 0) { bank = fileData[offsets[bankOff + i * stride]]; } else { bank = (byte)bankConst; } int addr = ((bank << 16) | (high << 8) | low) + adj; int targetOffset = mProject.AddrMap.AddressToOffset(offsets[0], addr); if (targetOffset < 0) { // Address not within file bounds. // TODO(maybe): look for matching platform/project symbols AddPreviewItem(addr, -1, Res.Strings.INVALID_ADDRESS); } else { // Note the same target offset may appear more than once. targetOffsets.Add(targetOffset); // If there's a user-defined label there already, use it. Otherwise, we'll // need to generate one. string targetLabel; if (mProject.UserLabels.TryGetValue(targetOffset, out Symbol sym)) { targetLabel = sym.Label; AddPreviewItem(addr, targetOffset, targetLabel); } else { // Generate a symbol that's unique vs. the symbol table. We don't need // it to be unique vs. the labels we're generating here, because we // won't generate identical labels for different addresses, and we do // want to generate a single label if more than one table entry refers // to the same target. Symbol tmpSym = AutoLabel.GenerateUniqueForAddress(addr, mProject.SymbolTable, "T"); // tmpSym was returned as an auto-label, make it a user label instead // (with global scope) tmpSym = new Symbol(tmpSym.Label, tmpSym.Value, Symbol.Source.User, Symbol.Type.GlobalAddr, Symbol.LabelAnnotation.Generated); newLabels[targetOffset] = tmpSym; // overwrites previous targetLabel = tmpSym.Label; AddPreviewItem(addr, targetOffset, "(+) " + targetLabel); } if (IsSplitTable) { // Now we need to create format descriptors for the addresses where we // extracted the low, high, and bank values. newDfds.Add(offsets[lowOff + i * stride], FormatDescriptor.Create(1, new WeakSymbolRef(targetLabel, WeakSymbolRef.Part.Low), false)); if (highOff >= 0) { newDfds.Add(offsets[highOff + i * stride], FormatDescriptor.Create(1, new WeakSymbolRef(targetLabel, WeakSymbolRef.Part.High), false)); } if (bankOff >= 0) { newDfds.Add(offsets[bankOff + i * stride], FormatDescriptor.Create(1, new WeakSymbolRef(targetLabel, WeakSymbolRef.Part.Bank), false)); } } else { // Create a single format descriptor that spans all bytes. Note we // don't want to use lowOff here -- we want to put the format on // whichever byte came first. // TODO(maybe): we don't correctly deal with a "scrambled" non-split // 24-bit table, i.e. low then bank then high. This is not really // a thing, but we should either prevent it or punt to single-byte // like we do for split tables. Debug.Assert(stride >= 1 && stride <= 3); newDfds.Add(offsets[0 + i * stride], FormatDescriptor.Create(stride, new WeakSymbolRef(targetLabel, WeakSymbolRef.Part.Low), isBigEndian)); } } } NewFormatDescriptors = newDfds; NewUserLabels = newLabels; AllTargetOffsets = targetOffsets; // Don't show ready if all addresses are invalid. It's okay if some work and // some don't. mOutputReady = (AllTargetOffsets.Count > 0); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Gauge.Range range1 = new Syncfusion.Windows.Forms.Gauge.Range(); Syncfusion.Windows.Forms.Gauge.Range range2 = new Syncfusion.Windows.Forms.Gauge.Range(); Syncfusion.Windows.Forms.Gauge.Range range3 = new Syncfusion.Windows.Forms.Gauge.Range(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange1 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange2 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange3 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange4 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv(); this.radialGauge1 = new Syncfusion.Windows.Forms.Gauge.RadialGauge(); this.linearGauge1 = new Syncfusion.Windows.Forms.Gauge.LinearGauge(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.label2 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.sfComboBox2 = new Syncfusion.WinForms.ListView.SfComboBox(); this.label1 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.sfComboBox1 = new Syncfusion.WinForms.ListView.SfComboBox(); this.checkBox1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.splitContainerAdv2 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.autoLabel1 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.checkBoxAdv2 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.checkBoxAdv1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit(); this.splitContainerAdv1.Panel1.SuspendLayout(); this.splitContainerAdv1.Panel2.SuspendLayout(); this.splitContainerAdv1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv2)).BeginInit(); this.splitContainerAdv2.Panel1.SuspendLayout(); this.splitContainerAdv2.Panel2.SuspendLayout(); this.splitContainerAdv2.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit(); this.SuspendLayout(); // // splitContainerAdv1 // this.splitContainerAdv1.BackColor = System.Drawing.Color.White; this.splitContainerAdv1.BeforeTouchSize = 13; this.splitContainerAdv1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerAdv1.FixedPanel = Syncfusion.Windows.Forms.Tools.Enums.FixedPanel.Panel1; this.splitContainerAdv1.HotExpandLine = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.splitContainerAdv1.Location = new System.Drawing.Point(0, 0); this.splitContainerAdv1.Name = "splitContainerAdv1"; this.splitContainerAdv1.Orientation = System.Windows.Forms.Orientation.Vertical; // // splitContainerAdv1.Panel1 // this.splitContainerAdv1.Panel1.BackColor = System.Drawing.Color.White; this.splitContainerAdv1.Panel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv1.Panel1.Controls.Add(this.radialGauge1); // // splitContainerAdv1.Panel2 // this.splitContainerAdv1.Panel2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv1.Panel2.Controls.Add(this.linearGauge1); this.splitContainerAdv1.PanelToBeCollapsed = Syncfusion.Windows.Forms.Tools.Enums.CollapsedPanel.Panel1; this.splitContainerAdv1.Size = new System.Drawing.Size(598, 596); this.splitContainerAdv1.SplitterDistance = 400; this.splitContainerAdv1.SplitterWidth = 13; this.splitContainerAdv1.Style = Syncfusion.Windows.Forms.Tools.Enums.Style.Office2016Colorful; this.splitContainerAdv1.TabIndex = 0; this.splitContainerAdv1.Text = "splitContainerAdv1"; this.splitContainerAdv1.ThemeName = "Office2016Colorful"; // // radialGauge1 // this.radialGauge1.ArcThickness = 2F; this.radialGauge1.Dock = System.Windows.Forms.DockStyle.Fill; this.radialGauge1.EnableCustomNeedles = false; this.radialGauge1.FillColor = System.Drawing.Color.DarkGray; this.radialGauge1.FrameThickness = 12; this.radialGauge1.FrameType = Syncfusion.Windows.Forms.Gauge.FrameType.HalfCircle; this.radialGauge1.GaugeArcColor = System.Drawing.Color.Black; this.radialGauge1.GaugeLabel = "Gauge"; this.radialGauge1.GaugeLableFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radialGauge1.GaugeValueFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radialGauge1.InterLinesColor = System.Drawing.Color.Black; this.radialGauge1.LabelPlacement = Syncfusion.Windows.Forms.Gauge.LabelPlacement.Outside; this.radialGauge1.Location = new System.Drawing.Point(0, 0); this.radialGauge1.MajorDifference = 10F; this.radialGauge1.MajorTickMarkColor = System.Drawing.Color.Black; this.radialGauge1.MaximumValue = 100F; this.radialGauge1.MinimumSize = new System.Drawing.Size(130, 52); this.radialGauge1.MinorDifference = 3F; this.radialGauge1.MinorTickMarkColor = System.Drawing.Color.Black; this.radialGauge1.Name = "radialGauge1"; this.radialGauge1.NeedleColor = System.Drawing.Color.Black; this.radialGauge1.Padding = new System.Windows.Forms.Padding(10); range1.Color = System.Drawing.Color.Lime; range1.EndValue = 40F; range1.Height = 10; range1.InRange = false; range1.Name = "Normal range"; range1.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; range1.StartValue = 0F; range2.Color = System.Drawing.Color.Yellow; range2.EndValue = 80F; range2.Height = 10; range2.InRange = false; range2.Name = "Check Range"; range2.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; range2.StartValue = 40F; range3.Color = System.Drawing.Color.Red; range3.EndValue = 100F; range3.Height = 10; range3.InRange = false; range3.Name = "Alert Range"; range3.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; range3.StartValue = 80F; this.radialGauge1.Ranges.Add(range1); this.radialGauge1.Ranges.Add(range2); this.radialGauge1.Ranges.Add(range3); this.radialGauge1.ReadOnly = false; this.radialGauge1.ScaleLabelColor = System.Drawing.Color.Black; this.radialGauge1.ShowTicks = true; this.radialGauge1.Size = new System.Drawing.Size(598, 398); this.radialGauge1.StartAngle = 180; this.radialGauge1.SweepAngle = 180; this.radialGauge1.TabIndex = 1; this.radialGauge1.ValueChanged += new System.EventHandler(this.radialGauge1_ValueChanged); // // linearGauge1 // this.linearGauge1.Dock = System.Windows.Forms.DockStyle.Fill; this.linearGauge1.ForeColor = System.Drawing.Color.Gray; this.linearGauge1.GaugelabelFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.linearGauge1.LinearFrameType = Syncfusion.Windows.Forms.Gauge.LinearFrameType.Horizontal; this.linearGauge1.Location = new System.Drawing.Point(0, 0); this.linearGauge1.MajorTicksHeight = 15; this.linearGauge1.MaximumSize = new System.Drawing.Size(598, 304); this.linearGauge1.MaximumValue = 100F; this.linearGauge1.MinimumSize = new System.Drawing.Size(100, 50); this.linearGauge1.MinorTickCount = 5; this.linearGauge1.MinorTickHeight = 10; this.linearGauge1.Name = "linearGauge1"; this.linearGauge1.Padding = new System.Windows.Forms.Padding(10); this.linearGauge1.PointerPlacement = Syncfusion.Windows.Forms.Gauge.Placement.Center; linearRange1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); linearRange1.EndValue = 15F; linearRange1.Height = 5; linearRange1.InRange = false; linearRange1.Name = "GaugeRange1"; linearRange1.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange1.StartValue = 0F; linearRange2.Color = System.Drawing.Color.Yellow; linearRange2.EndValue = 30F; linearRange2.Height = 5; linearRange2.InRange = false; linearRange2.Name = "GaugeRange2"; linearRange2.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange2.StartValue = 15F; linearRange3.Color = System.Drawing.Color.Red; linearRange3.EndValue = 40F; linearRange3.Height = 5; linearRange3.InRange = true; linearRange3.Name = "GaugeRange3"; linearRange3.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange3.StartValue = 30F; linearRange4.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); linearRange4.EndValue = 0F; linearRange4.Height = 5; linearRange4.InRange = false; linearRange4.Name = "GaugeRange4"; linearRange4.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange4.StartValue = 0F; this.linearGauge1.Ranges.Add(linearRange1); this.linearGauge1.Ranges.Add(linearRange2); this.linearGauge1.Ranges.Add(linearRange3); this.linearGauge1.Ranges.Add(linearRange4); this.linearGauge1.ReadOnly = false; this.linearGauge1.ScaleColor = System.Drawing.Color.Gray; this.linearGauge1.Size = new System.Drawing.Size(598, 183); this.linearGauge1.TabIndex = 1; this.linearGauge1.Text = "linearGauge1"; this.linearGauge1.Value = 40F; this.linearGauge1.ValueIndicatorColor = System.Drawing.Color.Gray; this.linearGauge1.ValueChanged += new System.EventHandler(this.linearGauge1_ValueChanged); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.Location = new System.Drawing.Point(3, 143); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(92, 13); this.label2.TabIndex = 4; this.label2.Text = "Toggle Panel On"; // // sfComboBox2 // this.sfComboBox2.Anchor = System.Windows.Forms.AnchorStyles.Left; this.sfComboBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.sfComboBox2.DropDownStyle = Syncfusion.WinForms.ListView.Enums.DropDownStyle.DropDownList; this.sfComboBox2.Location = new System.Drawing.Point(3, 161); this.sfComboBox2.Name = "sfComboBox2"; this.sfComboBox2.Size = new System.Drawing.Size(187, 28); this.sfComboBox2.Style.TokenStyle.CloseButtonBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.sfComboBox2.TabIndex = 3; this.sfComboBox2.SelectedIndexChanged += new System.EventHandler(this.sfComboBox2_SelectedIndexChanged); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.Location = new System.Drawing.Point(3, 65); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(31, 13); this.label1.TabIndex = 2; this.label1.Text = "Style"; // // sfComboBox1 // this.sfComboBox1.Anchor = System.Windows.Forms.AnchorStyles.Left; this.sfComboBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.sfComboBox1.DropDownStyle = Syncfusion.WinForms.ListView.Enums.DropDownStyle.DropDownList; this.sfComboBox1.Location = new System.Drawing.Point(3, 83); this.sfComboBox1.Name = "sfComboBox1"; this.sfComboBox1.Size = new System.Drawing.Size(187, 28); this.sfComboBox1.Style.EditorStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.sfComboBox1.Style.TokenStyle.CloseButtonBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.sfComboBox1.Style.TokenStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.sfComboBox1.TabIndex = 1; // // checkBox1 // this.checkBox1.Anchor = System.Windows.Forms.AnchorStyles.Left; this.checkBox1.AutoSize = false; this.checkBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.checkBox1.BeforeTouchSize = new System.Drawing.Size(89, 16); this.checkBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.checkBox1.DrawFocusRectangle = false; this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); this.checkBox1.HotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.checkBox1.Location = new System.Drawing.Point(3, 206); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(134, 16); this.checkBox1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful; this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Freeze panes"; this.checkBox1.ThemeName = "Office2016Colorful"; this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged); // // splitContainerAdv2 // this.splitContainerAdv2.BackColor = System.Drawing.Color.White; this.splitContainerAdv2.BeforeTouchSize = 13; this.splitContainerAdv2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.splitContainerAdv2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerAdv2.FixedPanel = Syncfusion.Windows.Forms.Tools.Enums.FixedPanel.Panel1; this.splitContainerAdv2.HotExpandLine = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.splitContainerAdv2.Location = new System.Drawing.Point(0, 0); this.splitContainerAdv2.Name = "splitContainerAdv2"; // // splitContainerAdv2.Panel1 // this.splitContainerAdv2.Panel1.BackColor = System.Drawing.Color.White; this.splitContainerAdv2.Panel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv2.Panel1.Controls.Add(this.splitContainerAdv1); // // splitContainerAdv2.Panel2 // this.splitContainerAdv2.Panel2.AutoSize = true; this.splitContainerAdv2.Panel2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv2.Panel2.Controls.Add(this.tableLayoutPanel2); this.splitContainerAdv2.Panel2.Padding = new System.Windows.Forms.Padding(0, 50, 0, 0); this.splitContainerAdv2.PanelToBeCollapsed = Syncfusion.Windows.Forms.Tools.Enums.CollapsedPanel.Panel1; this.splitContainerAdv2.Size = new System.Drawing.Size(877, 598); this.splitContainerAdv2.SplitterDistance = 600; this.splitContainerAdv2.SplitterWidth = 13; this.splitContainerAdv2.Style = Syncfusion.Windows.Forms.Tools.Enums.Style.Office2016Colorful; this.splitContainerAdv2.TabIndex = 2; this.splitContainerAdv2.Text = "splitContainerAdv2"; this.splitContainerAdv2.ThemeName = "Office2016Colorful"; // // tableLayoutPanel2 // this.tableLayoutPanel2.AutoScroll = true; this.tableLayoutPanel2.AutoSize = true; this.tableLayoutPanel2.BackColor = Color.Transparent; this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.checkBoxAdv2, 0, 6); this.tableLayoutPanel2.Controls.Add(this.checkBoxAdv1, 0, 7); this.tableLayoutPanel2.Controls.Add(this.autoLabel1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.checkBox1, 0, 5); this.tableLayoutPanel2.Controls.Add(this.sfComboBox2, 0, 4); this.tableLayoutPanel2.Controls.Add(this.label2, 0, 3); this.tableLayoutPanel2.Controls.Add(this.sfComboBox1, 0, 2); this.tableLayoutPanel2.Controls.Add(this.label1, 0, 1); this.tableLayoutPanel2.Location = new System.Drawing.Point(21, 57); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 8; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(200, 317); this.tableLayoutPanel2.TabIndex = 3; // // autoLabel1 // this.autoLabel1.Anchor = System.Windows.Forms.AnchorStyles.Left; this.autoLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.autoLabel1.Location = new System.Drawing.Point(3, 9); this.autoLabel1.Name = "autoLabel1"; this.autoLabel1.Size = new System.Drawing.Size(91, 20); this.autoLabel1.TabIndex = 7; this.autoLabel1.Text = "Properties"; // // checkBoxAdv2 // this.checkBoxAdv2.Anchor = System.Windows.Forms.AnchorStyles.Left; this.checkBoxAdv2.AutoSize = false; this.checkBoxAdv2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.checkBoxAdv2.BeforeTouchSize = new System.Drawing.Size(134, 16); this.checkBoxAdv2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.checkBoxAdv2.DrawFocusRectangle = false; this.checkBoxAdv2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); this.checkBoxAdv2.HotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.checkBoxAdv2.Location = new System.Drawing.Point(3, 245); this.checkBoxAdv2.Name = "checkBoxAdv2"; this.checkBoxAdv2.Size = new System.Drawing.Size(134, 16); this.checkBoxAdv2.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful; this.checkBoxAdv2.TabIndex = 6; this.checkBoxAdv2.Text = "Collapse LinearGauge"; this.checkBoxAdv2.ThemeName = "Office2016Colorful"; this.checkBoxAdv2.CheckStateChanged += new System.EventHandler(this.checkBoxAdv2_CheckStateChanged); // // checkBoxAdv1 // this.checkBoxAdv1.Anchor = System.Windows.Forms.AnchorStyles.Left; this.checkBoxAdv1.AutoSize = false; this.checkBoxAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.checkBoxAdv1.BeforeTouchSize = new System.Drawing.Size(135, 16); this.checkBoxAdv1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.checkBoxAdv1.DrawFocusRectangle = false; this.checkBoxAdv1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); this.checkBoxAdv1.HotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.checkBoxAdv1.Location = new System.Drawing.Point(3, 287); this.checkBoxAdv1.Name = "checkBoxAdv1"; this.checkBoxAdv1.Size = new System.Drawing.Size(135, 16); this.checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful; this.checkBoxAdv1.TabIndex = 5; this.checkBoxAdv1.Text = "Collapse RadialGauge"; this.checkBoxAdv1.ThemeName = "Office2016Colorful"; this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged); // // Form1 // this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(877, 598); this.Controls.Add(this.splitContainerAdv2); this.MaximumSize = new System.Drawing.Size(893, 662); this.MinimumSize = new System.Drawing.Size(893, 615); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SplitContainer"; this.Load += new System.EventHandler(this.Form1_Load); this.splitContainerAdv1.Panel1.ResumeLayout(false); this.splitContainerAdv1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit(); this.splitContainerAdv1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit(); this.splitContainerAdv2.Panel1.ResumeLayout(false); this.splitContainerAdv2.Panel2.ResumeLayout(false); this.splitContainerAdv2.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv2)).EndInit(); this.splitContainerAdv2.ResumeLayout(false); this.splitContainerAdv2.PerformLayout(); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit(); 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(Form1)); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.comboBoxAdv1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.label3 = new System.Windows.Forms.Label(); this.textBox1 = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.autoComplete1 = new Syncfusion.Windows.Forms.Tools.AutoComplete(this.components); this.textBox5 = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.textBox4 = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.textBox6 = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.comboBoxAdv2 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.label5 = new System.Windows.Forms.Label(); this.autoCompleteDataColumnInfo1 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("URL", 100, true); this.autoCompleteDataColumnInfo2 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("Name", 100, true); this.autoCompleteDataColumnInfo3 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("ImageIndex", 100, true); this.imageList3 = new System.Windows.Forms.ImageList(this.components); this.label10 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); this.label40 = new System.Windows.Forms.Label(); this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); this.label15 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.autoLabel1 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.label9 = new System.Windows.Forms.Label(); this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv(); this.label1 = new System.Windows.Forms.Label(); this.comboBoxAdv3 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.autoComplete2 = new Syncfusion.Windows.Forms.Tools.AutoComplete(this.components); this.skinManager1 = new Syncfusion.Windows.Forms.SkinManager(this.components); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.autoComplete1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit(); this.gradientPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit(); this.gradientPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit(); this.splitContainerAdv1.Panel1.SuspendLayout(); this.splitContainerAdv1.Panel2.SuspendLayout(); this.splitContainerAdv1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.autoComplete2)).BeginInit(); this.SuspendLayout(); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); // // comboBoxAdv1 // this.comboBoxAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.comboBoxAdv1.BeforeTouchSize = new System.Drawing.Size(186, 27); this.comboBoxAdv1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxAdv1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxAdv1.Items.AddRange(new object[] { "Disabled", "AutoSuggest", "AutoAppend", "Both" }); this.comboBoxAdv1.Location = new System.Drawing.Point(241, 201); this.comboBoxAdv1.Name = "comboBoxAdv1"; this.comboBoxAdv1.Office2007ColorTheme = Syncfusion.Windows.Forms.Office2007Theme.Black; this.comboBoxAdv1.Office2010ColorTheme = Syncfusion.Windows.Forms.Office2010Theme.Black; this.comboBoxAdv1.Size = new System.Drawing.Size(186, 27); this.comboBoxAdv1.Style = Syncfusion.Windows.Forms.VisualStyle.Office2016Colorful; this.comboBoxAdv1.TabIndex = 10; this.comboBoxAdv1.Text = "Disabled"; this.comboBoxAdv1.SelectedIndexChanged += new System.EventHandler(this.comboBoxAdv1_SelectedIndexChanged); // // label3 // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(43, 203); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(164, 19); this.label3.TabIndex = 9; this.label3.Text = "Set AutoComplete Mode:"; // // textBox1 // this.autoComplete1.SetAutoComplete(this.textBox1, Syncfusion.Windows.Forms.Tools.AutoCompleteModes.AutoSuggest); this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.textBox1.BeforeTouchSize = new System.Drawing.Size(186, 26); this.textBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox1.Cursor = System.Windows.Forms.Cursors.IBeam; this.textBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68))))); this.textBox1.Location = new System.Drawing.Point(680, 196); this.textBox1.Metrocolor = System.Drawing.Color.Gray; this.textBox1.Name = "textBox1"; this.textBox1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black; this.textBox1.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black; this.textBox1.Size = new System.Drawing.Size(259, 26); this.textBox1.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful; this.textBox1.TabIndex = 6; // // autoComplete1 // this.autoComplete1.AutoAddItem = true; this.autoComplete1.HeaderFont = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.autoComplete1.ItemFont = new System.Drawing.Font("Segoe UI", 8.25F); this.autoComplete1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.autoComplete1.ParentForm = this; this.autoComplete1.Style = Syncfusion.Windows.Forms.Tools.AutoCompleteStyle.Office2016Colorful; this.autoComplete1.AutoCompleteItemSelected += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemSelected); this.autoComplete1.AutoCompleteItemBrowsed += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemBrowsed); // // textBox5 // this.textBox5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.textBox5.BeforeTouchSize = new System.Drawing.Size(186, 26); this.textBox5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.textBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox5.Cursor = System.Windows.Forms.Cursors.IBeam; this.textBox5.Dock = System.Windows.Forms.DockStyle.Bottom; this.textBox5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68))))); this.textBox5.Metrocolor = System.Drawing.Color.Gray; this.textBox5.Location = new System.Drawing.Point(0, 307); this.textBox5.Multiline = true; this.textBox5.Name = "textBox5"; this.textBox5.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black; this.textBox5.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black; this.textBox5.Size = new System.Drawing.Size(1177, 123); this.textBox5.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful; this.textBox5.TabIndex = 18; // // textBox4 // this.autoComplete2.SetAutoComplete(this.textBox4, Syncfusion.Windows.Forms.Tools.AutoCompleteModes.MultiSuggestExtended); this.textBox4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.textBox4.BeforeTouchSize = new System.Drawing.Size(186, 26); this.textBox4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.textBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox4.Cursor = System.Windows.Forms.Cursors.IBeam; this.textBox4.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68))))); this.textBox4.Location = new System.Drawing.Point(241, 204); this.textBox4.Metrocolor = System.Drawing.Color.Gray; this.textBox4.Name = "textBox4"; this.textBox4.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black; this.textBox4.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black; this.textBox4.Size = new System.Drawing.Size(654, 26); this.textBox4.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful; this.textBox4.TabIndex = 17; // // textBox6 // this.textBox6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.textBox6.BeforeTouchSize = new System.Drawing.Size(186, 26); this.textBox6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.textBox6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox6.Cursor = System.Windows.Forms.Cursors.IBeam; this.textBox6.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68))))); this.textBox6.Location = new System.Drawing.Point(241, 244); this.textBox6.Metrocolor = System.Drawing.Color.Gray; this.textBox6.Name = "textBox6"; this.textBox6.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black; this.textBox6.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black; this.textBox6.Size = new System.Drawing.Size(186, 26); this.textBox6.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful; this.textBox6.TabIndex = 35; this.textBox6.TextChanged += new System.EventHandler(this.textBox6_TextChanged); // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, ""); this.imageList2.Images.SetKeyName(1, ""); this.imageList2.Images.SetKeyName(2, ""); this.imageList2.Images.SetKeyName(3, ""); // // comboBoxAdv2 // this.comboBoxAdv2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.comboBoxAdv2.BeforeTouchSize = new System.Drawing.Size(187, 27); this.comboBoxAdv2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxAdv2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxAdv2.Items.AddRange(new object[] { "MultiSuggest", "MultiSuggestExtended" }); this.comboBoxAdv2.Location = new System.Drawing.Point(241, 168); this.comboBoxAdv2.Name = "comboBoxAdv2"; this.comboBoxAdv2.Office2007ColorTheme = Syncfusion.Windows.Forms.Office2007Theme.Black; this.comboBoxAdv2.Office2010ColorTheme = Syncfusion.Windows.Forms.Office2010Theme.Black; this.comboBoxAdv2.Size = new System.Drawing.Size(187, 27); this.comboBoxAdv2.Style = Syncfusion.Windows.Forms.VisualStyle.Office2016Colorful; this.comboBoxAdv2.TabIndex = 13; this.comboBoxAdv2.Text = "MultiSuggestExtended"; this.comboBoxAdv2.SelectedIndexChanged += new System.EventHandler(this.comboBoxAdv2_SelectedIndexChanged); // // label5 // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.Color.Transparent; this.label5.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161))); this.label5.Location = new System.Drawing.Point(606, 201); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(60, 17); this.label5.TabIndex = 14; this.label5.Text = "TextBox"; // // imageList3 // this.imageList3.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList3.ImageStream"))); this.imageList3.TransparentColor = System.Drawing.Color.Transparent; this.imageList3.Images.SetKeyName(0, ""); this.imageList3.Images.SetKeyName(1, ""); this.imageList3.Images.SetKeyName(2, ""); this.imageList3.Images.SetKeyName(3, ""); // // autoCompleteDataColumnInfo1 // this.autoCompleteDataColumnInfo1.ColumnHeaderText = "URL"; this.autoCompleteDataColumnInfo1.ImageColumn = false; this.autoCompleteDataColumnInfo1.MatchingColumn = true; this.autoCompleteDataColumnInfo1.Visible = true; // // autoCompleteDataColumnInfo2 // this.autoCompleteDataColumnInfo2.ColumnHeaderText = "Name"; this.autoCompleteDataColumnInfo2.ImageColumn = false; this.autoCompleteDataColumnInfo2.MatchingColumn = false; this.autoCompleteDataColumnInfo2.Visible = true; // // autoCompleteDataColumnInfo3 // this.autoCompleteDataColumnInfo3.ColumnHeaderText = "ImageIndex"; this.autoCompleteDataColumnInfo3.ImageColumn = true; this.autoCompleteDataColumnInfo3.MatchingColumn = false; this.autoCompleteDataColumnInfo3.Visible = true; // // // label10 // this.label10.BackColor = System.Drawing.Color.Transparent; this.label10.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label10.Location = new System.Drawing.Point(6, 4); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(222, 30); this.label10.TabIndex = 13; this.label10.Text = "UnBounded DataSource"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label2.Location = new System.Drawing.Point(6, -1); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(201, 30); this.label2.TabIndex = 20; this.label2.Text = "Bounded DataSource"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label6 // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.Color.Transparent; this.label6.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(39, 174); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(164, 19); this.label6.TabIndex = 21; this.label6.Text = "Set AutoComplete Mode:"; // // gradientPanel1 // this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gradientPanel1.BorderColor = System.Drawing.Color.Gray; this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel1.Controls.Add(this.label40); this.gradientPanel1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gradientPanel1.Location = new System.Drawing.Point(213, 34); this.gradientPanel1.Name = "gradientPanel1"; this.gradientPanel1.Size = new System.Drawing.Size(846, 104); this.gradientPanel1.TabIndex = 26; // // label40 // this.label40.BackColor = System.Drawing.Color.Transparent; this.label40.Dock = System.Windows.Forms.DockStyle.Fill; this.label40.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label40.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label40.Location = new System.Drawing.Point(0, 0); this.label40.Name = "label40"; this.label40.Size = new System.Drawing.Size(844, 102); this.label40.TabIndex = 1; this.label40.Text = resources.GetString("label40.Text"); this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // gradientPanel2 // this.gradientPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gradientPanel2.BorderColor = System.Drawing.Color.Gray; this.gradientPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel2.Controls.Add(this.label15); this.gradientPanel2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gradientPanel2.Location = new System.Drawing.Point(213, 23); this.gradientPanel2.Name = "gradientPanel2"; this.gradientPanel2.Size = new System.Drawing.Size(845, 96); this.gradientPanel2.TabIndex = 27; // // label15 // this.label15.BackColor = System.Drawing.Color.Transparent; this.label15.Dock = System.Windows.Forms.DockStyle.Fill; this.label15.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label15.Location = new System.Drawing.Point(0, 0); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(843, 94); this.label15.TabIndex = 1; this.label15.Text = "The DataSource for this AutoComplete control is set to an XML Datasource. Enter h" + " to view the autocomplete. "; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.BackColor = System.Drawing.Color.Transparent; this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label4.Location = new System.Drawing.Point(6, 267); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(119, 31); this.label4.TabIndex = 28; this.label4.Text = "Event Log"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // autoLabel1 // this.autoLabel1.BackColor = System.Drawing.Color.Transparent; this.autoLabel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.autoLabel1.Location = new System.Drawing.Point(43, 248); this.autoLabel1.Name = "autoLabel1"; this.autoLabel1.Size = new System.Drawing.Size(163, 19); this.autoLabel1.TabIndex = 34; this.autoLabel1.Text = "Number Of Suggestions :"; // // label9 // this.label9.AutoSize = true; this.label9.BackColor = System.Drawing.Color.Transparent; this.label9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(39, 208); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(55, 19); this.label9.TabIndex = 33; this.label9.Text = "TextBox"; // // splitContainerAdv1 // this.splitContainerAdv1.BeforeTouchSize = 1; this.splitContainerAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.splitContainerAdv1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerAdv1.HotExpandLine = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.splitContainerAdv1.Location = new System.Drawing.Point(10, 10); this.splitContainerAdv1.Name = "splitContainerAdv1"; this.splitContainerAdv1.Orientation = System.Windows.Forms.Orientation.Vertical; // // splitContainerAdv1.Panel1 // this.splitContainerAdv1.Panel1.BackColor = System.Drawing.Color.Transparent; this.splitContainerAdv1.Panel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv1.Panel1.Controls.Add(this.label1); this.splitContainerAdv1.Panel1.Controls.Add(this.comboBoxAdv3); this.splitContainerAdv1.Panel1.Controls.Add(this.label10); this.splitContainerAdv1.Panel1.Controls.Add(this.textBox6); this.splitContainerAdv1.Panel1.Controls.Add(this.label3); this.splitContainerAdv1.Panel1.Controls.Add(this.autoLabel1); this.splitContainerAdv1.Panel1.Controls.Add(this.comboBoxAdv1); this.splitContainerAdv1.Panel1.Controls.Add(this.textBox1); this.splitContainerAdv1.Panel1.Controls.Add(this.label5); this.splitContainerAdv1.Panel1.Controls.Add(this.gradientPanel1); // // splitContainerAdv1.Panel2 // this.splitContainerAdv1.Panel2.BackColor = System.Drawing.Color.Transparent; this.splitContainerAdv1.Panel2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv1.Panel2.Controls.Add(this.label2); this.splitContainerAdv1.Panel2.Controls.Add(this.label9); this.splitContainerAdv1.Panel2.Controls.Add(this.textBox5); this.splitContainerAdv1.Panel2.Controls.Add(this.textBox4); this.splitContainerAdv1.Panel2.Controls.Add(this.comboBoxAdv2); this.splitContainerAdv1.Panel2.Controls.Add(this.label4); this.splitContainerAdv1.Panel2.Controls.Add(this.label6); this.splitContainerAdv1.Panel2.Controls.Add(this.gradientPanel2); this.splitContainerAdv1.Size = new System.Drawing.Size(1179, 724); this.splitContainerAdv1.SplitterDistance = 291; this.splitContainerAdv1.SplitterWidth = 1; this.splitContainerAdv1.Style = Syncfusion.Windows.Forms.Tools.Enums.Style.Office2016Colorful; this.splitContainerAdv1.TabIndex = 36; this.splitContainerAdv1.Text = "splitContainerAdv1"; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(43, 158); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(78, 19); this.label1.TabIndex = 36; this.label1.Text = "Visual Style"; // // comboBoxAdv3 // this.comboBoxAdv3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.comboBoxAdv3.BeforeTouchSize = new System.Drawing.Size(186, 27); this.comboBoxAdv3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxAdv3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxAdv3.Items.AddRange(new object[] { "Office2016Colorful", "Office2016White", "Office2016Black", "Office2016DarkGray", "Metro", "Default" }); this.comboBoxAdv3.Location = new System.Drawing.Point(241, 158); this.comboBoxAdv3.Name = "comboBoxAdv3"; this.comboBoxAdv3.Office2007ColorTheme = Syncfusion.Windows.Forms.Office2007Theme.Black; this.comboBoxAdv3.Office2010ColorTheme = Syncfusion.Windows.Forms.Office2010Theme.Black; this.comboBoxAdv3.Size = new System.Drawing.Size(186, 27); this.comboBoxAdv3.Style = Syncfusion.Windows.Forms.VisualStyle.Office2016Colorful; this.comboBoxAdv3.TabIndex = 37; this.comboBoxAdv3.Text = "Metro"; this.comboBoxAdv3.SelectedIndexChanged += new System.EventHandler(this.comboBoxAdv3_SelectedIndexChanged); // // autoComplete2 // this.autoComplete2.AdjustHeightToItemCount = false; this.autoComplete2.Columns.Add(this.autoCompleteDataColumnInfo1); this.autoComplete2.Columns.Add(this.autoCompleteDataColumnInfo2); this.autoComplete2.Columns.Add(this.autoCompleteDataColumnInfo3); this.autoComplete2.HeaderFont = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.autoComplete2.ImageList = this.imageList3; this.autoComplete2.ItemFont = new System.Drawing.Font("Segoe UI", 8.25F); this.autoComplete2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.autoComplete2.ParentForm = this; this.autoComplete2.ShowColumnHeader = true; this.autoComplete2.Style = Syncfusion.Windows.Forms.Tools.AutoCompleteStyle.Office2016Colorful; this.autoComplete2.AutoCompleteItemSelected += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemSelected); this.autoComplete2.AutoCompleteItemBrowsed += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemBrowsed); // // skinManager1 // this.skinManager1.Controls = this; this.skinManager1.VisualTheme = Syncfusion.Windows.Forms.VisualTheme.Office2016Colorful; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(7, 19); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1199, 744); this.Controls.Add(this.splitContainerAdv1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(1211, 785); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Autocomplete Demo"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.autoComplete1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit(); this.gradientPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit(); this.gradientPanel2.ResumeLayout(false); this.splitContainerAdv1.Panel1.ResumeLayout(false); this.splitContainerAdv1.Panel1.PerformLayout(); this.splitContainerAdv1.Panel2.ResumeLayout(false); this.splitContainerAdv1.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit(); this.splitContainerAdv1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.autoComplete2)).EndInit(); this.ResumeLayout(false); }
private void GenerateFormats(int div, int highConst, int bankConst) { SortedList <int, FormatDescriptor> newDfds = new SortedList <int, FormatDescriptor>(); Dictionary <int, Symbol> newLabels = new Dictionary <int, Symbol>(); List <int> targetOffsets = new List <int>(); // Identify the offset where each set of data starts. int span = mSelection.Count / div; int lowOff, highOff, bankOff; if (lowFirstPartRadio.Checked) { lowOff = 0; } else if (lowSecondPartRadio.Checked) { lowOff = span; } else if (lowThirdPartRadio.Checked) { lowOff = span * 2; } else { Debug.Assert(false); lowOff = -1; } if (highFirstPartRadio.Checked) { highOff = 0; } else if (highSecondPartRadio.Checked) { highOff = span; } else if (highThirdPartRadio.Checked) { highOff = span * 2; } else { highOff = -1; // use constant } if (width24Radio.Checked) { if (bankNthPartRadio.Checked) { // Use whichever part isn't being used by the other two. if (lowOff != 0 && highOff != 0) { bankOff = 0; } else if (lowOff != span && highOff != span) { bankOff = span; } else { Debug.Assert(lowOff != span * 2 && highOff != span * 2); bankOff = span * 2; } } else { bankOff = -1; // use constant } } else { bankOff = -1; // use constant bankConst = 0; // always bank 0 } Debug.WriteLine("Extract from low=" + lowOff + " high=" + highOff + " bank=" + bankOff); // The TypedRangeSet doesn't have an index operation, so copy the values into // an array. int[] offsets = new int[mSelection.Count]; int index = 0; foreach (TypedRangeSet.Tuple tup in mSelection) { offsets[index++] = tup.Value; } int adj = 0; if (pushRtsCheckBox.Checked) { adj = 1; } // Walk through the file data, generating addresses as we go. byte[] fileData = mProject.FileData; for (int i = 0; i < span; i++) { byte low, high, bank; low = fileData[offsets[lowOff + i]]; if (highOff >= 0) { high = fileData[offsets[highOff + i]]; } else { high = (byte)highConst; } if (bankOff >= 0) { bank = fileData[offsets[bankOff + i]]; } else { bank = (byte)bankConst; } int addr = ((bank << 16) | (high << 8) | low) + adj; int targetOffset = mProject.AddrMap.AddressToOffset(offsets[0], addr); if (targetOffset < 0) { // Address not within file bounds. // TODO(maybe): look for matching platform/project symbols AddPreviewItem(addr, -1, Properties.Resources.INVALID_ADDRESS); } else { // Note the same target offset may appear more than once. targetOffsets.Add(targetOffset); // If there's a user-defined label there already, use it. Otherwise, we'll // need to generate one. string targetLabel; if (mProject.UserLabels.TryGetValue(targetOffset, out Symbol sym)) { targetLabel = sym.Label; AddPreviewItem(addr, targetOffset, targetLabel); } else { // Generate a symbol that's unique vs. the symbol table. We don't need // it to be unique vs. the labels we're generating here, because we // won't generate identical labels for different addresses, and we do // want to generate a single label if more than one table entry refers // to the same target. Symbol tmpSym = AutoLabel.GenerateUniqueForAddress(addr, mProject.SymbolTable, "T"); // tmpSym was returned as an auto-label, make it a user label instead tmpSym = new Symbol(tmpSym.Label, tmpSym.Value, Symbol.Source.User, Symbol.Type.LocalOrGlobalAddr); newLabels[targetOffset] = tmpSym; // overwrites previous targetLabel = tmpSym.Label; AddPreviewItem(addr, targetOffset, "(+) " + targetLabel); } // Now we need to create format descriptors for the addresses where we // extracted the low, high, and bank values. newDfds.Add(offsets[lowOff + i], FormatDescriptor.Create(1, new WeakSymbolRef(targetLabel, WeakSymbolRef.Part.Low), false)); if (highOff >= 0) { newDfds.Add(offsets[highOff + i], FormatDescriptor.Create(1, new WeakSymbolRef(targetLabel, WeakSymbolRef.Part.High), false)); } if (bankOff >= 0) { newDfds.Add(offsets[bankOff + i], FormatDescriptor.Create(1, new WeakSymbolRef(targetLabel, WeakSymbolRef.Part.Bank), false)); } } } NewFormatDescriptors = newDfds; NewUserLabels = newLabels; AllTargetOffsets = targetOffsets; // Don't show ready if all addresses are invalid. mOutputReady = (AllTargetOffsets.Count > 0); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Gauge.Range range1 = new Syncfusion.Windows.Forms.Gauge.Range(); Syncfusion.Windows.Forms.Gauge.Range range2 = new Syncfusion.Windows.Forms.Gauge.Range(); Syncfusion.Windows.Forms.Gauge.Range range3 = new Syncfusion.Windows.Forms.Gauge.Range(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange1 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange2 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange3 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange4 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); Syncfusion.Windows.Forms.Gauge.LinearRange linearRange5 = new Syncfusion.Windows.Forms.Gauge.LinearRange(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv(); this.radialGauge1 = new Syncfusion.Windows.Forms.Gauge.RadialGauge(); this.linearGauge1 = new Syncfusion.Windows.Forms.Gauge.LinearGauge(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.label3 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.label2 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.sfComboBox2 = new SfComboBox(); this.label1 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.sfComboBox1 = new SfComboBox(); this.checkBox1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.splitContainerAdv2 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv(); this.autoLabel1 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.checkBoxAdv2 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.checkBoxAdv1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit(); this.splitContainerAdv1.Panel1.SuspendLayout(); this.splitContainerAdv1.Panel2.SuspendLayout(); this.splitContainerAdv1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv2)).BeginInit(); this.splitContainerAdv2.Panel1.SuspendLayout(); this.splitContainerAdv2.Panel2.SuspendLayout(); this.splitContainerAdv2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit(); this.SuspendLayout(); // // splitContainerAdv1 // this.splitContainerAdv1.BackColor = System.Drawing.Color.White; this.splitContainerAdv1.BeforeTouchSize = 13; this.splitContainerAdv1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerAdv1.FixedPanel = Syncfusion.Windows.Forms.Tools.Enums.FixedPanel.Panel1; this.splitContainerAdv1.HotExpandLine = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.splitContainerAdv1.Location = new System.Drawing.Point(0, 0); this.splitContainerAdv1.Name = "splitContainerAdv1"; this.splitContainerAdv1.Orientation = System.Windows.Forms.Orientation.Vertical; // // splitContainerAdv1.Panel1 // this.splitContainerAdv1.Panel1.BackColor = System.Drawing.Color.White; this.splitContainerAdv1.Panel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv1.Panel1.Controls.Add(this.radialGauge1); // // splitContainerAdv1.Panel2 // this.splitContainerAdv1.Panel2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv1.Panel2.Controls.Add(this.linearGauge1); this.splitContainerAdv1.PanelToBeCollapsed = Syncfusion.Windows.Forms.Tools.Enums.CollapsedPanel.Panel1; this.splitContainerAdv1.Size = new System.Drawing.Size(598, 573); this.splitContainerAdv1.SplitterDistance = 275; this.splitContainerAdv1.SplitterWidth = 13; this.splitContainerAdv1.Style = Syncfusion.Windows.Forms.Tools.Enums.Style.Office2016Colorful; this.splitContainerAdv1.TabIndex = 0; this.splitContainerAdv1.Text = "splitContainerAdv1"; // // radialGauge1 // this.radialGauge1.Anchor = System.Windows.Forms.AnchorStyles.None; this.radialGauge1.EnableCustomNeedles = false; this.radialGauge1.FrameType = Syncfusion.Windows.Forms.Gauge.FrameType.HalfCircle; this.radialGauge1.GaugeArcColor = System.Drawing.Color.Black; this.radialGauge1.GaugeLabel = "Gauge"; this.radialGauge1.GaugeLableFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radialGauge1.GaugeValueFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radialGauge1.InterLinesColor = System.Drawing.Color.Black; this.radialGauge1.LabelPlacement = Syncfusion.Windows.Forms.Gauge.LabelPlacement.Outside; this.radialGauge1.Location = new System.Drawing.Point(140, 25); this.radialGauge1.MajorDifference = 10F; this.radialGauge1.MajorTickMarkColor = System.Drawing.Color.Black; this.radialGauge1.MaximumValue = 100F; this.radialGauge1.MinimumSize = new System.Drawing.Size(130, 52); this.radialGauge1.MinorDifference = 3F; this.radialGauge1.MinorTickMarkColor = System.Drawing.Color.Black; this.radialGauge1.Name = "radialGauge1"; this.radialGauge1.NeedleColor = System.Drawing.Color.Black; range1.Color = System.Drawing.Color.Lime; range1.EndValue = 40F; range1.Height = 10; range1.InRange = false; range1.Name = "Normal range"; range1.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; range1.StartValue = 0F; range2.Color = System.Drawing.Color.Yellow; range2.EndValue = 80F; range2.Height = 10; range2.InRange = false; range2.Name = "Check Range"; range2.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; range2.StartValue = 40F; range3.Color = System.Drawing.Color.Red; range3.EndValue = 100F; range3.Height = 10; range3.InRange = false; range3.Name = "Alert Range"; range3.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; range3.StartValue = 80F; this.radialGauge1.Ranges.Add(range1); this.radialGauge1.Ranges.Add(range2); this.radialGauge1.Ranges.Add(range3); this.radialGauge1.ReadOnly = false; this.radialGauge1.ScaleLabelColor = System.Drawing.Color.Black; this.radialGauge1.Size = new System.Drawing.Size(316, 210); this.radialGauge1.StartAngle = 180; this.radialGauge1.SweepAngle = 180; this.radialGauge1.TabIndex = 1; this.radialGauge1.ValueChanged += new System.EventHandler(this.radialGauge1_ValueChanged); // // linearGauge1 // this.linearGauge1.Anchor = System.Windows.Forms.AnchorStyles.None; this.linearGauge1.ForeColor = System.Drawing.Color.Gray; this.linearGauge1.GaugelabelFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.linearGauge1.LinearFrameType = Syncfusion.Windows.Forms.Gauge.LinearFrameType.Horizontal; this.linearGauge1.Location = new System.Drawing.Point(141, 81); this.linearGauge1.MajorTicksHeight = 15; this.linearGauge1.MaximumValue = 100F; this.linearGauge1.MinimumSize = new System.Drawing.Size(100, 50); this.linearGauge1.MinorTickCount = 5; this.linearGauge1.MinorTickHeight = 10; this.linearGauge1.Name = "linearGauge1"; this.linearGauge1.PointerPlacement = Syncfusion.Windows.Forms.Gauge.Placement.Center; linearRange1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); linearRange1.EndValue = 67F; linearRange1.Height = 5; linearRange1.InRange = false; linearRange1.Name = "GaugeRange1"; linearRange1.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange1.StartValue = 45F; linearRange2.Color = System.Drawing.Color.Red; linearRange2.EndValue = 15F; linearRange2.Height = 5; linearRange2.InRange = false; linearRange2.Name = "GaugeRange2"; linearRange2.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange2.StartValue = 5F; linearRange3.Color = System.Drawing.Color.Yellow; linearRange3.EndValue = 38F; linearRange3.Height = 5; linearRange3.InRange = false; linearRange3.Name = "GaugeRange3"; linearRange3.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange3.StartValue = 23F; linearRange4.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); linearRange4.EndValue = 0F; linearRange4.Height = 5; linearRange4.InRange = false; linearRange4.Name = "GaugeRange4"; linearRange4.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange4.StartValue = 0F; linearRange5.Color = System.Drawing.Color.Blue; linearRange5.EndValue = 100F; linearRange5.Height = 5; linearRange5.InRange = false; linearRange5.Name = "GaugeRange5"; linearRange5.RangePlacement = Syncfusion.Windows.Forms.Gauge.TickPlacement.Inside; linearRange5.StartValue = 80F; this.linearGauge1.Ranges.Add(linearRange1); this.linearGauge1.Ranges.Add(linearRange2); this.linearGauge1.Ranges.Add(linearRange3); this.linearGauge1.Ranges.Add(linearRange4); this.linearGauge1.Ranges.Add(linearRange5); this.linearGauge1.ReadOnly = false; this.linearGauge1.ScaleColor = System.Drawing.Color.Gray; this.linearGauge1.Size = new System.Drawing.Size(316, 125); this.linearGauge1.TabIndex = 1; this.linearGauge1.Text = "linearGauge1"; this.linearGauge1.Value = 40F; this.linearGauge1.ValueIndicatorColor = System.Drawing.Color.Gray; this.linearGauge1.ValueChanged += new System.EventHandler(this.linearGauge1_ValueChanged); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); // // label3 // this.label3.AutoSize = false; this.label3.Dock = System.Windows.Forms.DockStyle.Top; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label3.Location = new System.Drawing.Point(10, 10); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(861, 25); this.label3.TabIndex = 0; this.label3.Text = "This sample showcases the collapsible features and different styles of the SplitContainerAdv control."; // // label2 // this.label2.Anchor = System.Windows.Forms.AnchorStyles.None; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(27, 214); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(126, 20); this.label2.TabIndex = 4; this.label2.Text = "Toggle Panel On"; // // comboBoxAdv1 // this.sfComboBox2.Anchor = System.Windows.Forms.AnchorStyles.None; this.sfComboBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.sfComboBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.sfComboBox2.Location = new System.Drawing.Point(30, 248); this.sfComboBox2.Name = "comboBoxAdv1"; this.sfComboBox2.Size = new System.Drawing.Size(167, 28); this.sfComboBox2.TabIndex = 3; this.sfComboBox2.SelectedIndexChanged += new System.EventHandler(this.sfComboBox2_SelectedIndexChanged); // // label1 // this.label1.Anchor = System.Windows.Forms.AnchorStyles.None; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(27, 121); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(44, 20); this.label1.TabIndex = 2; this.label1.Text = "Style"; // // comboBox1 // this.sfComboBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.sfComboBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.sfComboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.sfComboBox1.Location = new System.Drawing.Point(30, 155); this.sfComboBox1.Name = "comboBox1"; this.sfComboBox1.Size = new System.Drawing.Size(167, 28); this.sfComboBox1.TabIndex = 1; // // checkBox1 // this.checkBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.checkBox1.AutoSize = true; this.checkBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.checkBox1.BeforeTouchSize = new System.Drawing.Size(122, 23); this.checkBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.checkBox1.DrawFocusRectangle = false; this.checkBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); this.checkBox1.HotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.checkBox1.Location = new System.Drawing.Point(27, 314); this.checkBox1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91))))); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(122, 23); this.checkBox1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful; this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Freeze panes"; this.checkBox1.ThemesEnabled = false; this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged); // // splitContainerAdv2 // this.splitContainerAdv2.BackColor = System.Drawing.Color.White; this.splitContainerAdv2.BeforeTouchSize = 13; this.splitContainerAdv2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.splitContainerAdv2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerAdv2.FixedPanel = Syncfusion.Windows.Forms.Tools.Enums.FixedPanel.Panel1; this.splitContainerAdv2.HotExpandLine = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.splitContainerAdv2.Location = new System.Drawing.Point(10, 35); this.splitContainerAdv2.Name = "splitContainerAdv2"; // // splitContainerAdv2.Panel1 // this.splitContainerAdv2.Panel1.BackColor = System.Drawing.Color.White; this.splitContainerAdv2.Panel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv2.Panel1.Controls.Add(this.splitContainerAdv1); // // splitContainerAdv2.Panel2 // this.splitContainerAdv2.Panel2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.splitContainerAdv2.Panel2.Controls.Add(this.autoLabel1); this.splitContainerAdv2.Panel2.Controls.Add(this.checkBoxAdv2); this.splitContainerAdv2.Panel2.Controls.Add(this.checkBoxAdv1); this.splitContainerAdv2.Panel2.Controls.Add(this.label2); this.splitContainerAdv2.Panel2.Controls.Add(this.checkBox1); this.splitContainerAdv2.Panel2.Controls.Add(this.sfComboBox2); this.splitContainerAdv2.Panel2.Controls.Add(this.sfComboBox1); this.splitContainerAdv2.Panel2.Controls.Add(this.label1); this.splitContainerAdv2.PanelToBeCollapsed = Syncfusion.Windows.Forms.Tools.Enums.CollapsedPanel.Panel1; this.splitContainerAdv2.Size = new System.Drawing.Size(861, 575); this.splitContainerAdv2.SplitterDistance = 600; this.splitContainerAdv2.SplitterWidth = 13; this.splitContainerAdv2.Style = Syncfusion.Windows.Forms.Tools.Enums.Style.Office2016Colorful; this.splitContainerAdv2.TabIndex = 2; this.splitContainerAdv2.Text = "splitContainerAdv2"; // // autoLabel1 // this.autoLabel1.Anchor = System.Windows.Forms.AnchorStyles.None; this.autoLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.autoLabel1.Location = new System.Drawing.Point(30, 70); this.autoLabel1.Name = "autoLabel1"; this.autoLabel1.Size = new System.Drawing.Size(91, 20); this.autoLabel1.TabIndex = 7; this.autoLabel1.Text = "Properties"; // // checkBoxAdv2 // this.checkBoxAdv2.Anchor = System.Windows.Forms.AnchorStyles.None; this.checkBoxAdv2.AutoSize = true; this.checkBoxAdv2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.checkBoxAdv2.BeforeTouchSize = new System.Drawing.Size(182, 23); this.checkBoxAdv2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.checkBoxAdv2.DrawFocusRectangle = false; this.checkBoxAdv2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxAdv2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); this.checkBoxAdv2.HotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.checkBoxAdv2.Location = new System.Drawing.Point(27, 422); this.checkBoxAdv2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91))))); this.checkBoxAdv2.Name = "checkBoxAdv2"; this.checkBoxAdv2.Size = new System.Drawing.Size(182, 23); this.checkBoxAdv2.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful; this.checkBoxAdv2.TabIndex = 6; this.checkBoxAdv2.Text = "Collapse LinearGauge"; this.checkBoxAdv2.ThemesEnabled = false; this.checkBoxAdv2.CheckStateChanged += new System.EventHandler(this.checkBoxAdv2_CheckStateChanged); // // checkBoxAdv1 // this.checkBoxAdv1.Anchor = System.Windows.Forms.AnchorStyles.None; this.checkBoxAdv1.AutoSize = true; this.checkBoxAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.checkBoxAdv1.BeforeTouchSize = new System.Drawing.Size(183, 23); this.checkBoxAdv1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))); this.checkBoxAdv1.DrawFocusRectangle = false; this.checkBoxAdv1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxAdv1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); this.checkBoxAdv1.HotBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.checkBoxAdv1.Location = new System.Drawing.Point(27, 369); this.checkBoxAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91))))); this.checkBoxAdv1.Name = "checkBoxAdv1"; this.checkBoxAdv1.Size = new System.Drawing.Size(183, 23); this.checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful; this.checkBoxAdv1.TabIndex = 5; this.checkBoxAdv1.Text = "Collapse RadialGauge"; this.checkBoxAdv1.ThemesEnabled = false; this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(881, 620); this.Controls.Add(this.splitContainerAdv2); this.Controls.Add(this.label3); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MaximumSize = new System.Drawing.Size(893, 662); this.MinimumSize = new System.Drawing.Size(893, 662); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SplitContainer"; this.Load += new System.EventHandler(this.Form1_Load); this.splitContainerAdv1.Panel1.ResumeLayout(false); this.splitContainerAdv1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit(); this.splitContainerAdv1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit(); this.splitContainerAdv2.Panel1.ResumeLayout(false); this.splitContainerAdv2.Panel2.ResumeLayout(false); this.splitContainerAdv2.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv2)).EndInit(); this.splitContainerAdv2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit(); this.ResumeLayout(false); }