public FormVarList() { InitializeComponent(); m_expTool = ExpTool.GetInstance(); lviewVar.Columns.Add("Variable Name", 160); lviewVar.Columns.Add("Value", 160); tboxFilterStr.Text = string.Empty; }
public ProgCalc() { InitializeComponent(); m_expTool = ExpTool.GetInstance(); this.StartPosition = FormStartPosition.Manual; this.Left = (Screen.PrimaryScreen.Bounds.Width - this.Width) / 3; this.Top = (Screen.PrimaryScreen.Bounds.Height - this.Height) / 4; tboxInput.Focus(); InitBinBox(); //rbtnIntMode.Checked = true; //Register Result Mode Change handle //rbtnFloorMode.CheckedChanged += new System.EventHandler(this.ResultModeChange); //rbtnIntMode.CheckedChanged += new System.EventHandler(this.ResultModeChange); //rbtnCeilMode.CheckedChanged += new System.EventHandler(this.ResultModeChange); //rbtnRoundMode.CheckedChanged += new System.EventHandler(this.ResultModeChange); InitResultMenu(); }
public static ExpTool GetInstance() { if (m_instance == null) m_instance = new ExpTool(); return m_instance; }