Click here to Skip to main content
15,892,804 members
Articles / Programming Languages / C#

Inside the Mathematical Expressions Evaluator

Rate me:
Please Sign up or sign in to vote.
4.88/5 (43 votes)
17 Jan 2008CPOL8 min read 116.1K   3.4K   77  
An article on mathematical expression evaluation
namespace Calc
{
   partial class FormVariables
   {
      /// <summary>
      /// Required designer variable.
      /// </summary>
      private System.ComponentModel.IContainer components = null;

      /// <summary>
      /// Clean up any resources being used.
      /// </summary>
      /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
      protected override void Dispose(bool disposing)
      {
         if (disposing && (components != null))
         {
            components.Dispose();
         }
         base.Dispose(disposing);
      }

      #region Windows Form Designer generated code

      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      private void InitializeComponent()
      {
         this.lstVariables = new System.Windows.Forms.ListView();
         this.cVar = new System.Windows.Forms.ColumnHeader();
         this.cVal = new System.Windows.Forms.ColumnHeader();
         this.SuspendLayout();
         // 
         // lstVariables
         // 
         this.lstVariables.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
         this.lstVariables.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.cVar,
            this.cVal});
         this.lstVariables.Dock = System.Windows.Forms.DockStyle.Fill;
         this.lstVariables.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
         this.lstVariables.Location = new System.Drawing.Point(0, 0);
         this.lstVariables.Name = "lstVariables";
         this.lstVariables.Size = new System.Drawing.Size(177, 186);
         this.lstVariables.TabIndex = 4;
         this.lstVariables.UseCompatibleStateImageBehavior = false;
         this.lstVariables.View = System.Windows.Forms.View.Details;
         // 
         // cVar
         // 
         this.cVar.Text = "Variable";
         this.cVar.Width = 50;
         // 
         // cVal
         // 
         this.cVal.Text = "Value";
         this.cVal.Width = 120;
         // 
         // FormVariables
         // 
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
         this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
         this.ClientSize = new System.Drawing.Size(177, 186);
         this.Controls.Add(this.lstVariables);
         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
         this.Name = "FormVariables";
         this.ShowInTaskbar = false;
         this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
         this.Text = "Variables";
         this.ResumeLayout(false);

      }

      #endregion

      private System.Windows.Forms.ListView lstVariables;
      private System.Windows.Forms.ColumnHeader cVar;
      private System.Windows.Forms.ColumnHeader cVal;
   }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Finland Finland
I'm a Master degree student, studying at the University of Joensuu, Finland.

Comments and Discussions