public void ShowDataFiles() { var dataFilesForm = Program.FindOpenForm <DataFilesForm>(); if (dataFilesForm != null) { RestoreAndActivate(dataFilesForm); return; } dataFilesForm = new DataFilesForm(Workspace); dataFilesForm.Show(dockPanel, DockState.Document); }
private void DataGridViewOnCellEndEdit(object sender, DataGridViewCellEventArgs e) { var row = dataGridView.Rows[e.RowIndex]; var peptideFileAnalysis = (PeptideFileAnalysis)row.Tag; var column = dataGridView.Columns[e.ColumnIndex]; var cell = row.Cells[e.ColumnIndex]; if (column == colCohort) { peptideFileAnalysis.MsDataFile.Cohort = Convert.ToString(cell.Value); } else if (column == colTimePoint) { peptideFileAnalysis.MsDataFile.TimePoint = DataFilesForm.ToDouble(cell.Value); } else if (column == colDataFileLabel) { peptideFileAnalysis.MsDataFile.Label = Convert.ToString(cell.Value); } else if (column == colStatus) { peptideFileAnalysis.ValidationStatus = (ValidationStatus)cell.Value; } }
public DataFileDeleteHandler(DataFilesForm form) { _form = form; }
public DataFileRow(DataFilesForm form, MsDataFile dataFile) { _form = form; _dataFile = dataFile; }
public void ShowDataFiles() { var dataFilesForm = Program.FindOpenForm<DataFilesForm>(); if (dataFilesForm != null) { RestoreAndActivate(dataFilesForm); return; } dataFilesForm = new DataFilesForm(Workspace); dataFilesForm.Show(dockPanel, DockState.Document); }
public DataFileRow(DataFilesForm form, MsDataFile dataFile) { _form = form; _dataFile = dataFile; }
public DataFileDeleteHandler(DataFilesForm form) { _form = form; }