Пример #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;
 }