private void ShowDetails() { if (gridView1.FocusedRowHandle < 0) { return; } Ps_forecast_list report = Itop.Common.DataConverter.RowToObject <Ps_forecast_list>(gridView1.GetDataRow(gridView1.FocusedRowHandle)); FormForecastSelectDSH frm = new FormForecastSelectDSH(); frm.CnaEdit = base.EditRight; frm.forecastReport = report; frm.Text = this.Text + "- " + report.Title; frm.ShowDialog(); }
private void ShowDetails() { if (gridView1.FocusedRowHandle < 0) { return; } Ps_forecast_list report = Itop.Common.DataConverter.RowToObject<Ps_forecast_list>(gridView1.GetDataRow(gridView1.FocusedRowHandle)); FormForecastSelectDSH frm = new FormForecastSelectDSH(); frm.CnaEdit = base.EditRight; frm.forecastReport = report; frm.Text = this.Text + "- " + report.Title; frm.ShowDialog(); }