private void btn_insatu_Click(object sender, EventArgs e)
        {
            frm_uriage_preview frm_rpt = new frm_uriage_preview();

            //子画面のプロパティに値をセットする
            frm_rpt.ppt_dt = w_dt_insatu;

            frm_rpt.w_hd10 = tb_uriage_no1.Text;
            frm_rpt.w_hd11 = tb_uriage_no2.Text;
            frm_rpt.w_hd20 = tb_torihikisaki_cd.Text;
            frm_rpt.w_hd21 = tb_torihikisaki_name.Text;
            frm_rpt.w_hd30 = tb_uriage_date1.Text;
            frm_rpt.w_hd31 = tb_uriage_date2.Text;
            frm_rpt.w_hd40 = tb_juchu_cd1.Text;
            frm_rpt.w_hd41 = tb_juchu_cd2.Text;
            frm_rpt.w_hd50 = tb_seihin_cd.Text;
            frm_rpt.w_hd51 = tb_seihin_name.Text;

            frm_rpt.ShowDialog();
            //子画面から値を取得する
            frm_rpt.Dispose();
        }
Example #2
0
        private void btn_insatu_Click(object sender, EventArgs e)
        {
            frm_uriage_preview frm_rpt = new frm_uriage_preview();

            //子画面のプロパティに値をセットする
            frm_rpt.ppt_dt = w_dt_insatu;

            frm_rpt.w_hd10 = tb_uriage_no1.Text;
            frm_rpt.w_hd11 = tb_uriage_no2.Text;
            frm_rpt.w_hd20 = tb_torihikisaki_cd.Text;
            frm_rpt.w_hd21 = tb_torihikisaki_name.Text;
            frm_rpt.w_hd30 = tb_uriage_date1.Text;
            frm_rpt.w_hd31 = tb_uriage_date2.Text;
            frm_rpt.w_hd40 = tb_juchu_cd1.Text;
            frm_rpt.w_hd41 = tb_juchu_cd2.Text;
            frm_rpt.w_hd50 = tb_seihin_cd.Text;
            frm_rpt.w_hd51 = tb_seihin_name.Text;


            frm_rpt.ShowDialog();
            //子画面から値を取得する
            frm_rpt.Dispose();
        }