Exemplo n.º 1
0
 /// <summary>
 /// PDF作成後に印刷プレビュー画面表示
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnPrint_Click(object sender, EventArgs e)
 {
     if (OriginMBox.MBoxInfoYesNo(AppConst.PDF_INSTALL_MESSAGE) == DialogResult.Yes)
     {
         PDFCreator.GetInstance().Preview(true, PDFCreator.GetPDFFile(DateTime.Now.ToString("yyyyMMdd")));
     }
     else
     {
         PDFCreator.GetInstance().Preview(false, PDFCreator.GetPDFFile(DateTime.Now.ToString("yyyyMMdd")));
     }
 }