Query_ShowPDF.cs 800 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using UAS_MES.CustomControl;
  10. using UAS_MES.PublicMethod;
  11. namespace UAS_MES.Query
  12. {
  13. public partial class Query_ShowPDF : Form
  14. {
  15. //文件具体地址
  16. string type = "";
  17. public Query_ShowPDF(string FileType)
  18. {
  19. InitializeComponent();
  20. type = FileType;
  21. StartPosition = FormStartPosition.CenterScreen;
  22. }
  23. private void Query_ShowPDF_Load(object sender, EventArgs e)
  24. {
  25. PDFDocument.FilePath = type;
  26. }
  27. private void PDFOperater_KeyDown(object sender, KeyEventArgs e)
  28. {
  29. }
  30. }
  31. }