private void btn_uriage_denpyou_insatu_Click(object sender, EventArgs e)
        {
            //売上伝票印刷
            if (tss.User_Kengen_Check(2, 5) == false)
            {
                MessageBox.Show("権限がありません");
                return;
            }
            frm_uriage_denpyou_preview frm_rpt = new frm_uriage_denpyou_preview();

            frm_rpt.ShowDialog(this);
            frm_rpt.Dispose();
        }
 private void btn_uriage_denpyou_insatu_Click(object sender, EventArgs e)
 {
     if (tss.User_Kengen_Check(2, 5) == false)
     {
         MessageBox.Show("権限がありません");
         return;
     }
     //伝票印刷
     frm_uriage_denpyou_preview frm_rpt = new frm_uriage_denpyou_preview();
     frm_rpt.ShowDialog(this);
     frm_rpt.Dispose();
 }
 private void denpyou_insatu()
 {
     //伝票印刷
     //伝票印刷用のトランファイルを削除
     tss.OracleDelete("DROP TABLE tss_uriage_denpyou_trn CASCADE CONSTRAINTS");
     //印刷用のトランファイルを作成
     tss.OracleSelect("CREATE table tss_uriage_denpyou_trn AS SELECT * FROM tss_uriage_m where uriage_no = '" + tb_uriage_no.Text.ToString() + "'");
     frm_uriage_denpyou_preview frm_rpt = new frm_uriage_denpyou_preview();
     frm_rpt.w_uriage_no = tb_uriage_no.Text;
     frm_rpt.ShowDialog(this);
     frm_rpt.Dispose();
 }