示例#1
0
 public TableEditorForm(string path)
 {
     InitializeComponent();
     table = new FormulaTable();
     table.LoadToDataGridView(dataGridView); // Synchronize
     try
     {
         table.LoadFromFile(path);
         table.LoadToDataGridView(dataGridView);
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message);
     }
 }
示例#2
0
        bool evaluationMode; // Mode where each expression is evaluated

        public TableEditorForm()
        {
            InitializeComponent();
            table          = new FormulaTable();
            evaluationMode = false;
        }