|
@@ -30,34 +30,20 @@
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Query_OperationInstruction));
|
|
|
- this.MediaPlayer = new AxWMPLib.AxWindowsMediaPlayer();
|
|
|
this.sn_label = new System.Windows.Forms.Label();
|
|
|
this.FileList_label = new System.Windows.Forms.Label();
|
|
|
- this.PageView = new O2S.Components.PDFView4NET.PDFPageView();
|
|
|
this.PDFDocument = new O2S.Components.PDFView4NET.PDFDocument(this.components);
|
|
|
- this.PicBox = new System.Windows.Forms.PictureBox();
|
|
|
+ this.OpenFile = new UAS_MES.CustomControl.ButtonUtil.NormalButton();
|
|
|
this.FileList = new UAS_MES.CustomControl.ComBoxWithFocus.ComBoxWithFocus();
|
|
|
this.SnCode = new UAS_MES.CustomControl.TextBoxWithIcon.SnCollectionBox();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.MediaPlayer)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PicBox)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
- // MediaPlayer
|
|
|
- //
|
|
|
- this.MediaPlayer.Enabled = true;
|
|
|
- this.MediaPlayer.Location = new System.Drawing.Point(0, 52);
|
|
|
- this.MediaPlayer.Name = "MediaPlayer";
|
|
|
- this.MediaPlayer.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("MediaPlayer.OcxState")));
|
|
|
- this.MediaPlayer.Size = new System.Drawing.Size(1012, 571);
|
|
|
- this.MediaPlayer.TabIndex = 0;
|
|
|
- this.MediaPlayer.Visible = false;
|
|
|
- //
|
|
|
// sn_label
|
|
|
//
|
|
|
this.sn_label.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
this.sn_label.AutoSize = true;
|
|
|
this.sn_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.sn_label.Location = new System.Drawing.Point(12, 9);
|
|
|
+ this.sn_label.Location = new System.Drawing.Point(12, 18);
|
|
|
this.sn_label.Name = "sn_label";
|
|
|
this.sn_label.Size = new System.Drawing.Size(32, 21);
|
|
|
this.sn_label.TabIndex = 198;
|
|
@@ -68,52 +54,35 @@
|
|
|
this.FileList_label.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
this.FileList_label.AutoSize = true;
|
|
|
this.FileList_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.FileList_label.Location = new System.Drawing.Point(245, 9);
|
|
|
+ this.FileList_label.Location = new System.Drawing.Point(245, 18);
|
|
|
this.FileList_label.Name = "FileList_label";
|
|
|
this.FileList_label.Size = new System.Drawing.Size(74, 21);
|
|
|
this.FileList_label.TabIndex = 200;
|
|
|
this.FileList_label.Text = "文件列表";
|
|
|
//
|
|
|
- // PageView
|
|
|
- //
|
|
|
- this.PageView.AutoScroll = true;
|
|
|
- this.PageView.BackColor = System.Drawing.SystemColors.Window;
|
|
|
- this.PageView.DefaultEllipseAnnotationBorderWidth = 1D;
|
|
|
- this.PageView.DefaultInkAnnotationWidth = 1D;
|
|
|
- this.PageView.DefaultRectangleAnnotationBorderWidth = 1D;
|
|
|
- this.PageView.Document = this.PDFDocument;
|
|
|
- this.PageView.DownscaleLargeImages = false;
|
|
|
- this.PageView.EnableRepeatedKeys = false;
|
|
|
- this.PageView.Location = new System.Drawing.Point(0, 52);
|
|
|
- this.PageView.Name = "PageView";
|
|
|
- this.PageView.PageDisplayLayout = O2S.Components.PDFView4NET.PDFPageDisplayLayout.OneColumn;
|
|
|
- this.PageView.PageNumber = 0;
|
|
|
- this.PageView.RenderingProgressColor = System.Drawing.Color.Empty;
|
|
|
- this.PageView.RequiredFormFieldHighlightColor = System.Drawing.Color.Empty;
|
|
|
- this.PageView.ScrollPosition = new System.Drawing.Point(0, 0);
|
|
|
- this.PageView.Size = new System.Drawing.Size(1012, 571);
|
|
|
- this.PageView.SubstituteFonts = null;
|
|
|
- this.PageView.TabIndex = 201;
|
|
|
- this.PageView.VerticalPageSpacing = 5;
|
|
|
- this.PageView.Visible = false;
|
|
|
- this.PageView.WorkMode = O2S.Components.PDFView4NET.UserInteractiveWorkMode.PanAndScan;
|
|
|
- //
|
|
|
// PDFDocument
|
|
|
//
|
|
|
this.PDFDocument.Metadata = null;
|
|
|
this.PDFDocument.PageLayout = O2S.Components.PDFView4NET.PDFPageLayout.SinglePage;
|
|
|
this.PDFDocument.PageMode = O2S.Components.PDFView4NET.PDFPageMode.UseNone;
|
|
|
//
|
|
|
- // PicBox
|
|
|
- //
|
|
|
- this.PicBox.Image = global::UAS_MES.Properties.Resources.LoginBG;
|
|
|
- this.PicBox.Location = new System.Drawing.Point(0, 52);
|
|
|
- this.PicBox.Name = "PicBox";
|
|
|
- this.PicBox.Size = new System.Drawing.Size(1012, 571);
|
|
|
- this.PicBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
|
|
- this.PicBox.TabIndex = 202;
|
|
|
- this.PicBox.TabStop = false;
|
|
|
- this.PicBox.Visible = false;
|
|
|
+ // OpenFile
|
|
|
+ //
|
|
|
+ this.OpenFile.AllPower = null;
|
|
|
+ this.OpenFile.BackColor = System.Drawing.Color.Transparent;
|
|
|
+ this.OpenFile.DownImage = ((System.Drawing.Image)(resources.GetObject("OpenFile.DownImage")));
|
|
|
+ this.OpenFile.Image = null;
|
|
|
+ this.OpenFile.IsShowBorder = true;
|
|
|
+ this.OpenFile.Location = new System.Drawing.Point(566, 14);
|
|
|
+ this.OpenFile.MoveImage = ((System.Drawing.Image)(resources.GetObject("OpenFile.MoveImage")));
|
|
|
+ this.OpenFile.Name = "OpenFile";
|
|
|
+ this.OpenFile.NormalImage = ((System.Drawing.Image)(resources.GetObject("OpenFile.NormalImage")));
|
|
|
+ this.OpenFile.Power = null;
|
|
|
+ this.OpenFile.Size = new System.Drawing.Size(75, 28);
|
|
|
+ this.OpenFile.TabIndex = 201;
|
|
|
+ this.OpenFile.Text = "打开文件";
|
|
|
+ this.OpenFile.UseVisualStyleBackColor = false;
|
|
|
+ this.OpenFile.Click += new System.EventHandler(this.OpenFile_Click);
|
|
|
//
|
|
|
// FileList
|
|
|
//
|
|
@@ -122,14 +91,13 @@
|
|
|
this.FileList.FormattingEnabled = true;
|
|
|
this.FileList.Items.AddRange(new object[] {
|
|
|
"1.mp4",
|
|
|
- "2.pdf",
|
|
|
+ "C:\\Users\\callm\\Desktop\\工作文档\\考勤机数据对接\\1.pdf",
|
|
|
"3.jpg",
|
|
|
"4.jpeg"});
|
|
|
- this.FileList.Location = new System.Drawing.Point(325, 9);
|
|
|
+ this.FileList.Location = new System.Drawing.Point(325, 18);
|
|
|
this.FileList.Name = "FileList";
|
|
|
this.FileList.Size = new System.Drawing.Size(192, 20);
|
|
|
this.FileList.TabIndex = 199;
|
|
|
- this.FileList.SelectedIndexChanged += new System.EventHandler(this.FileList_SelectedIndexChanged);
|
|
|
//
|
|
|
// SnCode
|
|
|
//
|
|
@@ -137,7 +105,7 @@
|
|
|
this.SnCode.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
this.SnCode.BackColor = System.Drawing.Color.White;
|
|
|
this.SnCode.ID = null;
|
|
|
- this.SnCode.Location = new System.Drawing.Point(54, 9);
|
|
|
+ this.SnCode.Location = new System.Drawing.Point(54, 18);
|
|
|
this.SnCode.Name = "SnCode";
|
|
|
this.SnCode.Power = null;
|
|
|
this.SnCode.Size = new System.Drawing.Size(176, 21);
|
|
@@ -152,35 +120,28 @@
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(1012, 624);
|
|
|
- this.Controls.Add(this.PicBox);
|
|
|
- this.Controls.Add(this.PageView);
|
|
|
+ this.Controls.Add(this.OpenFile);
|
|
|
this.Controls.Add(this.FileList_label);
|
|
|
this.Controls.Add(this.FileList);
|
|
|
this.Controls.Add(this.sn_label);
|
|
|
this.Controls.Add(this.SnCode);
|
|
|
- this.Controls.Add(this.MediaPlayer);
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
|
this.Name = "Query_OperationInstruction";
|
|
|
this.Tag = "Query!OperationInstruction";
|
|
|
this.Text = "作业指导书";
|
|
|
this.Load += new System.EventHandler(this.Query_OperationInstruction_Load);
|
|
|
this.SizeChanged += new System.EventHandler(this.Query_OperationInstruction_SizeChanged);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.MediaPlayer)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PicBox)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
-
|
|
|
- private AxWMPLib.AxWindowsMediaPlayer MediaPlayer;
|
|
|
private CustomControl.TextBoxWithIcon.SnCollectionBox SnCode;
|
|
|
private System.Windows.Forms.Label sn_label;
|
|
|
private CustomControl.ComBoxWithFocus.ComBoxWithFocus FileList;
|
|
|
private System.Windows.Forms.Label FileList_label;
|
|
|
- private O2S.Components.PDFView4NET.PDFPageView PageView;
|
|
|
private O2S.Components.PDFView4NET.PDFDocument PDFDocument;
|
|
|
- private System.Windows.Forms.PictureBox PicBox;
|
|
|
+ private CustomControl.ButtonUtil.NormalButton OpenFile;
|
|
|
}
|
|
|
}
|