private void frm_siharai_ichiran_preview_Load(object sender, EventArgs e) { rpt_siharai_ichiran rpt = new rpt_siharai_ichiran(); //レポートへデータを受け渡す 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.Run(); this.vwr.Document = rpt.Document; }