示例#1
0
        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();
        }
示例#2
0
        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();
        }