//view choose cell private void cmbADCellChoose_SelectedIndexChanged(object sender, EventArgs e) { if (!IsNull(cmbADCellChoose)) { string txt = cmbADCellChoose.SelectedItem.ToString(); Cell c = sqlWorker.GetCells().FindLast(x => x.Name.Equals(txt)); txtADCellInfo.Text = c.ToString(); } }
public void loadCells() { if (sqlWorker == null) { throw new SQLWorkerException("SQLWorker is equal to null."); } cells.Clear(); cells = sqlWorker.GetCells(); }
public void loadCells(ISQLWorker sqlWorker) { cells.Clear(); cells = sqlWorker.GetCells(); }