private void ShowData() { if (_dataOptions == DataOptions.SqlServer) { _listTask = _bllSql.GetAllTask(); } else { _listTask = _bllFileSystem.GetAllTask(); } foreach (var item in _listTask) { CreateNewTextBox(item); } }
private void ShowData() { if (_optionData == 0) { _listTask = _bllSql.GetAllTask(); } else { _listTask = _bllFileSystem.GetAllTask(); } foreach (var item in _listTask) { CreateNewTextBox(item); } }