/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CovarianceForm)); this.ok = new System.Windows.Forms.Button(); this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // ok // this.ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ok.Location = new System.Drawing.Point(10, 291); this.ok.Name = "ok"; this.ok.Size = new System.Drawing.Size(90, 27); this.ok.TabIndex = 1; this.ok.Text = "Ok"; this.ok.Click += new System.EventHandler(this.okClick); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 0); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(529, 277); this.grid.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape) | SourceGrid2.GridSpecialKeys.Control) | SourceGrid2.GridSpecialKeys.Shift))); this.grid.TabIndex = 2; // // CovarianceForm // this.AcceptButton = this.ok; this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(529, 327); this.Controls.Add(this.grid); this.Controls.Add(this.ok); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(240, 231); this.Name = "CovarianceForm"; this.ShowInTaskbar = false; this.Text = "Covariance Matrix"; 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.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.ContextMenuStyle = ((SourceGrid2.ContextMenuStyle)(((SourceGrid2.ContextMenuStyle.ClearSelection) | SourceGrid2.ContextMenuStyle.CopyPasteSelection))); this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(12, 12); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(516, 368); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; // // frmSample3 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(540, 391); this.Controls.Add(this.grid); this.Name = "frmSample3"; this.Text = "Cell Editors, Specials Cells, Formatting and Image"; this.Load += new System.EventHandler(this.frmSample3_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid1 = new SourceGrid2.Grid(); this.SuspendLayout(); // // grid1 // this.grid1.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.grid1.AutoSizeMinHeight = 10; this.grid1.AutoSizeMinWidth = 10; this.grid1.AutoStretchColumnsToFitWidth = false; this.grid1.AutoStretchRowsToFitHeight = false; this.grid1.CustomSort = false; this.grid1.GridToolTipActive = true; this.grid1.Location = new System.Drawing.Point(8, 8); this.grid1.Name = "grid1"; this.grid1.Size = new System.Drawing.Size(276, 256); this.grid1.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid1.TabIndex = 0; // // frmSample14 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 271); this.Controls.Add(this.grid1); this.Name = "frmSample14"; this.Text = "My First Grid"; this.Load += new System.EventHandler(this.frmSample14_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // grid // this.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.Dock = System.Windows.Forms.DockStyle.Fill; this.grid.FocusStyle = SourceGrid2.FocusStyle.None; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 0); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(556, 611); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; // // StartForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(556, 611); this.Controls.Add(this.grid); this.Name = "StartForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SourceGrid Sample Application"; this.Load += new System.EventHandler(this.StartForm_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // grid // this.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.Dock = System.Windows.Forms.DockStyle.Fill; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 0); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(556, 444); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; // // GridBarChart // this.Controls.Add(this.grid); this.Name = "GridBarChart"; this.Size = new System.Drawing.Size(556, 444); 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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CovarianceForm)); this.ok = new System.Windows.Forms.Button(); this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // ok // this.ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ok.Location = new System.Drawing.Point(8, 260); this.ok.Name = "ok"; this.ok.TabIndex = 1; this.ok.Text = "Ok"; this.ok.Click += new System.EventHandler(this.okClick); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 0); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(312, 248); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 2; // // CovarianceForm // this.AcceptButton = this.ok; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(312, 291); this.Controls.Add(this.grid); this.Controls.Add(this.ok); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(200, 200); this.Name = "CovarianceForm"; this.ShowInTaskbar = false; this.Text = "Covariance Matrix"; 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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CovarianceForm)); this.ok = new System.Windows.Forms.Button(); this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // ok // this.ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ok.Location = new System.Drawing.Point(8, 260); this.ok.Name = "ok"; this.ok.TabIndex = 1; this.ok.Text = "Ok"; this.ok.Click += new System.EventHandler(this.okClick); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 0); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(312, 248); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 2; // // CovarianceForm // this.AcceptButton = this.ok; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(312, 291); this.Controls.Add(this.grid); this.Controls.Add(this.ok); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(200, 200); this.Name = "CovarianceForm"; this.ShowInTaskbar = false; this.Text = "Covariance Matrix"; 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.grid = new SourceGrid2.Grid(); this.cmdExportHTML = new System.Windows.Forms.Button(); this.SuspendLayout(); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(4, 32); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(888, 392); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; // // cmdExportHTML // this.cmdExportHTML.Location = new System.Drawing.Point(4, 4); this.cmdExportHTML.Name = "cmdExportHTML"; this.cmdExportHTML.Size = new System.Drawing.Size(96, 23); this.cmdExportHTML.TabIndex = 1; this.cmdExportHTML.Text = "Export HTML"; this.cmdExportHTML.Click += new System.EventHandler(this.cmdExportHTML_Click); // // frmSample2 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(900, 431); this.Controls.Add(this.cmdExportHTML); this.Controls.Add(this.grid); this.Name = "frmSample2"; this.Text = "Campionato Italiano"; this.Load += new System.EventHandler(this.frmSample2_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid1 = new SourceGrid2.Grid(); this.SuspendLayout(); // // grid1 // this.grid1.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.grid1.AutoSizeMinHeight = 10; this.grid1.AutoSizeMinWidth = 10; this.grid1.AutoStretchColumnsToFitWidth = false; this.grid1.AutoStretchRowsToFitHeight = false; this.grid1.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid1.CustomSort = false; this.grid1.FocusStyle = SourceGrid2.FocusStyle.None; this.grid1.GridToolTipActive = true; this.grid1.Location = new System.Drawing.Point(10, 9); this.grid1.Name = "grid1"; this.grid1.Size = new System.Drawing.Size(273, 254); this.grid1.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape))); this.grid1.TabIndex = 0; // // frmSample14 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(292, 271); this.Controls.Add(this.grid1); this.Name = "frmSample14"; this.Text = "My First Grid"; this.Load += new System.EventHandler(this.frmSample14_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridList = new SourceGrid2.Grid(); this.btCancel = new System.Windows.Forms.Button(); this.btOK = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // gridList // this.gridList.AccessibleName = "gridList"; this.gridList.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.gridList.AutoSizeMinHeight = 10; this.gridList.AutoSizeMinWidth = 10; this.gridList.AutoStretchColumnsToFitWidth = false; this.gridList.AutoStretchRowsToFitHeight = false; this.gridList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridList.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.gridList.CustomSort = false; this.gridList.FocusStyle = SourceGrid2.FocusStyle.None; this.gridList.GridToolTipActive = true; this.gridList.Location = new System.Drawing.Point(8, 36); this.gridList.Name = "gridList"; this.gridList.Size = new System.Drawing.Size(308, 232); this.gridList.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape) | SourceGrid2.GridSpecialKeys.Control) | SourceGrid2.GridSpecialKeys.Shift))); this.gridList.TabIndex = 0; // // btCancel // this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.Location = new System.Drawing.Point(240, 272); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(75, 23); this.btCancel.TabIndex = 1; this.btCancel.Text = "Cancel"; // // btOK // this.btOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btOK.Location = new System.Drawing.Point(152, 272); this.btOK.Name = "btOK"; this.btOK.Size = new System.Drawing.Size(75, 23); this.btOK.TabIndex = 2; this.btOK.Text = "OK"; this.btOK.Click += new System.EventHandler(this.btOK_Click); // // label1 // this.label1.Location = new System.Drawing.Point(8, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(308, 28); this.label1.TabIndex = 3; this.label1.Text = "Customize the available list of template files:"; // // TemplatesEditor // this.AcceptButton = this.btOK; this.AccessibleName = "templatesEditor"; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btCancel; this.ClientSize = new System.Drawing.Size(324, 299); this.Controls.Add(this.label1); this.Controls.Add(this.btOK); this.Controls.Add(this.btCancel); this.Controls.Add(this.gridList); this.Name = "TemplatesEditor"; this.Text = "Customize Templates"; this.Load += new System.EventHandler(this.TemplatesEditor_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid = new SourceGrid2.Grid(); this.chkMouseMove = new System.Windows.Forms.CheckBox(); this.chkMouseEnter = new System.Windows.Forms.CheckBox(); this.chkMouseLeave = new System.Windows.Forms.CheckBox(); this.txtOutput = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.chkGridMouseMove = new System.Windows.Forms.CheckBox(); this.chkGridOthers = new System.Windows.Forms.CheckBox(); this.chkCellEvents = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // grid // this.grid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(144, 8); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(328, 188); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; this.grid.MouseDown += new System.Windows.Forms.MouseEventHandler(this.grid_MouseDown); this.grid.Click += new System.EventHandler(this.grid_Click); this.grid.DoubleClick += new System.EventHandler(this.grid_DoubleClick); this.grid.MouseUp += new System.Windows.Forms.MouseEventHandler(this.grid_MouseUp); this.grid.MouseHover += new System.EventHandler(this.grid_MouseHover); this.grid.Leave += new System.EventHandler(this.grid_Leave); this.grid.CellGotFocus += new SourceGrid2.PositionCancelEventHandler(this.grid_CellGotFocus); this.grid.MouseMove += new System.Windows.Forms.MouseEventHandler(this.grid_MouseMove); this.grid.MouseEnter += new System.EventHandler(this.grid_MouseEnter); this.grid.MouseLeave += new System.EventHandler(this.grid_MouseLeave); this.grid.CellLostFocus += new SourceGrid2.PositionCancelEventHandler(this.grid_CellLostFocus); this.grid.Enter += new System.EventHandler(this.grid_Enter); // // chkMouseMove // this.chkMouseMove.Location = new System.Drawing.Point(24, 28); this.chkMouseMove.Name = "chkMouseMove"; this.chkMouseMove.Size = new System.Drawing.Size(112, 24); this.chkMouseMove.TabIndex = 5; this.chkMouseMove.Text = "Cell MouseMove"; // // chkMouseEnter // this.chkMouseEnter.Checked = true; this.chkMouseEnter.CheckState = System.Windows.Forms.CheckState.Checked; this.chkMouseEnter.Location = new System.Drawing.Point(24, 52); this.chkMouseEnter.Name = "chkMouseEnter"; this.chkMouseEnter.Size = new System.Drawing.Size(112, 24); this.chkMouseEnter.TabIndex = 2; this.chkMouseEnter.Text = "Cell MouseEnter"; // // chkMouseLeave // this.chkMouseLeave.Checked = true; this.chkMouseLeave.CheckState = System.Windows.Forms.CheckState.Checked; this.chkMouseLeave.Location = new System.Drawing.Point(24, 76); this.chkMouseLeave.Name = "chkMouseLeave"; this.chkMouseLeave.Size = new System.Drawing.Size(112, 24); this.chkMouseLeave.TabIndex = 3; this.chkMouseLeave.Text = "Cell MouseLeave"; // // txtOutput // this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.txtOutput.AutoSize = false; this.txtOutput.HideSelection = false; this.txtOutput.Location = new System.Drawing.Point(4, 216); this.txtOutput.Multiline = true; this.txtOutput.Name = "txtOutput"; this.txtOutput.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.txtOutput.Size = new System.Drawing.Size(472, 160); this.txtOutput.TabIndex = 4; this.txtOutput.Text = ""; // // label2 // this.label2.Location = new System.Drawing.Point(4, 200); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(428, 16); this.label2.TabIndex = 8; this.label2.Text = "Output Events"; // // chkGridMouseMove // this.chkGridMouseMove.Location = new System.Drawing.Point(24, 152); this.chkGridMouseMove.Name = "chkGridMouseMove"; this.chkGridMouseMove.Size = new System.Drawing.Size(112, 24); this.chkGridMouseMove.TabIndex = 9; this.chkGridMouseMove.Text = "Grid MouseMove"; // // chkGridOthers // this.chkGridOthers.Checked = true; this.chkGridOthers.CheckState = System.Windows.Forms.CheckState.Checked; this.chkGridOthers.Location = new System.Drawing.Point(12, 132); this.chkGridOthers.Name = "chkGridOthers"; this.chkGridOthers.Size = new System.Drawing.Size(124, 24); this.chkGridOthers.TabIndex = 10; this.chkGridOthers.Text = "Grid Events"; // // chkCellEvents // this.chkCellEvents.Checked = true; this.chkCellEvents.CheckState = System.Windows.Forms.CheckState.Checked; this.chkCellEvents.Location = new System.Drawing.Point(12, 8); this.chkCellEvents.Name = "chkCellEvents"; this.chkCellEvents.Size = new System.Drawing.Size(124, 24); this.chkCellEvents.TabIndex = 11; this.chkCellEvents.Text = "Cell Events"; // // frmSample8 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(480, 383); this.Controls.Add(this.chkCellEvents); this.Controls.Add(this.chkGridOthers); this.Controls.Add(this.chkGridMouseMove); this.Controls.Add(this.label2); this.Controls.Add(this.txtOutput); this.Controls.Add(this.chkMouseLeave); this.Controls.Add(this.chkMouseEnter); this.Controls.Add(this.chkMouseMove); this.Controls.Add(this.grid); this.Name = "frmSample8"; this.Text = "frmSample8"; this.Load += new System.EventHandler(this.frmSample8_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid = new SourceGrid2.Grid(); this.btLoad = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.txtCols = new System.Windows.Forms.TextBox(); this.txtRows = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.ContextMenuStyle = ((SourceGrid2.ContextMenuStyle)(((SourceGrid2.ContextMenuStyle.ClearSelection) | SourceGrid2.ContextMenuStyle.CopyPasteSelection))); this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(4, 28); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(508, 408); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; // // btLoad // this.btLoad.Location = new System.Drawing.Point(296, 4); this.btLoad.Name = "btLoad"; this.btLoad.TabIndex = 3; this.btLoad.Text = "Load"; this.btLoad.Click += new System.EventHandler(this.btLoad_Click); // // label2 // this.label2.Location = new System.Drawing.Point(4, 4); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 23); this.label2.TabIndex = 12; this.label2.Text = "Rows:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.Location = new System.Drawing.Point(152, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 23); this.label1.TabIndex = 11; this.label1.Text = "Columns:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtCols // this.txtCols.Location = new System.Drawing.Point(216, 8); this.txtCols.Name = "txtCols"; this.txtCols.Size = new System.Drawing.Size(72, 20); this.txtCols.TabIndex = 10; this.txtCols.Text = "200"; // // txtRows // this.txtRows.Location = new System.Drawing.Point(64, 4); this.txtRows.Name = "txtRows"; this.txtRows.Size = new System.Drawing.Size(72, 20); this.txtRows.TabIndex = 9; this.txtRows.Text = "200"; // // frmSample4 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(516, 439); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.txtCols); this.Controls.Add(this.txtRows); this.Controls.Add(this.btLoad); this.Controls.Add(this.grid); this.Name = "frmSample4"; this.Text = "Grid Performance"; 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.brAddRow = new System.Windows.Forms.Button(); this.btRemoveRow = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.grid1 = new SourceGrid2.Grid(); this.btMoveColumn = new System.Windows.Forms.Button(); this.btMoveRow = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.btExportHTML = new System.Windows.Forms.Button(); this.chkReadOnly = new System.Windows.Forms.CheckBox(); this.chkEditOnDoubleClick = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.rdNone = new System.Windows.Forms.RadioButton(); this.rdLine = new System.Windows.Forms.RadioButton(); this.rdNromalBorder = new System.Windows.Forms.RadioButton(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // brAddRow // this.brAddRow.Location = new System.Drawing.Point(8, 8); this.brAddRow.Name = "brAddRow"; this.brAddRow.TabIndex = 1; this.brAddRow.Text = "AddRow"; this.brAddRow.Click += new System.EventHandler(this.brAddRow_Click); // // btRemoveRow // this.btRemoveRow.Location = new System.Drawing.Point(96, 8); this.btRemoveRow.Name = "btRemoveRow"; this.btRemoveRow.Size = new System.Drawing.Size(88, 23); this.btRemoveRow.TabIndex = 2; this.btRemoveRow.Text = "RemoveRow"; this.btRemoveRow.Click += new System.EventHandler(this.btRemoveRow_Click); // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.grid1); this.panel1.Location = new System.Drawing.Point(8, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(748, 316); this.panel1.TabIndex = 3; // // grid1 // this.grid1.AutoSizeMinHeight = 20; this.grid1.AutoSizeMinWidth = 20; this.grid1.AutoStretchColumnsToFitWidth = false; this.grid1.AutoStretchRowsToFitHeight = false; this.grid1.BackColor = System.Drawing.Color.White; this.grid1.ContextMenuStyle = ((SourceGrid2.ContextMenuStyle)(((((SourceGrid2.ContextMenuStyle.ColumnResize | SourceGrid2.ContextMenuStyle.RowResize) | SourceGrid2.ContextMenuStyle.AutoSize) | SourceGrid2.ContextMenuStyle.ClearSelection) | SourceGrid2.ContextMenuStyle.CopyPasteSelection))); this.grid1.CustomSort = false; this.grid1.Dock = System.Windows.Forms.DockStyle.Fill; this.grid1.GridToolTipActive = true; this.grid1.Location = new System.Drawing.Point(0, 0); this.grid1.Name = "grid1"; this.grid1.Size = new System.Drawing.Size(746, 314); this.grid1.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid1.TabIndex = 1; // // btMoveColumn // this.btMoveColumn.Location = new System.Drawing.Point(320, 8); this.btMoveColumn.Name = "btMoveColumn"; this.btMoveColumn.Size = new System.Drawing.Size(88, 23); this.btMoveColumn.TabIndex = 4; this.btMoveColumn.Text = "Move Column"; this.btMoveColumn.Click += new System.EventHandler(this.btMoveColumn_Click); // // btMoveRow // this.btMoveRow.Location = new System.Drawing.Point(224, 8); this.btMoveRow.Name = "btMoveRow"; this.btMoveRow.Size = new System.Drawing.Size(88, 23); this.btMoveRow.TabIndex = 5; this.btMoveRow.Text = "Move Row"; this.btMoveRow.Click += new System.EventHandler(this.btMoveRow_Click); // // 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(8, 368); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(192, 23); this.label1.TabIndex = 6; this.label1.Text = "Click column header to sort the grid"; // // btExportHTML // this.btExportHTML.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btExportHTML.Location = new System.Drawing.Point(668, 368); this.btExportHTML.Name = "btExportHTML"; this.btExportHTML.Size = new System.Drawing.Size(84, 23); this.btExportHTML.TabIndex = 7; this.btExportHTML.Text = "Export HTML"; this.btExportHTML.Click += new System.EventHandler(this.btExportHTML_Click); // // chkReadOnly // this.chkReadOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.chkReadOnly.Location = new System.Drawing.Point(536, 360); this.chkReadOnly.Name = "chkReadOnly"; this.chkReadOnly.Size = new System.Drawing.Size(128, 20); this.chkReadOnly.TabIndex = 8; this.chkReadOnly.Text = "Read Only Cells"; this.chkReadOnly.CheckedChanged += new System.EventHandler(this.chkReadOnly_CheckedChanged); // // chkEditOnDoubleClick // this.chkEditOnDoubleClick.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.chkEditOnDoubleClick.Location = new System.Drawing.Point(536, 376); this.chkEditOnDoubleClick.Name = "chkEditOnDoubleClick"; this.chkEditOnDoubleClick.Size = new System.Drawing.Size(128, 20); this.chkEditOnDoubleClick.TabIndex = 9; this.chkEditOnDoubleClick.Text = "Edit On Double Click"; this.chkEditOnDoubleClick.CheckedChanged += new System.EventHandler(this.chkEditOnDoubleClick_CheckedChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.rdNone); this.groupBox1.Controls.Add(this.rdLine); this.groupBox1.Controls.Add(this.rdNromalBorder); this.groupBox1.Location = new System.Drawing.Point(424, 4); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(276, 36); this.groupBox1.TabIndex = 10; this.groupBox1.TabStop = false; this.groupBox1.Text = "Border Style"; // // rdNone // this.rdNone.Location = new System.Drawing.Point(188, 16); this.rdNone.Name = "rdNone"; this.rdNone.Size = new System.Drawing.Size(68, 16); this.rdNone.TabIndex = 2; this.rdNone.Text = "None"; this.rdNone.CheckedChanged += new System.EventHandler(this.rdNone_CheckedChanged); // // rdLine // this.rdLine.Location = new System.Drawing.Point(96, 16); this.rdLine.Name = "rdLine"; this.rdLine.Size = new System.Drawing.Size(68, 16); this.rdLine.TabIndex = 1; this.rdLine.Text = "Line"; this.rdLine.CheckedChanged += new System.EventHandler(this.rdLine_CheckedChanged); // // rdNromalBorder // this.rdNromalBorder.Checked = true; this.rdNromalBorder.Location = new System.Drawing.Point(12, 16); this.rdNromalBorder.Name = "rdNromalBorder"; this.rdNromalBorder.Size = new System.Drawing.Size(80, 16); this.rdNromalBorder.TabIndex = 0; this.rdNromalBorder.TabStop = true; this.rdNromalBorder.Text = "Normal"; this.rdNromalBorder.CheckedChanged += new System.EventHandler(this.rdNromalBorder_CheckedChanged); // // frmSample1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(764, 395); this.Controls.Add(this.groupBox1); this.Controls.Add(this.chkEditOnDoubleClick); this.Controls.Add(this.chkReadOnly); this.Controls.Add(this.btExportHTML); this.Controls.Add(this.label1); this.Controls.Add(this.btMoveRow); this.Controls.Add(this.btMoveColumn); this.Controls.Add(this.panel1); this.Controls.Add(this.btRemoveRow); this.Controls.Add(this.brAddRow); this.Name = "frmSample1"; this.Text = "Sample Grid 1"; this.Load += new System.EventHandler(this.frmSampleGrid1_Load); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SLSend)); this.gridRecipients = new SourceGrid2.Grid(); this.bnSend = new System.Windows.Forms.Button(); this.bnCancel = new System.Windows.Forms.Button(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.bnAddRecipient = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panel1 = new System.Windows.Forms.Panel(); this.bnRemoveRecipient = new System.Windows.Forms.Button(); this.bnSettings = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // gridRecipients // this.gridRecipients.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.gridRecipients.AutoSizeMinHeight = 10; this.gridRecipients.AutoSizeMinWidth = 10; this.gridRecipients.AutoStretchColumnsToFitWidth = false; this.gridRecipients.AutoStretchRowsToFitHeight = false; this.gridRecipients.BackColor = System.Drawing.SystemColors.Control; this.gridRecipients.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridRecipients.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.gridRecipients.CustomSort = false; this.gridRecipients.GridToolTipActive = true; this.gridRecipients.Location = new System.Drawing.Point(16, 64); this.gridRecipients.Name = "gridRecipients"; this.gridRecipients.Size = new System.Drawing.Size(552, 200); this.gridRecipients.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.gridRecipients.TabIndex = 0; // // bnSend // this.bnSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bnSend.BackColor = System.Drawing.SystemColors.Control; this.bnSend.Location = new System.Drawing.Point(504, 16); this.bnSend.Name = "bnSend"; this.bnSend.TabIndex = 1; this.bnSend.Text = "Send"; this.bnSend.Click += new System.EventHandler(this.bnSend_Click); // // bnCancel // this.bnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bnCancel.BackColor = System.Drawing.SystemColors.Control; this.bnCancel.Location = new System.Drawing.Point(416, 16); this.bnCancel.Name = "bnCancel"; this.bnCancel.TabIndex = 2; this.bnCancel.Text = "Cancel"; this.bnCancel.Click += new System.EventHandler(this.bnCancel_Click); // // toolBar1 // this.toolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.toolBar1.DropDownArrows = true; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(584, 43); this.toolBar1.TabIndex = 3; // // bnAddRecipient // this.bnAddRecipient.Location = new System.Drawing.Point(8, 8); this.bnAddRecipient.Name = "bnAddRecipient"; this.bnAddRecipient.Size = new System.Drawing.Size(64, 32); this.bnAddRecipient.TabIndex = 4; this.bnAddRecipient.Text = "Add"; this.bnAddRecipient.Click += new System.EventHandler(this.bnAddRecipient_Click); // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(16, 8); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(208, 48); this.pictureBox1.TabIndex = 5; this.pictureBox1.TabStop = false; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.SystemColors.Window; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.pictureBox1); this.panel1.Controls.Add(this.bnCancel); this.panel1.Controls.Add(this.bnSend); this.panel1.Location = new System.Drawing.Point(-8, 272); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(600, 56); this.panel1.TabIndex = 6; // // bnRemoveRecipient // this.bnRemoveRecipient.Location = new System.Drawing.Point(80, 8); this.bnRemoveRecipient.Name = "bnRemoveRecipient"; this.bnRemoveRecipient.Size = new System.Drawing.Size(64, 32); this.bnRemoveRecipient.TabIndex = 7; this.bnRemoveRecipient.Text = "Remove"; // // bnSettings // this.bnSettings.Location = new System.Drawing.Point(496, 8); this.bnSettings.Name = "bnSettings"; this.bnSettings.Size = new System.Drawing.Size(75, 32); this.bnSettings.TabIndex = 8; this.bnSettings.Text = "Settings"; this.bnSettings.Click += new System.EventHandler(this.bnSettings_Click); // // SLSend // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(584, 326); this.Controls.Add(this.bnSettings); this.Controls.Add(this.bnRemoveRecipient); this.Controls.Add(this.panel1); this.Controls.Add(this.bnAddRecipient); this.Controls.Add(this.toolBar1); this.Controls.Add(this.gridRecipients); this.Name = "SLSend"; this.Text = "Dommoni SL Send"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ParForm)); this.ok = new System.Windows.Forms.Button(); this.cancel = new System.Windows.Forms.Button(); this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // ok // this.ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ok.Location = new System.Drawing.Point(8, 214); this.ok.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.ok.Name = "ok"; this.ok.Size = new System.Drawing.Size(64, 22); this.ok.TabIndex = 1; this.ok.Text = "Ok"; this.ok.Click += new System.EventHandler(this.okClick); // // cancel // this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cancel.Location = new System.Drawing.Point(80, 214); this.cancel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(64, 22); this.cancel.TabIndex = 3; this.cancel.Text = "Cancel"; this.cancel.Click += new System.EventHandler(this.cancelClick); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 0); this.grid.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(156, 210); this.grid.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape) | SourceGrid2.GridSpecialKeys.Control) | SourceGrid2.GridSpecialKeys.Shift))); this.grid.TabIndex = 4; // // ParForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(155, 239); this.Controls.Add(this.grid); this.Controls.Add(this.cancel); this.Controls.Add(this.ok); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Name = "ParForm"; this.ShowInTaskbar = false; this.Text = "Function parameters"; 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.grid1 = new SourceGrid2.Grid(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.chkRemoveSelection = new System.Windows.Forms.CheckBox(); this.chkRemoveFocus = new System.Windows.Forms.CheckBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.chkEscape = new System.Windows.Forms.CheckBox(); this.chkEnter = new System.Windows.Forms.CheckBox(); this.chkTab = new System.Windows.Forms.CheckBox(); this.chkArrows = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // grid1 // this.grid1.AutoSizeMinHeight = 10; this.grid1.AutoSizeMinWidth = 10; this.grid1.AutoStretchColumnsToFitWidth = false; this.grid1.AutoStretchRowsToFitHeight = false; this.grid1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid1.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid1.CustomSort = false; this.grid1.FocusStyle = SourceGrid2.FocusStyle.None; this.grid1.GridToolTipActive = true; this.grid1.Location = new System.Drawing.Point(184, 40); this.grid1.Name = "grid1"; this.grid1.Size = new System.Drawing.Size(280, 192); this.grid1.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid1.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.chkRemoveSelection); this.groupBox1.Controls.Add(this.chkRemoveFocus); this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(160, 112); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "FocusStyle"; // // chkRemoveSelection // this.chkRemoveSelection.Location = new System.Drawing.Point(8, 64); this.chkRemoveSelection.Name = "chkRemoveSelection"; this.chkRemoveSelection.Size = new System.Drawing.Size(136, 40); this.chkRemoveSelection.TabIndex = 1; this.chkRemoveSelection.Text = "Remove Selection on Leave"; this.chkRemoveSelection.CheckedChanged += new System.EventHandler(this.chkRemoveSelection_CheckedChanged); // // chkRemoveFocus // this.chkRemoveFocus.Location = new System.Drawing.Point(8, 16); this.chkRemoveFocus.Name = "chkRemoveFocus"; this.chkRemoveFocus.Size = new System.Drawing.Size(136, 48); this.chkRemoveFocus.TabIndex = 0; this.chkRemoveFocus.Text = "Remove Focus Cell on Leave"; this.chkRemoveFocus.CheckedChanged += new System.EventHandler(this.chkRemoveFocus_CheckedChanged); // // groupBox2 // this.groupBox2.Controls.Add(this.chkEscape); this.groupBox2.Controls.Add(this.chkEnter); this.groupBox2.Controls.Add(this.chkTab); this.groupBox2.Controls.Add(this.chkArrows); this.groupBox2.Location = new System.Drawing.Point(8, 128); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(160, 112); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "SpecialKeys"; // // chkEscape // this.chkEscape.Checked = true; this.chkEscape.CheckState = System.Windows.Forms.CheckState.Checked; this.chkEscape.Location = new System.Drawing.Point(8, 88); this.chkEscape.Name = "chkEscape"; this.chkEscape.Size = new System.Drawing.Size(136, 16); this.chkEscape.TabIndex = 3; this.chkEscape.Text = "Escape"; this.chkEscape.CheckedChanged += new System.EventHandler(this.chkEscape_CheckedChanged); // // chkEnter // this.chkEnter.Checked = true; this.chkEnter.CheckState = System.Windows.Forms.CheckState.Checked; this.chkEnter.Location = new System.Drawing.Point(8, 64); this.chkEnter.Name = "chkEnter"; this.chkEnter.Size = new System.Drawing.Size(136, 16); this.chkEnter.TabIndex = 2; this.chkEnter.Text = "Enter"; this.chkEnter.CheckedChanged += new System.EventHandler(this.chkEnter_CheckedChanged); // // chkTab // this.chkTab.Checked = true; this.chkTab.CheckState = System.Windows.Forms.CheckState.Checked; this.chkTab.Location = new System.Drawing.Point(8, 40); this.chkTab.Name = "chkTab"; this.chkTab.Size = new System.Drawing.Size(136, 16); this.chkTab.TabIndex = 1; this.chkTab.Text = "Tab"; this.chkTab.CheckedChanged += new System.EventHandler(this.chkTab_CheckedChanged); // // chkArrows // this.chkArrows.Checked = true; this.chkArrows.CheckState = System.Windows.Forms.CheckState.Checked; this.chkArrows.Location = new System.Drawing.Point(8, 16); this.chkArrows.Name = "chkArrows"; this.chkArrows.Size = new System.Drawing.Size(136, 16); this.chkArrows.TabIndex = 0; this.chkArrows.Text = "Arrows"; this.chkArrows.CheckedChanged += new System.EventHandler(this.chkArrows_CheckedChanged); // // label1 // this.label1.Location = new System.Drawing.Point(184, 8); this.label1.Name = "label1"; this.label1.TabIndex = 3; this.label1.Text = "Trial TextBox"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(296, 8); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(152, 20); this.textBox1.TabIndex = 4; this.textBox1.Text = "CIAO"; // // frmSample16 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(472, 243); this.Controls.Add(this.textBox1); this.Controls.Add(this.label1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.grid1); this.Name = "frmSample16"; this.Text = "SpecialKeys and FocusStyle"; this.Load += new System.EventHandler(this.frmSample16_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FitForm)); this.function = new System.Windows.Forms.ComboBox(); this.data = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.start = new System.Windows.Forms.Button(); this.close = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.algorithm = new System.Windows.Forms.ComboBox(); this.covariance = new System.Windows.Forms.Button(); this.label7 = new System.Windows.Forms.Label(); this.neval = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.chisq = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.Q = new System.Windows.Forms.TextBox(); this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // function // this.function.Location = new System.Drawing.Point(64, 16); this.function.Name = "function"; this.function.Size = new System.Drawing.Size(120, 21); this.function.TabIndex = 0; // // data // this.data.Location = new System.Drawing.Point(232, 16); this.data.Name = "data"; this.data.Size = new System.Drawing.Size(120, 21); this.data.TabIndex = 1; // // label1 // this.label1.Location = new System.Drawing.Point(8, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 24); this.label1.TabIndex = 2; this.label1.Text = "Function:"; // // label2 // this.label2.Location = new System.Drawing.Point(192, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 24); this.label2.TabIndex = 3; this.label2.Text = "Data:"; // // label3 // this.label3.Location = new System.Drawing.Point(8, 80); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 23); this.label3.TabIndex = 5; this.label3.Text = "Parameters"; // // start // this.start.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.start.Location = new System.Drawing.Point(8, 333); this.start.Name = "start"; this.start.TabIndex = 9; this.start.Text = "Start"; this.start.Click += new System.EventHandler(this.startClick); // // close // this.close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.close.Location = new System.Drawing.Point(96, 333); this.close.Name = "close"; this.close.TabIndex = 10; this.close.Text = "Close"; this.close.Click += new System.EventHandler(this.closeClick); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button1.Location = new System.Drawing.Point(288, 333); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(72, 23); this.button1.TabIndex = 17; this.button1.Text = "Help..."; this.button1.Click += new System.EventHandler(this.helpClick); // // label4 // this.label4.Location = new System.Drawing.Point(8, 48); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 24); this.label4.TabIndex = 18; this.label4.Text = "Algorithm:"; // // algorithm // this.algorithm.Items.AddRange(new object[] { "Marquardt", "Nelder & Mead", "Simulated Annealing"}); this.algorithm.Location = new System.Drawing.Point(72, 48); this.algorithm.Name = "algorithm"; this.algorithm.Size = new System.Drawing.Size(136, 21); this.algorithm.TabIndex = 19; this.algorithm.Text = "Marquardt"; // // covariance // this.covariance.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.covariance.Location = new System.Drawing.Point(232, 301); this.covariance.Name = "covariance"; this.covariance.Size = new System.Drawing.Size(128, 23); this.covariance.TabIndex = 20; this.covariance.Text = "Covariance Matrix..."; this.covariance.Click += new System.EventHandler(this.covarClick); // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label7.Location = new System.Drawing.Point(8, 301); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(112, 23); this.label7.TabIndex = 21; this.label7.Text = "Function evaluations:"; // // neval // this.neval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.neval.Location = new System.Drawing.Point(120, 301); this.neval.Name = "neval"; this.neval.ReadOnly = true; this.neval.Size = new System.Drawing.Size(72, 20); this.neval.TabIndex = 22; this.neval.Text = ""; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label5.Location = new System.Drawing.Point(16, 269); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(64, 23); this.label5.TabIndex = 11; this.label5.Text = "Chisquare:"; // // chisq // this.chisq.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.chisq.Location = new System.Drawing.Point(80, 269); this.chisq.Name = "chisq"; this.chisq.ReadOnly = true; this.chisq.Size = new System.Drawing.Size(112, 20); this.chisq.TabIndex = 12; this.chisq.Text = ""; // // label6 // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label6.Location = new System.Drawing.Point(208, 269); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(16, 23); this.label6.TabIndex = 13; this.label6.Text = "Q:"; // // Q // this.Q.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Q.Location = new System.Drawing.Point(232, 269); this.Q.Name = "Q"; this.Q.ReadOnly = true; this.Q.TabIndex = 14; this.Q.Text = ""; // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 104); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(368, 157); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 23; // // FitForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(368, 360); this.Controls.Add(this.grid); this.Controls.Add(this.neval); this.Controls.Add(this.Q); this.Controls.Add(this.chisq); this.Controls.Add(this.label7); this.Controls.Add(this.covariance); this.Controls.Add(this.algorithm); this.Controls.Add(this.label4); this.Controls.Add(this.button1); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.close); this.Controls.Add(this.start); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.data); this.Controls.Add(this.function); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(376, 312); this.Name = "FitForm"; this.ShowInTaskbar = false; this.Text = "Fit"; 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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(LoggerForm)); this.cbClasses = new System.Windows.Forms.ComboBox(); this.cbNamespaces = new System.Windows.Forms.ComboBox(); this.gridLog = new SourceGrid2.Grid(); this.btnClear = new System.Windows.Forms.Button(); this.btnProperties = new System.Windows.Forms.Button(); this.cbLogLevel = new System.Windows.Forms.ComboBox(); this.SuspendLayout(); // // cbClasses // this.cbClasses.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbClasses.Items.AddRange(new object[] { "All"}); this.cbClasses.Location = new System.Drawing.Point(504, 8); this.cbClasses.Name = "cbClasses"; this.cbClasses.Size = new System.Drawing.Size(120, 21); this.cbClasses.TabIndex = 9; this.cbClasses.SelectedIndexChanged += new System.EventHandler(this.cbClasses_SelectedIndexChanged); // // cbNamespaces // this.cbNamespaces.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbNamespaces.Items.AddRange(new object[] { "All"}); this.cbNamespaces.Location = new System.Drawing.Point(328, 8); this.cbNamespaces.Name = "cbNamespaces"; this.cbNamespaces.Size = new System.Drawing.Size(168, 21); this.cbNamespaces.TabIndex = 7; this.cbNamespaces.SelectedIndexChanged += new System.EventHandler(this.cbNamespaces_SelectedIndexChanged); // // gridLog // this.gridLog.AutoSizeMinHeight = 10; this.gridLog.AutoSizeMinWidth = 10; this.gridLog.AutoStretchColumnsToFitWidth = false; this.gridLog.AutoStretchRowsToFitHeight = false; this.gridLog.BackColor = System.Drawing.SystemColors.ControlLightLight; this.gridLog.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.gridLog.CustomSort = false; this.gridLog.GridToolTipActive = true; this.gridLog.Location = new System.Drawing.Point(8, 40); this.gridLog.Name = "gridLog"; this.gridLog.Size = new System.Drawing.Size(616, 224); this.gridLog.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.gridLog.TabIndex = 6; // // btnClear // this.btnClear.Location = new System.Drawing.Point(8, 8); this.btnClear.Name = "btnClear"; this.btnClear.TabIndex = 10; this.btnClear.Text = "&Clear"; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // btnProperties // this.btnProperties.Enabled = false; this.btnProperties.Location = new System.Drawing.Point(8, 272); this.btnProperties.Name = "btnProperties"; this.btnProperties.TabIndex = 11; this.btnProperties.Text = "Properties"; this.btnProperties.Click += new System.EventHandler(this.btnProperties_Click); // // cbLogLevel // this.cbLogLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbLogLevel.Items.AddRange(new object[] { "All", "Debug", "Info", "Warning", "Error", "Fatal", "None"}); this.cbLogLevel.Location = new System.Drawing.Point(208, 8); this.cbLogLevel.Name = "cbLogLevel"; this.cbLogLevel.Size = new System.Drawing.Size(112, 21); this.cbLogLevel.TabIndex = 12; this.cbLogLevel.SelectedIndexChanged += new System.EventHandler(this.cbLogLevel_SelectedIndexChanged); // // LoggerForm // this.ClientSize = new System.Drawing.Size(632, 301); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.cbLogLevel, this.btnProperties, this.btnClear, this.gridLog, this.cbClasses, this.cbNamespaces}); this.Name = "LoggerForm"; this.Text = "Flash Logger"; this.Layout += new System.Windows.Forms.LayoutEventHandler(this.ServerForm_Layout); 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.grid1 = new SourceGrid2.Grid(); this.rdDefaultContextMenu = new System.Windows.Forms.RadioButton(); this.rdCustomContextMenu = new System.Windows.Forms.RadioButton(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // grid1 // this.grid1.AutoSizeMinHeight = 10; this.grid1.AutoSizeMinWidth = 10; this.grid1.AutoStretchColumnsToFitWidth = false; this.grid1.AutoStretchRowsToFitHeight = false; this.grid1.BackColor = System.Drawing.Color.White; this.grid1.ContextMenuStyle = SourceGrid2.ContextMenuStyle.CellContextMenu; this.grid1.CustomSort = false; this.grid1.Dock = System.Windows.Forms.DockStyle.Fill; this.grid1.GridToolTipActive = true; this.grid1.Location = new System.Drawing.Point(0, 0); this.grid1.Name = "grid1"; this.grid1.Size = new System.Drawing.Size(554, 98); this.grid1.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid1.TabIndex = 0; // // rdDefaultContextMenu // this.rdDefaultContextMenu.Checked = true; this.rdDefaultContextMenu.Location = new System.Drawing.Point(12, 8); this.rdDefaultContextMenu.Name = "rdDefaultContextMenu"; this.rdDefaultContextMenu.Size = new System.Drawing.Size(160, 24); this.rdDefaultContextMenu.TabIndex = 1; this.rdDefaultContextMenu.TabStop = true; this.rdDefaultContextMenu.Text = "Grid Context Menu"; this.rdDefaultContextMenu.CheckedChanged += new System.EventHandler(this.rdDefaultContextMenu_CheckedChanged); // // rdCustomContextMenu // this.rdCustomContextMenu.Location = new System.Drawing.Point(12, 32); this.rdCustomContextMenu.Name = "rdCustomContextMenu"; this.rdCustomContextMenu.Size = new System.Drawing.Size(160, 24); this.rdCustomContextMenu.TabIndex = 2; this.rdCustomContextMenu.Text = "Custom Context Menu"; this.rdCustomContextMenu.CheckedChanged += new System.EventHandler(this.rdCustomContextMenu_CheckedChanged); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "Custom Context Menu 1"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "Custom Context Menu 2"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.grid1); this.panel1.Location = new System.Drawing.Point(4, 72); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(556, 100); this.panel1.TabIndex = 4; // // label1 // this.label1.Location = new System.Drawing.Point(180, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(376, 60); this.label1.TabIndex = 5; this.label1.Text = "You can customize the grid ContextMenu using grid.Selection.ContextMenuItems or C" + "ell.ContextMenuItems. Use SourceLibrary.Windows.Forms.MenuItemImage to insert im" + "age in a menu item. Right Click on the grid below to try the ContextMenu."; // // frmSample10 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(564, 175); this.Controls.Add(this.label1); this.Controls.Add(this.panel1); this.Controls.Add(this.rdCustomContextMenu); this.Controls.Add(this.rdDefaultContextMenu); this.Name = "frmSample10"; this.Text = "ContextMenu"; this.Load += new System.EventHandler(this.frmSampleGridContextMenu_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FitForm)); this.grid = new SourceGrid2.Grid(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.start = new System.Windows.Forms.ToolStripButton(); this.stop = new System.Windows.Forms.ToolStripButton(); this.cancel = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.undo = new System.Windows.Forms.ToolStripButton(); this.redo = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.helpButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.covariance = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.neval = new System.Windows.Forms.ToolStripButton(); this.toolStrip2 = new System.Windows.Forms.ToolStrip(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.function = new System.Windows.Forms.ToolStripComboBox(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.data = new System.Windows.Forms.ToolStripComboBox(); this.algorithmMenu = new System.Windows.Forms.ToolStripDropDownButton(); this.marquardtAlgorithm = new System.Windows.Forms.ToolStripMenuItem(); this.nelderMeadAlgorithm = new System.Windows.Forms.ToolStripMenuItem(); this.progress = new System.Windows.Forms.ToolStripDropDownButton(); this.full = new System.Windows.Forms.ToolStripMenuItem(); this.moderate = new System.Windows.Forms.ToolStripMenuItem(); this.none = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip3 = new System.Windows.Forms.ToolStrip(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.chisq = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.Q = new System.Windows.Forms.ToolStripButton(); this.toolStrip1.SuspendLayout(); this.toolStrip2.SuspendLayout(); this.toolStrip3.SuspendLayout(); this.SuspendLayout(); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 27); this.grid.Margin = new System.Windows.Forms.Padding(2); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(380, 374); this.grid.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape) | SourceGrid2.GridSpecialKeys.Control) | SourceGrid2.GridSpecialKeys.Shift))); this.grid.TabIndex = 23; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.start, this.stop, this.cancel, this.toolStripSeparator2, this.undo, this.redo, this.toolStripSeparator3, this.helpButton, this.toolStripSeparator5, this.covariance, this.toolStripSeparator4, this.neval }); this.toolStrip1.Location = new System.Drawing.Point(0, 426); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(380, 27); this.toolStrip1.TabIndex = 27; this.toolStrip1.Text = "toolStrip1"; // // start // this.start.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.start.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Run; this.start.ImageTransparentColor = System.Drawing.Color.Magenta; this.start.Name = "start"; this.start.Size = new System.Drawing.Size(23, 24); this.start.Text = "toolStripButton3"; this.start.ToolTipText = "Start fitting"; this.start.Click += new System.EventHandler(this.startClick); // // stop // this.stop.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.stop.Image = global::JohnsHope.FPlot.Properties.Resources.Icon_Pause; this.stop.ImageTransparentColor = System.Drawing.Color.Magenta; this.stop.Name = "stop"; this.stop.Size = new System.Drawing.Size(23, 24); this.stop.Text = "toolStripButton4"; this.stop.ToolTipText = "Stop fitting"; this.stop.Click += new System.EventHandler(this.abortClick); // // cancel // this.cancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cancel.Image = global::JohnsHope.FPlot.Properties.Resources.delete; this.cancel.ImageTransparentColor = System.Drawing.Color.Magenta; this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(23, 24); this.cancel.Text = "toolStripButton5"; this.cancel.ToolTipText = "Exit"; this.cancel.Click += new System.EventHandler(this.closeClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 27); // // undo // this.undo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undo.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_MenuEditUndoIcon; this.undo.ImageTransparentColor = System.Drawing.Color.Magenta; this.undo.Name = "undo"; this.undo.Size = new System.Drawing.Size(23, 24); this.undo.Text = "toolStripButton6"; this.undo.ToolTipText = "Undo last fit step"; this.undo.Click += new System.EventHandler(this.UndoClick); // // redo // this.redo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.redo.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_MenuEditRedoIcon; this.redo.ImageTransparentColor = System.Drawing.Color.Magenta; this.redo.Name = "redo"; this.redo.Size = new System.Drawing.Size(23, 24); this.redo.Text = "toolStripButton7"; this.redo.ToolTipText = "Redo last fit step"; this.redo.Click += new System.EventHandler(this.RedoClick); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27); // // helpButton // this.helpButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.helpButton.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_MenuHelpHelpTopicsIcon; this.helpButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.helpButton.Name = "helpButton"; this.helpButton.Size = new System.Drawing.Size(23, 24); this.helpButton.Text = "toolStripButton12"; this.helpButton.ToolTipText = "Show Help..."; this.helpButton.Click += new System.EventHandler(this.helpClick); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 27); // // covariance // this.covariance.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.covariance.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_PlusMinus; this.covariance.ImageTransparentColor = System.Drawing.Color.Magenta; this.covariance.Name = "covariance"; this.covariance.Size = new System.Drawing.Size(23, 24); this.covariance.Text = "toolStripButton8"; this.covariance.ToolTipText = "Show Covariance Matrix"; this.covariance.Click += new System.EventHandler(this.covarClick); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 27); // // neval // this.neval.Font = new System.Drawing.Font("Symbol", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.neval.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_NOfF; this.neval.ImageTransparentColor = System.Drawing.Color.Magenta; this.neval.Name = "neval"; this.neval.Size = new System.Drawing.Size(37, 24); this.neval.Text = "0"; this.neval.ToolTipText = "Number of Function Evaluations"; // // toolStrip2 // this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButton1, this.function, this.toolStripButton2, this.data, this.algorithmMenu, this.progress }); this.toolStrip2.Location = new System.Drawing.Point(0, 0); this.toolStrip2.Name = "toolStrip2"; this.toolStrip2.Size = new System.Drawing.Size(380, 25); this.toolStrip2.TabIndex = 28; this.toolStrip2.Text = "toolStrip2"; // // toolStripButton1 // this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton1.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Function; this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(23, 22); this.toolStripButton1.Text = "toolStripButton1"; this.toolStripButton1.ToolTipText = "Function to Fit for"; // // function // this.function.AutoToolTip = true; this.function.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.function.FlatStyle = System.Windows.Forms.FlatStyle.Standard; this.function.Name = "function"; this.function.Size = new System.Drawing.Size(130, 25); this.function.ToolTipText = "Function to Fit for"; // // toolStripButton2 // this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton2.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Data; this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new System.Drawing.Size(23, 22); this.toolStripButton2.Text = "toolStripButton2"; this.toolStripButton2.ToolTipText = "Data to Fit to"; // // data // this.data.AutoToolTip = true; this.data.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.data.FlatStyle = System.Windows.Forms.FlatStyle.Standard; this.data.Name = "data"; this.data.Size = new System.Drawing.Size(130, 25); this.data.ToolTipText = "Data to Fit to"; // // algorithmMenu // this.algorithmMenu.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.algorithmMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.marquardtAlgorithm, this.nelderMeadAlgorithm }); this.algorithmMenu.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_MenuLayersLayerPropertiesIcon; this.algorithmMenu.ImageTransparentColor = System.Drawing.Color.Magenta; this.algorithmMenu.Name = "algorithmMenu"; this.algorithmMenu.Size = new System.Drawing.Size(29, 22); this.algorithmMenu.Text = "toolStripDropDownButton1"; this.algorithmMenu.ToolTipText = "Fit Algorithm"; // // marquardtAlgorithm // this.marquardtAlgorithm.Checked = true; this.marquardtAlgorithm.CheckState = System.Windows.Forms.CheckState.Checked; this.marquardtAlgorithm.Name = "marquardtAlgorithm"; this.marquardtAlgorithm.Size = new System.Drawing.Size(247, 22); this.marquardtAlgorithm.Text = "Levenberg-Marquardt Algorithm"; this.marquardtAlgorithm.Click += new System.EventHandler(this.AlgorithmClick); // // nelderMeadAlgorithm // this.nelderMeadAlgorithm.Name = "nelderMeadAlgorithm"; this.nelderMeadAlgorithm.Size = new System.Drawing.Size(247, 22); this.nelderMeadAlgorithm.Text = "Nelder Mead Algorithm"; this.nelderMeadAlgorithm.Click += new System.EventHandler(this.AlgorithmClick); // // progress // this.progress.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.progress.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.full, this.moderate, this.none }); this.progress.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Progress; this.progress.ImageTransparentColor = System.Drawing.Color.Magenta; this.progress.Name = "progress"; this.progress.Size = new System.Drawing.Size(29, 22); this.progress.Text = "toolStripDropDownButton1"; this.progress.ToolTipText = "Show Progress Options"; // // full // this.full.AutoToolTip = true; this.full.CheckOnClick = true; this.full.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Slow_Progress; this.full.Name = "full"; this.full.Size = new System.Drawing.Size(205, 22); this.full.Text = "Show Full Progress"; this.full.ToolTipText = "Updates all Views after every Fitting Step. Fitting will be very slow."; this.full.Click += new System.EventHandler(this.ProgressClick); // // moderate // this.moderate.AutoToolTip = true; this.moderate.CheckOnClick = true; this.moderate.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Moderate_Progress; this.moderate.Name = "moderate"; this.moderate.Size = new System.Drawing.Size(205, 22); this.moderate.Text = "Show Moderate Progress"; this.moderate.ToolTipText = "Updates all Views every 5 Seconds."; this.moderate.Click += new System.EventHandler(this.ProgressClick); // // none // this.none.AutoToolTip = true; this.none.CheckOnClick = true; this.none.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Progress; this.none.Name = "none"; this.none.Size = new System.Drawing.Size(205, 22); this.none.Text = "Show No Progress"; this.none.ToolTipText = "Fitting operates at full Speed, but no visual Feedback is shown."; this.none.Click += new System.EventHandler(this.ProgressClick); // // toolStrip3 // this.toolStrip3.Dock = System.Windows.Forms.DockStyle.Bottom; this.toolStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel2, this.chisq, this.toolStripSeparator1, this.Q }); this.toolStrip3.Location = new System.Drawing.Point(0, 399); this.toolStrip3.Name = "toolStrip3"; this.toolStrip3.Size = new System.Drawing.Size(380, 27); this.toolStrip3.TabIndex = 29; this.toolStrip3.Text = "toolStrip3"; // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Size = new System.Drawing.Size(0, 24); // // chisq // this.chisq.Font = new System.Drawing.Font("Symbol", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.chisq.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Chisquare; this.chisq.ImageTransparentColor = System.Drawing.Color.Magenta; this.chisq.Name = "chisq"; this.chisq.Size = new System.Drawing.Size(37, 24); this.chisq.Text = "0"; this.chisq.ToolTipText = "Chisquare"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 27); // // Q // this.Q.Font = new System.Drawing.Font("Symbol", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.Q.Image = global::JohnsHope.FPlot.Properties.Resources.Icons_Q; this.Q.ImageTransparentColor = System.Drawing.Color.Magenta; this.Q.Name = "Q"; this.Q.Size = new System.Drawing.Size(37, 24); this.Q.Text = "0"; this.Q.ToolTipText = "Q (Goodness of Fit)"; // // FitForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(380, 453); this.Controls.Add(this.toolStrip3); this.Controls.Add(this.toolStrip2); this.Controls.Add(this.grid); this.Controls.Add(this.toolStrip1); this.HelpButton = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(2); this.MinimumSize = new System.Drawing.Size(396, 379); this.Name = "FitForm"; this.Text = "Fit"; this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.toolStrip2.ResumeLayout(false); this.toolStrip2.PerformLayout(); this.toolStrip3.ResumeLayout(false); this.toolStrip3.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FitForm)); this.function = new System.Windows.Forms.ComboBox(); this.data = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.start = new System.Windows.Forms.Button(); this.close = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.algorithm = new System.Windows.Forms.ComboBox(); this.covariance = new System.Windows.Forms.Button(); this.label7 = new System.Windows.Forms.Label(); this.neval = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.chisq = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.Q = new System.Windows.Forms.TextBox(); this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // function // this.function.Location = new System.Drawing.Point(64, 16); this.function.Name = "function"; this.function.Size = new System.Drawing.Size(120, 21); this.function.TabIndex = 0; // // data // this.data.Location = new System.Drawing.Point(232, 16); this.data.Name = "data"; this.data.Size = new System.Drawing.Size(120, 21); this.data.TabIndex = 1; // // label1 // this.label1.Location = new System.Drawing.Point(8, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 24); this.label1.TabIndex = 2; this.label1.Text = "Function:"; // // label2 // this.label2.Location = new System.Drawing.Point(192, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 24); this.label2.TabIndex = 3; this.label2.Text = "Data:"; // // label3 // this.label3.Location = new System.Drawing.Point(8, 80); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 23); this.label3.TabIndex = 5; this.label3.Text = "Parameters"; // // start // this.start.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.start.Location = new System.Drawing.Point(8, 333); this.start.Name = "start"; this.start.TabIndex = 9; this.start.Text = "Start"; this.start.Click += new System.EventHandler(this.startClick); // // close // this.close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.close.Location = new System.Drawing.Point(96, 333); this.close.Name = "close"; this.close.TabIndex = 10; this.close.Text = "Close"; this.close.Click += new System.EventHandler(this.closeClick); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button1.Location = new System.Drawing.Point(288, 333); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(72, 23); this.button1.TabIndex = 17; this.button1.Text = "Help..."; this.button1.Click += new System.EventHandler(this.helpClick); // // label4 // this.label4.Location = new System.Drawing.Point(8, 48); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 24); this.label4.TabIndex = 18; this.label4.Text = "Algorithm:"; // // algorithm // this.algorithm.Items.AddRange(new object[] { "Marquardt", "Nelder & Mead", "Simulated Annealing" }); this.algorithm.Location = new System.Drawing.Point(72, 48); this.algorithm.Name = "algorithm"; this.algorithm.Size = new System.Drawing.Size(136, 21); this.algorithm.TabIndex = 19; this.algorithm.Text = "Marquardt"; // // covariance // this.covariance.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.covariance.Location = new System.Drawing.Point(232, 301); this.covariance.Name = "covariance"; this.covariance.Size = new System.Drawing.Size(128, 23); this.covariance.TabIndex = 20; this.covariance.Text = "Covariance Matrix..."; this.covariance.Click += new System.EventHandler(this.covarClick); // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label7.Location = new System.Drawing.Point(8, 301); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(112, 23); this.label7.TabIndex = 21; this.label7.Text = "Function evaluations:"; // // neval // this.neval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.neval.Location = new System.Drawing.Point(120, 301); this.neval.Name = "neval"; this.neval.ReadOnly = true; this.neval.Size = new System.Drawing.Size(72, 20); this.neval.TabIndex = 22; this.neval.Text = ""; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label5.Location = new System.Drawing.Point(16, 269); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(64, 23); this.label5.TabIndex = 11; this.label5.Text = "Chisquare:"; // // chisq // this.chisq.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.chisq.Location = new System.Drawing.Point(80, 269); this.chisq.Name = "chisq"; this.chisq.ReadOnly = true; this.chisq.Size = new System.Drawing.Size(112, 20); this.chisq.TabIndex = 12; this.chisq.Text = ""; // // label6 // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label6.Location = new System.Drawing.Point(208, 269); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(16, 23); this.label6.TabIndex = 13; this.label6.Text = "Q:"; // // Q // this.Q.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Q.Location = new System.Drawing.Point(232, 269); this.Q.Name = "Q"; this.Q.ReadOnly = true; this.Q.TabIndex = 14; this.Q.Text = ""; // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(0, 104); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(368, 157); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 23; // // FitForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(368, 360); this.Controls.Add(this.grid); this.Controls.Add(this.neval); this.Controls.Add(this.Q); this.Controls.Add(this.chisq); this.Controls.Add(this.label7); this.Controls.Add(this.covariance); this.Controls.Add(this.algorithm); this.Controls.Add(this.label4); this.Controls.Add(this.button1); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.close); this.Controls.Add(this.start); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.data); this.Controls.Add(this.function); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(376, 312); this.Name = "FitForm"; this.ShowInTaskbar = false; this.Text = "Fit"; 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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DataColumnDialog)); this.grid = new SourceGrid2.Grid(); this.cmdCancel = new System.Windows.Forms.Button(); this.cmdOK = new System.Windows.Forms.Button(); this.cmdUp = new System.Windows.Forms.Button(); this.cmdDown = new System.Windows.Forms.Button(); this.SuspendLayout(); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid.ContextMenuStyle = ((SourceGrid2.ContextMenuStyle)(((SourceGrid2.ContextMenuStyle.AutoSize | SourceGrid2.ContextMenuStyle.ClearSelection) | SourceGrid2.ContextMenuStyle.CopyPasteSelection))); this.grid.CustomSort = false; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(4, 4); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(176, 208); this.grid.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid.TabIndex = 0; // // cmdCancel // this.cmdCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdCancel.Location = new System.Drawing.Point(132, 220); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.TabIndex = 1; this.cmdCancel.Text = "Cancel"; // // cmdOK // this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdOK.Location = new System.Drawing.Point(48, 220); this.cmdOK.Name = "cmdOK"; this.cmdOK.TabIndex = 2; this.cmdOK.Text = "OK"; this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); // // cmdUp // this.cmdUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmdUp.Image = ((System.Drawing.Image)(resources.GetObject("cmdUp.Image"))); this.cmdUp.Location = new System.Drawing.Point(184, 4); this.cmdUp.Name = "cmdUp"; this.cmdUp.Size = new System.Drawing.Size(24, 23); this.cmdUp.TabIndex = 3; this.cmdUp.Click += new System.EventHandler(this.cmdUp_Click); // // cmdDown // this.cmdDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmdDown.Image = ((System.Drawing.Image)(resources.GetObject("cmdDown.Image"))); this.cmdDown.Location = new System.Drawing.Point(184, 32); this.cmdDown.Name = "cmdDown"; this.cmdDown.Size = new System.Drawing.Size(24, 23); this.cmdDown.TabIndex = 4; this.cmdDown.Click += new System.EventHandler(this.cmdDown_Click); // // DataColumnDialog // this.AcceptButton = this.cmdOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cmdCancel; this.ClientSize = new System.Drawing.Size(212, 247); this.Controls.Add(this.cmdDown); this.Controls.Add(this.cmdUp); this.Controls.Add(this.cmdOK); this.Controls.Add(this.cmdCancel); this.Controls.Add(this.grid); this.Name = "DataColumnDialog"; this.Text = "DataColumnDialog"; this.Load += new System.EventHandler(this.DataColumnDialog_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.btnInspect = new System.Windows.Forms.Button(); this.txtObjectPath = new System.Windows.Forms.TextBox(); this.lblObjectPath = new System.Windows.Forms.Label(); this.gridProperties = new SourceGrid2.Grid(); this.lstRecentObjects = new System.Windows.Forms.ListBox(); this.treeObjects = new System.Windows.Forms.TreeView(); this.btnRecent = new System.Windows.Forms.CheckBox(); this.lblCurrentObject = new System.Windows.Forms.Label(); this.lblCurrentObjectValue = new System.Windows.Forms.Label(); this.SuspendLayout(); // // btnInspect // this.btnInspect.Enabled = false; this.btnInspect.Location = new System.Drawing.Point(8, 64); this.btnInspect.Name = "btnInspect"; this.btnInspect.TabIndex = 2; this.btnInspect.Text = "&Inspect"; this.btnInspect.Click += new System.EventHandler(this.btnInspect_Click); // // txtObjectPath // this.txtObjectPath.Location = new System.Drawing.Point(8, 32); this.txtObjectPath.Name = "txtObjectPath"; this.txtObjectPath.Size = new System.Drawing.Size(272, 20); this.txtObjectPath.TabIndex = 1; this.txtObjectPath.Text = ""; this.txtObjectPath.TextChanged += new System.EventHandler(this.txtObjectPath_TextChanged); // // lblObjectPath // this.lblObjectPath.Location = new System.Drawing.Point(8, 8); this.lblObjectPath.Name = "lblObjectPath"; this.lblObjectPath.TabIndex = 4; this.lblObjectPath.Text = "Object Path:"; // // gridProperties // this.gridProperties.AutoSizeMinHeight = 10; this.gridProperties.AutoSizeMinWidth = 10; this.gridProperties.AutoStretchColumnsToFitWidth = true; this.gridProperties.AutoStretchRowsToFitHeight = false; this.gridProperties.BackColor = System.Drawing.SystemColors.ControlLightLight; this.gridProperties.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.gridProperties.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.gridProperties.CustomSort = false; this.gridProperties.GridToolTipActive = true; this.gridProperties.Location = new System.Drawing.Point(288, 32); this.gridProperties.Name = "gridProperties"; this.gridProperties.Size = new System.Drawing.Size(336, 292); this.gridProperties.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.gridProperties.TabIndex = 5; // // lstRecentObjects // this.lstRecentObjects.Location = new System.Drawing.Point(104, 64); this.lstRecentObjects.Name = "lstRecentObjects"; this.lstRecentObjects.Size = new System.Drawing.Size(132, 108); this.lstRecentObjects.TabIndex = 6; this.lstRecentObjects.Visible = false; this.lstRecentObjects.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lstRecentObjects_MouseDown); this.lstRecentObjects.SelectedIndexChanged += new System.EventHandler(this.lstRecentObjects_SelectedIndexChanged); // // treeObjects // this.treeObjects.HideSelection = false; this.treeObjects.HotTracking = true; this.treeObjects.ImageIndex = -1; this.treeObjects.Location = new System.Drawing.Point(8, 100); this.treeObjects.Name = "treeObjects"; this.treeObjects.SelectedImageIndex = -1; this.treeObjects.Size = new System.Drawing.Size(272, 224); this.treeObjects.TabIndex = 4; this.treeObjects.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.treeObjects_AfterExpand); this.treeObjects.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeObjects_AfterSelect); // // btnRecent // this.btnRecent.Appearance = System.Windows.Forms.Appearance.Button; this.btnRecent.BackColor = System.Drawing.SystemColors.ControlLight; this.btnRecent.Location = new System.Drawing.Point(84, 64); this.btnRecent.Name = "btnRecent"; this.btnRecent.Size = new System.Drawing.Size(20, 24); this.btnRecent.TabIndex = 3; this.btnRecent.Text = ">"; this.btnRecent.Leave += new System.EventHandler(this.btnRecent_Leave); this.btnRecent.CheckedChanged += new System.EventHandler(this.btnRecent_CheckedChanged); // // lblCurrentObject // this.lblCurrentObject.Location = new System.Drawing.Point(292, 12); this.lblCurrentObject.Name = "lblCurrentObject"; this.lblCurrentObject.Size = new System.Drawing.Size(84, 23); this.lblCurrentObject.TabIndex = 10; this.lblCurrentObject.Text = "Current Object:"; // // lblCurrentObjectValue // this.lblCurrentObjectValue.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblCurrentObjectValue.Location = new System.Drawing.Point(376, 12); this.lblCurrentObjectValue.Name = "lblCurrentObjectValue"; this.lblCurrentObjectValue.Size = new System.Drawing.Size(244, 23); this.lblCurrentObjectValue.TabIndex = 11; // // PropertyInspectorForm // this.Controls.AddRange(new System.Windows.Forms.Control[] { this.btnRecent, this.lstRecentObjects, this.gridProperties, this.lblObjectPath, this.txtObjectPath, this.btnInspect, this.treeObjects, this.lblCurrentObjectValue, this.lblCurrentObject}); this.Name = "PropertyInspectorForm"; this.Size = new System.Drawing.Size(632, 328); this.VisibleChanged += new System.EventHandler(this.PropertyInspectorForm_VisibleChanged); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PropertyInspectorForm_MouseDown); this.Layout += new System.Windows.Forms.LayoutEventHandler(this.PropertyInspectorForm_Layout); 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ListEditor)); this.btDown = new System.Windows.Forms.Button(); this.btUp = new System.Windows.Forms.Button(); this.btRemove = new System.Windows.Forms.Button(); this.btAdd = new System.Windows.Forms.Button(); this.btrRefreshList = new System.Windows.Forms.Button(); this.grid = new SourceGrid2.Grid(); this.SuspendLayout(); // // btDown // this.btDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btDown.Enabled = false; this.btDown.Image = ((System.Drawing.Image)(resources.GetObject("btDown.Image"))); this.btDown.ImageAlign = System.Drawing.ContentAlignment.BottomRight; this.btDown.Location = new System.Drawing.Point(312, 4); this.btDown.Name = "btDown"; this.btDown.Size = new System.Drawing.Size(24, 23); this.btDown.TabIndex = 1; this.btDown.Click += new System.EventHandler(this.btDown_Click); // // btUp // this.btUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btUp.Enabled = false; this.btUp.Image = ((System.Drawing.Image)(resources.GetObject("btUp.Image"))); this.btUp.ImageAlign = System.Drawing.ContentAlignment.BottomRight; this.btUp.Location = new System.Drawing.Point(284, 4); this.btUp.Name = "btUp"; this.btUp.Size = new System.Drawing.Size(24, 23); this.btUp.TabIndex = 2; this.btUp.Click += new System.EventHandler(this.btUp_Click); // // btRemove // this.btRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btRemove.Enabled = false; this.btRemove.Image = ((System.Drawing.Image)(resources.GetObject("btRemove.Image"))); this.btRemove.ImageAlign = System.Drawing.ContentAlignment.BottomRight; this.btRemove.Location = new System.Drawing.Point(220, 4); this.btRemove.Name = "btRemove"; this.btRemove.Size = new System.Drawing.Size(24, 23); this.btRemove.TabIndex = 3; this.btRemove.Click += new System.EventHandler(this.btRemove_Click); // // btAdd // this.btAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); this.btAdd.ImageAlign = System.Drawing.ContentAlignment.BottomRight; this.btAdd.Location = new System.Drawing.Point(192, 4); this.btAdd.Name = "btAdd"; this.btAdd.Size = new System.Drawing.Size(24, 23); this.btAdd.TabIndex = 4; this.btAdd.Click += new System.EventHandler(this.btAdd_Click); // // btrRefreshList // this.btrRefreshList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btrRefreshList.Image = ((System.Drawing.Image)(resources.GetObject("btrRefreshList.Image"))); this.btrRefreshList.ImageAlign = System.Drawing.ContentAlignment.BottomRight; this.btrRefreshList.Location = new System.Drawing.Point(252, 4); this.btrRefreshList.Name = "btrRefreshList"; this.btrRefreshList.Size = new System.Drawing.Size(24, 23); this.btrRefreshList.TabIndex = 5; this.btrRefreshList.Click += new System.EventHandler(this.btrRefreshList_Click); // // grid // this.grid.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.grid.AutoSizeMinHeight = 10; this.grid.AutoSizeMinWidth = 10; this.grid.AutoStretchColumnsToFitWidth = false; this.grid.AutoStretchRowsToFitHeight = false; this.grid.BackColor = System.Drawing.SystemColors.Control; this.grid.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.grid.CustomSort = false; this.grid.FocusStyle = SourceGrid2.FocusStyle.None; this.grid.GridToolTipActive = true; this.grid.Location = new System.Drawing.Point(4, 36); this.grid.Name = "grid"; this.grid.Size = new System.Drawing.Size(332, 216); this.grid.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape))); this.grid.TabIndex = 11; this.grid.CellLostFocus += new SourceGrid2.PositionCancelEventHandler(this.grid_CellLostFocus); this.grid.CellGotFocus += new SourceGrid2.PositionCancelEventHandler(this.grid_CellGotFocus); // // ListEditor // this.Controls.Add(this.grid); this.Controls.Add(this.btrRefreshList); this.Controls.Add(this.btAdd); this.Controls.Add(this.btRemove); this.Controls.Add(this.btUp); this.Controls.Add(this.btDown); this.Name = "ListEditor"; this.Size = new System.Drawing.Size(340, 252); 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.brAddRow = new System.Windows.Forms.Button(); this.btRemoveRow = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.grid1 = new SourceGrid2.Grid(); this.btMoveColumn = new System.Windows.Forms.Button(); this.btMoveRow = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.btExportHTML = new System.Windows.Forms.Button(); this.chkReadOnly = new System.Windows.Forms.CheckBox(); this.chkEditOnDoubleClick = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.rdNone = new System.Windows.Forms.RadioButton(); this.rdLine = new System.Windows.Forms.RadioButton(); this.rdNromalBorder = new System.Windows.Forms.RadioButton(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // brAddRow // this.brAddRow.Location = new System.Drawing.Point(10, 9); this.brAddRow.Name = "brAddRow"; this.brAddRow.Size = new System.Drawing.Size(90, 24); this.brAddRow.TabIndex = 1; this.brAddRow.Text = "AddRow"; this.brAddRow.Click += new System.EventHandler(this.brAddRow_Click); // // btRemoveRow // this.btRemoveRow.Location = new System.Drawing.Point(115, 9); this.btRemoveRow.Name = "btRemoveRow"; this.btRemoveRow.Size = new System.Drawing.Size(106, 24); this.btRemoveRow.TabIndex = 2; this.btRemoveRow.Text = "RemoveRow"; this.btRemoveRow.Click += new System.EventHandler(this.btRemoveRow_Click); // // panel1 // this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.grid1); this.panel1.Location = new System.Drawing.Point(10, 43); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(744, 310); this.panel1.TabIndex = 3; // // grid1 // this.grid1.AutoSizeMinHeight = 20; this.grid1.AutoSizeMinWidth = 20; this.grid1.AutoStretchColumnsToFitWidth = false; this.grid1.AutoStretchRowsToFitHeight = false; this.grid1.BackColor = System.Drawing.Color.White; this.grid1.ContextMenuStyle = ((SourceGrid2.ContextMenuStyle)(((((SourceGrid2.ContextMenuStyle.ColumnResize | SourceGrid2.ContextMenuStyle.RowResize) | SourceGrid2.ContextMenuStyle.AutoSize) | SourceGrid2.ContextMenuStyle.ClearSelection) | SourceGrid2.ContextMenuStyle.CopyPasteSelection))); this.grid1.CustomSort = false; this.grid1.Dock = System.Windows.Forms.DockStyle.Fill; this.grid1.FocusStyle = SourceGrid2.FocusStyle.None; this.grid1.GridToolTipActive = true; this.grid1.Location = new System.Drawing.Point(0, 0); this.grid1.Name = "grid1"; this.grid1.Size = new System.Drawing.Size(742, 308); this.grid1.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape))); this.grid1.TabIndex = 1; // // btMoveColumn // this.btMoveColumn.Location = new System.Drawing.Point(384, 9); this.btMoveColumn.Name = "btMoveColumn"; this.btMoveColumn.Size = new System.Drawing.Size(106, 24); this.btMoveColumn.TabIndex = 4; this.btMoveColumn.Text = "Move Column"; this.btMoveColumn.Click += new System.EventHandler(this.btMoveColumn_Click); // // btMoveRow // this.btMoveRow.Location = new System.Drawing.Point(269, 9); this.btMoveRow.Name = "btMoveRow"; this.btMoveRow.Size = new System.Drawing.Size(105, 24); this.btMoveRow.TabIndex = 5; this.btMoveRow.Text = "Move Row"; this.btMoveRow.Click += new System.EventHandler(this.btMoveRow_Click); // // 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(10, 366); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(230, 25); this.label1.TabIndex = 6; this.label1.Text = "Click column header to sort the grid"; // // btExportHTML // this.btExportHTML.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btExportHTML.Location = new System.Drawing.Point(649, 366); this.btExportHTML.Name = "btExportHTML"; this.btExportHTML.Size = new System.Drawing.Size(100, 25); this.btExportHTML.TabIndex = 7; this.btExportHTML.Text = "Export HTML"; this.btExportHTML.Click += new System.EventHandler(this.btExportHTML_Click); // // chkReadOnly // this.chkReadOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.chkReadOnly.Location = new System.Drawing.Point(490, 358); this.chkReadOnly.Name = "chkReadOnly"; this.chkReadOnly.Size = new System.Drawing.Size(154, 21); this.chkReadOnly.TabIndex = 8; this.chkReadOnly.Text = "Read Only Cells"; this.chkReadOnly.CheckedChanged += new System.EventHandler(this.chkReadOnly_CheckedChanged); // // chkEditOnDoubleClick // this.chkEditOnDoubleClick.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.chkEditOnDoubleClick.Location = new System.Drawing.Point(490, 375); this.chkEditOnDoubleClick.Name = "chkEditOnDoubleClick"; this.chkEditOnDoubleClick.Size = new System.Drawing.Size(154, 21); this.chkEditOnDoubleClick.TabIndex = 9; this.chkEditOnDoubleClick.Text = "Edit On Double Click"; this.chkEditOnDoubleClick.CheckedChanged += new System.EventHandler(this.chkEditOnDoubleClick_CheckedChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.rdNone); this.groupBox1.Controls.Add(this.rdLine); this.groupBox1.Controls.Add(this.rdNromalBorder); this.groupBox1.Location = new System.Drawing.Point(509, 4); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(331, 39); this.groupBox1.TabIndex = 10; this.groupBox1.TabStop = false; this.groupBox1.Text = "Border Style"; // // rdNone // this.rdNone.Location = new System.Drawing.Point(226, 17); this.rdNone.Name = "rdNone"; this.rdNone.Size = new System.Drawing.Size(81, 17); this.rdNone.TabIndex = 2; this.rdNone.Text = "None"; this.rdNone.CheckedChanged += new System.EventHandler(this.rdNone_CheckedChanged); // // rdLine // this.rdLine.Location = new System.Drawing.Point(115, 17); this.rdLine.Name = "rdLine"; this.rdLine.Size = new System.Drawing.Size(82, 17); this.rdLine.TabIndex = 1; this.rdLine.Text = "Line"; this.rdLine.CheckedChanged += new System.EventHandler(this.rdLine_CheckedChanged); // // rdNromalBorder // this.rdNromalBorder.Checked = true; this.rdNromalBorder.Location = new System.Drawing.Point(14, 17); this.rdNromalBorder.Name = "rdNromalBorder"; this.rdNromalBorder.Size = new System.Drawing.Size(96, 17); this.rdNromalBorder.TabIndex = 0; this.rdNromalBorder.TabStop = true; this.rdNromalBorder.Text = "Normal"; this.rdNromalBorder.CheckedChanged += new System.EventHandler(this.rdNromalBorder_CheckedChanged); // // frmSample1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(764, 395); this.Controls.Add(this.groupBox1); this.Controls.Add(this.chkEditOnDoubleClick); this.Controls.Add(this.chkReadOnly); this.Controls.Add(this.btExportHTML); this.Controls.Add(this.label1); this.Controls.Add(this.btMoveRow); this.Controls.Add(this.btMoveColumn); this.Controls.Add(this.panel1); this.Controls.Add(this.btRemoveRow); this.Controls.Add(this.brAddRow); this.Name = "frmSample1"; this.Text = "Sample Grid 1"; this.Load += new System.EventHandler(this.frmSampleGrid1_Load); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.grid1 = new SourceGrid2.Grid(); this.cpVisualModelForeColor = new SourceLibrary.Windows.Forms.ColorPicker(); this.label1 = new System.Windows.Forms.Label(); this.chkDataModelReadOnly = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // grid1 // this.grid1.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.grid1.AutoSizeMinHeight = 10; this.grid1.AutoSizeMinWidth = 10; this.grid1.AutoStretchColumnsToFitWidth = false; this.grid1.AutoStretchRowsToFitHeight = false; this.grid1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.grid1.CustomSort = false; this.grid1.GridToolTipActive = true; this.grid1.Location = new System.Drawing.Point(8, 56); this.grid1.Name = "grid1"; this.grid1.Size = new System.Drawing.Size(296, 216); this.grid1.SpecialKeys = SourceGrid2.GridSpecialKeys.Default; this.grid1.TabIndex = 0; // // cpVisualModelForeColor // this.cpVisualModelForeColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.cpVisualModelForeColor.Location = new System.Drawing.Point(8, 24); this.cpVisualModelForeColor.Name = "cpVisualModelForeColor"; this.cpVisualModelForeColor.SelectedColor = System.Drawing.Color.Black; this.cpVisualModelForeColor.Size = new System.Drawing.Size(160, 24); this.cpVisualModelForeColor.TabIndex = 1; this.cpVisualModelForeColor.SelectedColorChanged += new System.EventHandler(this.cpVisualModelForeColor_SelectedColorChanged); // // label1 // this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(136, 16); this.label1.TabIndex = 2; this.label1.Text = "VisualModel ForeColor"; // // chkDataModelReadOnly // this.chkDataModelReadOnly.Location = new System.Drawing.Point(168, 24); this.chkDataModelReadOnly.Name = "chkDataModelReadOnly"; this.chkDataModelReadOnly.Size = new System.Drawing.Size(136, 24); this.chkDataModelReadOnly.TabIndex = 3; this.chkDataModelReadOnly.Text = "DataModel ReadOnly"; this.chkDataModelReadOnly.CheckedChanged += new System.EventHandler(this.chkDataModelReadOnly_CheckedChanged); // // frmSample13 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(312, 283); this.Controls.Add(this.chkDataModelReadOnly); this.Controls.Add(this.label1); this.Controls.Add(this.cpVisualModelForeColor); this.Controls.Add(this.grid1); this.Name = "frmSample13"; this.Text = "Basic Grid Operations"; this.Load += new System.EventHandler(this.frmSample13_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridList = new SourceGrid2.Grid(); this.btCancel = new System.Windows.Forms.Button(); this.btOK = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // gridList // this.gridList.AccessibleName = "gridList"; this.gridList.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.gridList.AutoSizeMinHeight = 10; this.gridList.AutoSizeMinWidth = 10; this.gridList.AutoStretchColumnsToFitWidth = false; this.gridList.AutoStretchRowsToFitHeight = false; this.gridList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridList.ContextMenuStyle = SourceGrid2.ContextMenuStyle.None; this.gridList.CustomSort = false; this.gridList.FocusStyle = SourceGrid2.FocusStyle.None; this.gridList.GridToolTipActive = true; this.gridList.Location = new System.Drawing.Point(8, 36); this.gridList.Name = "gridList"; this.gridList.Size = new System.Drawing.Size(308, 232); this.gridList.SpecialKeys = ((SourceGrid2.GridSpecialKeys)(((((((((((SourceGrid2.GridSpecialKeys.Ctrl_C | SourceGrid2.GridSpecialKeys.Ctrl_V) | SourceGrid2.GridSpecialKeys.Ctrl_X) | SourceGrid2.GridSpecialKeys.Delete) | SourceGrid2.GridSpecialKeys.Arrows) | SourceGrid2.GridSpecialKeys.Tab) | SourceGrid2.GridSpecialKeys.PageDownUp) | SourceGrid2.GridSpecialKeys.Enter) | SourceGrid2.GridSpecialKeys.Escape) | SourceGrid2.GridSpecialKeys.Control) | SourceGrid2.GridSpecialKeys.Shift))); this.gridList.TabIndex = 0; // // btCancel // this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.Location = new System.Drawing.Point(240, 272); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(75, 23); this.btCancel.TabIndex = 1; this.btCancel.Text = "Cancel"; // // btOK // this.btOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btOK.Location = new System.Drawing.Point(152, 272); this.btOK.Name = "btOK"; this.btOK.Size = new System.Drawing.Size(75, 23); this.btOK.TabIndex = 2; this.btOK.Text = "OK"; this.btOK.Click += new System.EventHandler(this.btOK_Click); // // label1 // this.label1.Location = new System.Drawing.Point(8, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(308, 28); this.label1.TabIndex = 3; this.label1.Text = "Customize the available list of template files:"; // // TemplatesEditor // this.AcceptButton = this.btOK; this.AccessibleName = "templatesEditor"; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btCancel; this.ClientSize = new System.Drawing.Size(324, 299); this.Controls.Add(this.label1); this.Controls.Add(this.btOK); this.Controls.Add(this.btCancel); this.Controls.Add(this.gridList); this.Name = "TemplatesEditor"; this.Text = "Customize Templates"; this.Load += new System.EventHandler(this.TemplatesEditor_Load); this.ResumeLayout(false); }