|
@@ -1,6 +1,6 @@
|
|
|
namespace UAS_MES.Query
|
|
namespace UAS_MES.Query
|
|
|
{
|
|
{
|
|
|
- partial class Query_ShowInstruction
|
|
|
|
|
|
|
+ partial class Query_ShowPDF
|
|
|
{
|
|
{
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// Required designer variable.
|
|
/// Required designer variable.
|
|
@@ -29,27 +29,11 @@
|
|
|
private void InitializeComponent()
|
|
private void InitializeComponent()
|
|
|
{
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
this.components = new System.ComponentModel.Container();
|
|
|
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Query_ShowInstruction));
|
|
|
|
|
- this.PicBox = new System.Windows.Forms.PictureBox();
|
|
|
|
|
this.PageView = new O2S.Components.PDFView4NET.PDFPageView();
|
|
this.PageView = new O2S.Components.PDFView4NET.PDFPageView();
|
|
|
this.PDFDocument = new O2S.Components.PDFView4NET.PDFDocument(this.components);
|
|
this.PDFDocument = new O2S.Components.PDFView4NET.PDFDocument(this.components);
|
|
|
- this.MediaPlayer = new AxWMPLib.AxWindowsMediaPlayer();
|
|
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PicBox)).BeginInit();
|
|
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.MediaPlayer)).BeginInit();
|
|
|
|
|
|
|
+ this.PDFOperater = new UAS_MES.CustomControl.PDFOperater();
|
|
|
this.SuspendLayout();
|
|
this.SuspendLayout();
|
|
|
//
|
|
//
|
|
|
- // PicBox
|
|
|
|
|
- //
|
|
|
|
|
- this.PicBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
- this.PicBox.Image = global::UAS_MES.Properties.Resources.LoginBG;
|
|
|
|
|
- this.PicBox.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
- this.PicBox.Name = "PicBox";
|
|
|
|
|
- this.PicBox.Size = new System.Drawing.Size(1006, 600);
|
|
|
|
|
- this.PicBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
|
|
|
|
- this.PicBox.TabIndex = 203;
|
|
|
|
|
- this.PicBox.TabStop = false;
|
|
|
|
|
- this.PicBox.Visible = false;
|
|
|
|
|
- //
|
|
|
|
|
// PageView
|
|
// PageView
|
|
|
//
|
|
//
|
|
|
this.PageView.AutoScroll = true;
|
|
this.PageView.AutoScroll = true;
|
|
@@ -72,7 +56,6 @@
|
|
|
this.PageView.SubstituteFonts = null;
|
|
this.PageView.SubstituteFonts = null;
|
|
|
this.PageView.TabIndex = 204;
|
|
this.PageView.TabIndex = 204;
|
|
|
this.PageView.VerticalPageSpacing = 5;
|
|
this.PageView.VerticalPageSpacing = 5;
|
|
|
- this.PageView.Visible = false;
|
|
|
|
|
this.PageView.WorkMode = O2S.Components.PDFView4NET.UserInteractiveWorkMode.PanAndScan;
|
|
this.PageView.WorkMode = O2S.Components.PDFView4NET.UserInteractiveWorkMode.PanAndScan;
|
|
|
//
|
|
//
|
|
|
// PDFDocument
|
|
// PDFDocument
|
|
@@ -81,42 +64,37 @@
|
|
|
this.PDFDocument.PageLayout = O2S.Components.PDFView4NET.PDFPageLayout.SinglePage;
|
|
this.PDFDocument.PageLayout = O2S.Components.PDFView4NET.PDFPageLayout.SinglePage;
|
|
|
this.PDFDocument.PageMode = O2S.Components.PDFView4NET.PDFPageMode.UseNone;
|
|
this.PDFDocument.PageMode = O2S.Components.PDFView4NET.PDFPageMode.UseNone;
|
|
|
//
|
|
//
|
|
|
- // MediaPlayer
|
|
|
|
|
|
|
+ // PDFOperater
|
|
|
//
|
|
//
|
|
|
- this.MediaPlayer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
- this.MediaPlayer.Enabled = true;
|
|
|
|
|
- this.MediaPlayer.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
- this.MediaPlayer.Name = "MediaPlayer";
|
|
|
|
|
- this.MediaPlayer.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("MediaPlayer.OcxState")));
|
|
|
|
|
- this.MediaPlayer.Size = new System.Drawing.Size(1006, 600);
|
|
|
|
|
- this.MediaPlayer.TabIndex = 205;
|
|
|
|
|
- this.MediaPlayer.Visible = false;
|
|
|
|
|
|
|
+ this.PDFOperater.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
|
|
|
+ this.PDFOperater.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
+ this.PDFOperater.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
+ this.PDFOperater.Name = "PDFOperater";
|
|
|
|
|
+ this.PDFOperater.PageView = this.PageView;
|
|
|
|
|
+ this.PDFOperater.Size = new System.Drawing.Size(1006, 30);
|
|
|
|
|
+ this.PDFOperater.TabIndex = 203;
|
|
|
|
|
+ this.PDFOperater.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PDFOperater_KeyDown);
|
|
|
//
|
|
//
|
|
|
- // Query_ShowInstruction
|
|
|
|
|
|
|
+ // Query_ShowPDF
|
|
|
//
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(1006, 600);
|
|
this.ClientSize = new System.Drawing.Size(1006, 600);
|
|
|
- this.Controls.Add(this.MediaPlayer);
|
|
|
|
|
|
|
+ this.Controls.Add(this.PDFOperater);
|
|
|
this.Controls.Add(this.PageView);
|
|
this.Controls.Add(this.PageView);
|
|
|
- this.Controls.Add(this.PicBox);
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
|
- this.Name = "Query_ShowInstruction";
|
|
|
|
|
|
|
+ this.Name = "Query_ShowPDF";
|
|
|
this.Tag = "Query!ShowInstruction";
|
|
this.Tag = "Query!ShowInstruction";
|
|
|
this.Text = "作业指导书";
|
|
this.Text = "作业指导书";
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
|
- this.Load += new System.EventHandler(this.Quert_ShowInstruction_Load);
|
|
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PicBox)).EndInit();
|
|
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.MediaPlayer)).EndInit();
|
|
|
|
|
|
|
+ this.Load += new System.EventHandler(this.Query_ShowPDF_Load);
|
|
|
this.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
|
-
|
|
|
|
|
- private System.Windows.Forms.PictureBox PicBox;
|
|
|
|
|
private O2S.Components.PDFView4NET.PDFPageView PageView;
|
|
private O2S.Components.PDFView4NET.PDFPageView PageView;
|
|
|
private O2S.Components.PDFView4NET.PDFDocument PDFDocument;
|
|
private O2S.Components.PDFView4NET.PDFDocument PDFDocument;
|
|
|
- private AxWMPLib.AxWindowsMediaPlayer MediaPlayer;
|
|
|
|
|
|
|
+ private CustomControl.PDFOperater PDFOperater;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|