private void frm_buhin_nyusyukko_preview_Load(object sender, EventArgs e) { rpt_buhin_nyusyukko rpt = new rpt_buhin_nyusyukko(); //レポートへデータを受け渡す rpt.DataSource = ppt_dt; rpt.w_yyyymmdd = w_yyyymmdd; rpt.w_hd10 = w_hd10; rpt.w_hd11 = w_hd11; rpt.w_hd20 = w_hd20; rpt.w_hd21 = w_hd21; rpt.w_hd30 = w_hd30; rpt.w_hd31 = w_hd31; rpt.Run(); this.vwr.Document = rpt.Document; }