Esempio n. 1
0
 //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();
     }
 }
Esempio n. 2
0
        public void loadCells()
        {
            if (sqlWorker == null)
            {
                throw new SQLWorkerException("SQLWorker is equal to null.");
            }

            cells.Clear();
            cells = sqlWorker.GetCells();
        }
Esempio n. 3
0
 public void loadCells(ISQLWorker sqlWorker)
 {
     cells.Clear();
     cells = sqlWorker.GetCells();
 }