Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
        bool evaluationMode; // Mode where each expression is evaluated

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