/// <summary> /// Edits the cells and columns, enters edit mode /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e) { int row = e.RowIndex; int column = e.ColumnIndex; dataGridView1.Rows[row].Cells[column].Value = (basesheet.GetCell(row, column)).setText; }
public float VNA() { spreadsheet HojaDeCalculo = new spreadsheet("EjercicioDictum2"); HojaDeCalculo.SetCell("A2", 100); HojaDeCalculo.Calculate(); return(HojaDeCalculo.GetCell("A4")); }