/// <summary> /// Required method for Designer support; do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.textBox1 = new System.Windows.Forms.TextBox(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.label1 = new System.Windows.Forms.Label(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.dataGrid1 = new DataGridCalculator.CalcDataGrid(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.SuspendLayout(); // // textBox1 // this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.textBox1.Location = new System.Drawing.Point(465, 118); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(208, 20); this.textBox1.TabIndex = 1; this.textBox1.Enter += new System.EventHandler(this.textBox1_Enter); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button1.BeforeTouchSize = new System.Drawing.Size(75, 23); this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.ForeColor = System.Drawing.Color.White; this.button1.IsBackStageButton = false; this.button1.Location = new System.Drawing.Point(529, 156); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 2; this.button1.Text = "Compute"; this.button1.UseVisualStyle = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(473, 194); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(200, 85); this.label1.TabIndex = 3; // // checkBox1 // this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBox1.Location = new System.Drawing.Point(24, 52); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(344, 24); this.checkBox1.TabIndex = 5; this.checkBox1.Text = "Show any formulas in the DataGrid."; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(24, 22); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(368, 24); this.label2.TabIndex = 6; this.label2.Text = "Try entering formulas such as = A4 + B4 into a cell in this DataGrid."; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(465, 54); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(208, 56); this.label3.TabIndex = 7; this.label3.Text = "Enter a formula based on DataGrid cells like = A1 + B2 + Cos(B1). The" + "n press Compute. "; // // checkBox2 // this.checkBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBox2.Location = new System.Drawing.Point(473, 14); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(192, 24); this.checkBox2.TabIndex = 9; this.checkBox2.Text = "SuspendCalculations"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // dataGrid1 // this.dataGrid1.AllowSorting = false; this.dataGrid1.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.dataGrid1.DataMember = ""; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(22, 110); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(418, 164); this.dataGrid1.TabIndex = 8; // // SingleDataGridForm // this.AcceptButton = this.button1; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(696, 307); this.Controls.Add(this.checkBox2); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.checkBox1); this.Controls.Add(this.label1); this.Controls.Add(this.button1); this.Controls.Add(this.textBox1); this.MinimumSize = new System.Drawing.Size(650, 300); this.Name = "SingleDataGridForm"; this.Text = "Data Grid Calculator"; this.Load += new System.EventHandler(this.SingleDataGridForm_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); 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() { this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.dataGrid1 = new DataGridCalculator.CalcDataGrid(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.dataGrid2 = new DataGridCalculator.CalcDataGrid(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.dataGrid3 = new DataGridCalculator.CalcDataGrid(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.dataGrid4 = new DataGridCalculator.CalcDataGrid(); this.tabPage5 = new System.Windows.Forms.TabPage(); this.dataGrid5 = new DataGridCalculator.CalcDataGrid(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).BeginInit(); this.tabPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid3)).BeginInit(); this.tabPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid4)).BeginInit(); this.tabPage5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid5)).BeginInit(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Controls.Add(this.tabPage5); this.tabControl1.Location = new System.Drawing.Point(32, 64); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(656, 360); this.tabControl1.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.dataGrid1); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(648, 334); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "DG1"; // // dataGrid1 // this.dataGrid1.AllowSorting = false; this.dataGrid1.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.dataGrid1.DataMember = ""; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(0, 0); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(648, 334); this.dataGrid1.TabIndex = 0; // // tabPage2 // this.tabPage2.Controls.Add(this.dataGrid2); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(648, 334); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "DG2"; // // dataGrid2 // this.dataGrid2.AllowSorting = false; this.dataGrid2.DataMember = ""; this.dataGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid2.Location = new System.Drawing.Point(0, 0); this.dataGrid2.Name = "dataGrid2"; this.dataGrid2.Size = new System.Drawing.Size(648, 334); this.dataGrid2.TabIndex = 0; // // tabPage3 // this.tabPage3.Controls.Add(this.dataGrid3); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(648, 334); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "DG3"; // // dataGrid3 // this.dataGrid3.AllowSorting = false; this.dataGrid3.DataMember = ""; this.dataGrid3.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid3.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid3.Location = new System.Drawing.Point(0, 0); this.dataGrid3.Name = "dataGrid3"; this.dataGrid3.Size = new System.Drawing.Size(648, 334); this.dataGrid3.TabIndex = 0; // // tabPage4 // this.tabPage4.Controls.Add(this.dataGrid4); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(648, 334); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "DG4"; // // dataGrid4 // this.dataGrid4.AllowSorting = false; this.dataGrid4.DataMember = ""; this.dataGrid4.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid4.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid4.Location = new System.Drawing.Point(0, 0); this.dataGrid4.Name = "dataGrid4"; this.dataGrid4.Size = new System.Drawing.Size(648, 334); this.dataGrid4.TabIndex = 0; // // tabPage5 // this.tabPage5.Controls.Add(this.dataGrid5); this.tabPage5.Location = new System.Drawing.Point(4, 22); this.tabPage5.Name = "tabPage5"; this.tabPage5.Size = new System.Drawing.Size(648, 334); this.tabPage5.TabIndex = 4; this.tabPage5.Text = "DG5"; // // dataGrid5 // this.dataGrid5.AllowSorting = false; this.dataGrid5.DataMember = ""; this.dataGrid5.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGrid5.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid5.Location = new System.Drawing.Point(0, 0); this.dataGrid5.Name = "dataGrid5"; this.dataGrid5.Size = new System.Drawing.Size(648, 334); this.dataGrid5.TabIndex = 0; // // checkBox1 // this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBox1.Location = new System.Drawing.Point(32, 24); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(224, 24); this.checkBox1.TabIndex = 3; this.checkBox1.Text = "Show Formulas"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // label1 // this.label1.Location = new System.Drawing.Point(306, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(382, 48); this.label1.TabIndex = 4; this.label1.Text = "Enter a formula like = Sum(DG2!B2:DG2!B5) into a cell."; // // DataGridWorkBookForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(720, 454); this.Controls.Add(this.label1); this.Controls.Add(this.checkBox1); this.Controls.Add(this.tabControl1); this.MinimumSize = new System.Drawing.Size(700, 300); this.Name = "DataGridWorkBookForm"; this.Text = "Data Grid Calculator "; this.Load += new System.EventHandler(this.DataGridWorkBookForm_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).EndInit(); this.tabPage3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid3)).EndInit(); this.tabPage4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid4)).EndInit(); this.tabPage5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid5)).EndInit(); this.ResumeLayout(false); }