private void btnViewData_Click(object sender, EventArgs e) { if (dgDecisionTableHistory.SelectedRows.Count == 0) return; DecisionTableHistoryView decisionTableHistoryView = (DecisionTableHistoryView)dgDecisionTableHistory.SelectedRows[0].DataBoundItem; var form = new ViewDataForm(decisionTableHistoryView.TableName); //form.MdiParent = this; form.Show(); }
private void btnViewRawData_Click(object sender, EventArgs e) { if (dgvDataFile.SelectedRows.Count == 0) return; DataFile selectedDataFile = (DataFile)dgvDataFile.SelectedRows[0].DataBoundItem; var form = new ViewDataForm(selectedDataFile.RawTableName); //form.MdiParent = this; form.Show(); }