private void ChangeSpec() { if (sverPDataGrid.Rows.Count > 0) { SveraParam.ChangeSpec(sverPDataGrid, SveraP.FromDataBaseWideForSvera); } }
private void ChangeSpec() { if (ComboDate.Items.Count > 0 && ComboDate.DataSource != null) { FromDataBase newDataBase = ComboDate.SelectedItem as FromDataBase; SveraParam.ChangeSpec(sverPDataGrid, newDataBase); } else { for (int i = 0; i <= sverPDataGrid.Rows.Count - 1; i++) { sverPDataGrid.Rows[i].Cells[sverPDataGrid.Columns[SveraParam.ColDatagridNames.Value].Index].Value = ""; } } }