예제 #1
0
        public FormVarList()
        {
            InitializeComponent();
            m_expTool = ExpTool.GetInstance();

            lviewVar.Columns.Add("Variable Name", 160);
            lviewVar.Columns.Add("Value", 160);
            tboxFilterStr.Text = string.Empty;
        }
예제 #2
0
        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();
        }
예제 #3
0
 public static ExpTool GetInstance()
 {
     if (m_instance == null)
         m_instance = new ExpTool();
     return m_instance;
 }