I don't remember what changed here but I believe the core logic for parsing the math expression was updated to be 'better', perhaps more 'robust'. I don't think you can really call it that though considering it doesn't even make use of a syntax tree of any kind at the very least.
This commit is contained in:
Generated
+25
-17
@@ -47,17 +47,19 @@
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(921, 33);
|
||||
this.textBox1.Location = new System.Drawing.Point(613, 21);
|
||||
this.textBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(447, 26);
|
||||
this.textBox1.Size = new System.Drawing.Size(299, 20);
|
||||
this.textBox1.TabIndex = 0;
|
||||
this.textBox1.Text = "2 * 5 / 2(1 + 2)";
|
||||
this.textBox1.Text = "5000(2(2(1.08^10)-1)/0.08)";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(921, 758);
|
||||
this.button1.Location = new System.Drawing.Point(613, 492);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(155, 92);
|
||||
this.button1.Size = new System.Drawing.Size(103, 60);
|
||||
this.button1.TabIndex = 1;
|
||||
this.button1.Text = "button1";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
@@ -77,13 +79,14 @@
|
||||
this.mainLayout.Controls.Add(this.ActionsListView, 1, 3);
|
||||
this.mainLayout.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.mainLayout.Location = new System.Drawing.Point(0, 0);
|
||||
this.mainLayout.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.mainLayout.Name = "mainLayout";
|
||||
this.mainLayout.RowCount = 4;
|
||||
this.mainLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
|
||||
this.mainLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 19F));
|
||||
this.mainLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33F));
|
||||
this.mainLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 34F));
|
||||
this.mainLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33F));
|
||||
this.mainLayout.Size = new System.Drawing.Size(1371, 1113);
|
||||
this.mainLayout.Size = new System.Drawing.Size(914, 723);
|
||||
this.mainLayout.TabIndex = 3;
|
||||
//
|
||||
// ExpressionBreakdownListView
|
||||
@@ -94,10 +97,11 @@
|
||||
this.ExpressionBreakdownListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ExpressionBreakdownListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
||||
this.ExpressionBreakdownListView.HideSelection = false;
|
||||
this.ExpressionBreakdownListView.Location = new System.Drawing.Point(3, 33);
|
||||
this.ExpressionBreakdownListView.Location = new System.Drawing.Point(2, 21);
|
||||
this.ExpressionBreakdownListView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.ExpressionBreakdownListView.Name = "ExpressionBreakdownListView";
|
||||
this.mainLayout.SetRowSpan(this.ExpressionBreakdownListView, 2);
|
||||
this.ExpressionBreakdownListView.Size = new System.Drawing.Size(446, 719);
|
||||
this.ExpressionBreakdownListView.Size = new System.Drawing.Size(297, 467);
|
||||
this.ExpressionBreakdownListView.TabIndex = 3;
|
||||
this.ExpressionBreakdownListView.UseCompatibleStateImageBehavior = false;
|
||||
this.ExpressionBreakdownListView.View = System.Windows.Forms.View.Details;
|
||||
@@ -119,10 +123,11 @@
|
||||
this.columnHeader4});
|
||||
this.StepsListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.StepsListView.HideSelection = false;
|
||||
this.StepsListView.Location = new System.Drawing.Point(455, 33);
|
||||
this.StepsListView.Location = new System.Drawing.Point(303, 21);
|
||||
this.StepsListView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.StepsListView.Name = "StepsListView";
|
||||
this.mainLayout.SetRowSpan(this.StepsListView, 2);
|
||||
this.StepsListView.Size = new System.Drawing.Size(460, 719);
|
||||
this.StepsListView.Size = new System.Drawing.Size(306, 467);
|
||||
this.StepsListView.TabIndex = 4;
|
||||
this.StepsListView.UseCompatibleStateImageBehavior = false;
|
||||
this.StepsListView.View = System.Windows.Forms.View.Details;
|
||||
@@ -144,9 +149,10 @@
|
||||
this.columnHeader6});
|
||||
this.SymbolsListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.SymbolsListView.HideSelection = false;
|
||||
this.SymbolsListView.Location = new System.Drawing.Point(3, 758);
|
||||
this.SymbolsListView.Location = new System.Drawing.Point(2, 492);
|
||||
this.SymbolsListView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.SymbolsListView.Name = "SymbolsListView";
|
||||
this.SymbolsListView.Size = new System.Drawing.Size(446, 352);
|
||||
this.SymbolsListView.Size = new System.Drawing.Size(297, 229);
|
||||
this.SymbolsListView.TabIndex = 5;
|
||||
this.SymbolsListView.UseCompatibleStateImageBehavior = false;
|
||||
this.SymbolsListView.View = System.Windows.Forms.View.Details;
|
||||
@@ -167,9 +173,10 @@
|
||||
this.columnHeader7});
|
||||
this.ActionsListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ActionsListView.HideSelection = false;
|
||||
this.ActionsListView.Location = new System.Drawing.Point(455, 758);
|
||||
this.ActionsListView.Location = new System.Drawing.Point(303, 492);
|
||||
this.ActionsListView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.ActionsListView.Name = "ActionsListView";
|
||||
this.ActionsListView.Size = new System.Drawing.Size(460, 352);
|
||||
this.ActionsListView.Size = new System.Drawing.Size(306, 229);
|
||||
this.ActionsListView.TabIndex = 6;
|
||||
this.ActionsListView.UseCompatibleStateImageBehavior = false;
|
||||
this.ActionsListView.View = System.Windows.Forms.View.Details;
|
||||
@@ -181,10 +188,11 @@
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1371, 1113);
|
||||
this.ClientSize = new System.Drawing.Size(914, 723);
|
||||
this.Controls.Add(this.mainLayout);
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
this.mainLayout.ResumeLayout(false);
|
||||
|
||||
Reference in New Issue
Block a user