/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     VideoPlayControl.VideoPlaySetting videoPlaySetting1 = new VideoPlayControl.VideoPlaySetting();
     this.videoPlayWindow_PTZ1 = new VideoPlayControl.Controls.VideoPlayWindow_PTZ();
     this.SuspendLayout();
     //
     // videoPlayWindow_PTZ1
     //
     this.videoPlayWindow_PTZ1.BackColor         = System.Drawing.SystemColors.Control;
     this.videoPlayWindow_PTZ1.CurrentCameraInfo = null;
     this.videoPlayWindow_PTZ1.CurrentVideoInfo  = null;
     videoPlaySetting1.AnsyPlay                      = false;
     videoPlaySetting1.AutoReconn                    = true;
     videoPlaySetting1.ConnType                      = VideoPlayControl.Enum.Enum_VideoConnType.Auto;
     videoPlaySetting1.FirstInForcePreSetPosi        = false;
     videoPlaySetting1.PerVideoRecord                = false;
     videoPlaySetting1.PlayStream                    = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     videoPlaySetting1.PreSetPosi                    = -1;
     videoPlaySetting1.PreVideoRecordFilePath        = "";
     videoPlaySetting1.PTZSpeed                      = 100;
     videoPlaySetting1.TimeOutVideoCloseSecond       = 180;
     videoPlaySetting1.TimeOutVideoRecordCloseSecond = 180;
     videoPlaySetting1.VideoMonitorEnable            = false;
     videoPlaySetting1.VideoPlayTimeLimit            = 0;
     videoPlaySetting1.VideoRecordEnable             = false;
     videoPlaySetting1.VideoRecordFileName           = "";
     videoPlaySetting1.VideoRecordFileName_Server    = "";
     videoPlaySetting1.VideoRecordFilePath           = "";
     videoPlaySetting1.VideoRecordFilePath_Server    = "";
     videoPlaySetting1.VideoTalkEnable               = false;
     this.videoPlayWindow_PTZ1.CurrentVideoPlaySet   = videoPlaySetting1;
     this.videoPlayWindow_PTZ1.Location              = new System.Drawing.Point(97, 90);
     this.videoPlayWindow_PTZ1.Name                  = "videoPlayWindow_PTZ1";
     this.videoPlayWindow_PTZ1.Size                  = new System.Drawing.Size(240, 180);
     this.videoPlayWindow_PTZ1.TabIndex              = 0;
     this.videoPlayWindow_PTZ1.VideoPlayState        = VideoPlayControl.Enum_VideoPlayState.VideoInfoNull;
     this.videoPlayWindow_PTZ1.VideoplayWindowHeight = 0;
     this.videoPlayWindow_PTZ1.VideoplayWindowWidth  = 0;
     this.videoPlayWindow_PTZ1.VideoStream           = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     //
     // Frm_VideoPlayWindowPTZ_Test
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(800, 450);
     this.Controls.Add(this.videoPlayWindow_PTZ1);
     this.Name  = "Frm_VideoPlayWindowPTZ_Test";
     this.Text  = "Frm_VideoPlayWindowPTZ_Test";
     this.Load += new System.EventHandler(this.Frm_VideoPlayWindowPTZ_Test_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     VideoPlayControl.VideoPlaySetting videoPlaySetting1 = new VideoPlayControl.VideoPlaySetting();
     this.videoPlayWindow          = new VideoPlayControl.VideoPlayWindow();
     this.cmsVideoWindow           = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.tsmi_CloundSeeSetWindows = new System.Windows.Forms.ToolStripMenuItem();
     this.pnlMain              = new System.Windows.Forms.Panel();
     this.ssPrompt             = new System.Windows.Forms.StatusStrip();
     this.tslblPrompt          = new System.Windows.Forms.ToolStripStatusLabel();
     this.videoChannelList     = new VideoPlayControl.VideoChannelList();
     this.videoPTZControl      = new VideoPlayControl.VideoPTZControl();
     this.pnlRight             = new System.Windows.Forms.Panel();
     this.pnlRight_Main        = new System.Windows.Forms.Panel();
     this.pblRight_Bottom      = new System.Windows.Forms.Panel();
     this.pblRight_Bottom_Main = new System.Windows.Forms.Panel();
     this.pblRight_Bottom_Top  = new System.Windows.Forms.Panel();
     this.cmbPreset            = new System.Windows.Forms.ComboBox();
     this.label1       = new System.Windows.Forms.Label();
     this.pnlRight_Top = new System.Windows.Forms.Panel();
     this.cmbVideoList = new System.Windows.Forms.ComboBox();
     this.splitter1    = new System.Windows.Forms.Splitter();
     this.cmsVideoWindow.SuspendLayout();
     this.pnlMain.SuspendLayout();
     this.ssPrompt.SuspendLayout();
     this.pnlRight.SuspendLayout();
     this.pnlRight_Main.SuspendLayout();
     this.pblRight_Bottom.SuspendLayout();
     this.pblRight_Bottom_Main.SuspendLayout();
     this.pblRight_Bottom_Top.SuspendLayout();
     this.pnlRight_Top.SuspendLayout();
     this.SuspendLayout();
     //
     // videoPlayWindow
     //
     this.videoPlayWindow.BackColor                  = System.Drawing.SystemColors.Control;
     this.videoPlayWindow.ContextMenuStrip           = this.cmsVideoWindow;
     this.videoPlayWindow.CurrentCameraInfo          = null;
     this.videoPlayWindow.CurrentVideoInfo           = null;
     videoPlaySetting1.AnsyPlay                      = false;
     videoPlaySetting1.AutoReconn                    = true;
     videoPlaySetting1.ConnType                      = VideoPlayControl.Enum.Enum_VideoConnType.Auto;
     videoPlaySetting1.FirstInForcePreSetPosi        = false;
     videoPlaySetting1.PerVideoRecord                = false;
     videoPlaySetting1.PlayStream                    = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     videoPlaySetting1.PreSetPosi                    = -1;
     videoPlaySetting1.PreVideoRecordFilePath        = "";
     videoPlaySetting1.PTZSpeed                      = 4;
     videoPlaySetting1.TimeOutVideoCloseSecond       = 180;
     videoPlaySetting1.TimeOutVideoRecordCloseSecond = 180;
     videoPlaySetting1.VideoMonitorEnable            = false;
     videoPlaySetting1.VideoPlayTimeLimit            = 0;
     videoPlaySetting1.VideoRecordEnable             = false;
     videoPlaySetting1.VideoRecordFileName           = "";
     videoPlaySetting1.VideoRecordFileName_Server    = "";
     videoPlaySetting1.VideoRecordFilePath           = "";
     videoPlaySetting1.VideoRecordFilePath_Server    = "";
     this.videoPlayWindow.CurrentVideoPlaySet        = videoPlaySetting1;
     this.videoPlayWindow.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.videoPlayWindow.Location              = new System.Drawing.Point(3, 0);
     this.videoPlayWindow.Name                  = "videoPlayWindow";
     this.videoPlayWindow.Size                  = new System.Drawing.Size(398, 276);
     this.videoPlayWindow.TabIndex              = 1;
     this.videoPlayWindow.VideoPlayState        = VideoPlayControl.Enum_VideoPlayState.VideoInfoNull;
     this.videoPlayWindow.VideoplayWindowHeight = 0;
     this.videoPlayWindow.VideoplayWindowWidth  = 0;
     this.videoPlayWindow.VideoStream           = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     //
     // cmsVideoWindow
     //
     this.cmsVideoWindow.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsmi_CloundSeeSetWindows
     });
     this.cmsVideoWindow.Name = "cmsVideoWindow";
     this.cmsVideoWindow.Size = new System.Drawing.Size(125, 26);
     //
     // tsmi_CloundSeeSetWindows
     //
     this.tsmi_CloundSeeSetWindows.Name   = "tsmi_CloundSeeSetWindows";
     this.tsmi_CloundSeeSetWindows.Size   = new System.Drawing.Size(124, 22);
     this.tsmi_CloundSeeSetWindows.Text   = "远程设置";
     this.tsmi_CloundSeeSetWindows.Click += new System.EventHandler(this.tsmi_CloundSeeSetWindows_Click);
     //
     // pnlMain
     //
     this.pnlMain.Controls.Add(this.videoPlayWindow);
     this.pnlMain.Controls.Add(this.ssPrompt);
     this.pnlMain.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlMain.Location = new System.Drawing.Point(0, 0);
     this.pnlMain.Name     = "pnlMain";
     this.pnlMain.Padding  = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.pnlMain.Size     = new System.Drawing.Size(401, 298);
     this.pnlMain.TabIndex = 3;
     //
     // ssPrompt
     //
     this.ssPrompt.AutoSize = false;
     this.ssPrompt.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tslblPrompt
     });
     this.ssPrompt.Location   = new System.Drawing.Point(3, 276);
     this.ssPrompt.Name       = "ssPrompt";
     this.ssPrompt.Size       = new System.Drawing.Size(398, 22);
     this.ssPrompt.SizingGrip = false;
     this.ssPrompt.TabIndex   = 4;
     //
     // tslblPrompt
     //
     this.tslblPrompt.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.tslblPrompt.Name         = "tslblPrompt";
     this.tslblPrompt.Size         = new System.Drawing.Size(32, 17);
     this.tslblPrompt.Text         = "提示";
     //
     // videoChannelList
     //
     this.videoChannelList.AutoSetChannelButtonSize      = false;
     this.videoChannelList.CameraDisableVisable          = true;
     this.videoChannelList.ChannelButtonColumn           = 2;
     this.videoChannelList.ChannelButtonHeight           = 30;
     this.videoChannelList.ChannelButtonWidth            = 60;
     this.videoChannelList.ClrBackColor                  = System.Drawing.SystemColors.ControlDark;
     this.videoChannelList.ClrChannelButtonDefaultColor  = System.Drawing.SystemColors.Control;
     this.videoChannelList.ClrChannelButtonSelectedColor = System.Drawing.Color.Red;
     this.videoChannelList.DisplayChanneName             = true;
     this.videoChannelList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.videoChannelList.Location = new System.Drawing.Point(0, 0);
     this.videoChannelList.Name     = "videoChannelList";
     this.videoChannelList.Size     = new System.Drawing.Size(96, 157);
     this.videoChannelList.TabIndex = 0;
     //
     // videoPTZControl
     //
     this.videoPTZControl.BackColor = System.Drawing.Color.Transparent;
     this.videoPTZControl.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.videoPTZControl.Location  = new System.Drawing.Point(0, 0);
     this.videoPTZControl.Name      = "videoPTZControl";
     this.videoPTZControl.Size      = new System.Drawing.Size(96, 94);
     this.videoPTZControl.TabIndex  = 2;
     //
     // pnlRight
     //
     this.pnlRight.Controls.Add(this.pnlRight_Main);
     this.pnlRight.Controls.Add(this.pblRight_Bottom);
     this.pnlRight.Controls.Add(this.pnlRight_Top);
     this.pnlRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this.pnlRight.Location = new System.Drawing.Point(404, 0);
     this.pnlRight.Name     = "pnlRight";
     this.pnlRight.Size     = new System.Drawing.Size(96, 298);
     this.pnlRight.TabIndex = 4;
     //
     // pnlRight_Main
     //
     this.pnlRight_Main.Controls.Add(this.videoChannelList);
     this.pnlRight_Main.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlRight_Main.Location = new System.Drawing.Point(0, 24);
     this.pnlRight_Main.Name     = "pnlRight_Main";
     this.pnlRight_Main.Size     = new System.Drawing.Size(96, 157);
     this.pnlRight_Main.TabIndex = 5;
     //
     // pblRight_Bottom
     //
     this.pblRight_Bottom.Controls.Add(this.pblRight_Bottom_Main);
     this.pblRight_Bottom.Controls.Add(this.pblRight_Bottom_Top);
     this.pblRight_Bottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.pblRight_Bottom.Location = new System.Drawing.Point(0, 181);
     this.pblRight_Bottom.Name     = "pblRight_Bottom";
     this.pblRight_Bottom.Size     = new System.Drawing.Size(96, 117);
     this.pblRight_Bottom.TabIndex = 6;
     //
     // pblRight_Bottom_Main
     //
     this.pblRight_Bottom_Main.Controls.Add(this.videoPTZControl);
     this.pblRight_Bottom_Main.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pblRight_Bottom_Main.Location = new System.Drawing.Point(0, 23);
     this.pblRight_Bottom_Main.Name     = "pblRight_Bottom_Main";
     this.pblRight_Bottom_Main.Size     = new System.Drawing.Size(96, 94);
     this.pblRight_Bottom_Main.TabIndex = 7;
     //
     // pblRight_Bottom_Top
     //
     this.pblRight_Bottom_Top.Controls.Add(this.cmbPreset);
     this.pblRight_Bottom_Top.Controls.Add(this.label1);
     this.pblRight_Bottom_Top.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pblRight_Bottom_Top.Location = new System.Drawing.Point(0, 0);
     this.pblRight_Bottom_Top.Name     = "pblRight_Bottom_Top";
     this.pblRight_Bottom_Top.Size     = new System.Drawing.Size(96, 23);
     this.pblRight_Bottom_Top.TabIndex = 7;
     //
     // cmbPreset
     //
     this.cmbPreset.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.cmbPreset.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbPreset.FormattingEnabled     = true;
     this.cmbPreset.Location              = new System.Drawing.Point(41, 0);
     this.cmbPreset.Name                  = "cmbPreset";
     this.cmbPreset.Size                  = new System.Drawing.Size(55, 20);
     this.cmbPreset.TabIndex              = 3;
     this.cmbPreset.SelectedIndexChanged += new System.EventHandler(this.cmbPreset_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Dock      = System.Windows.Forms.DockStyle.Left;
     this.label1.Location  = new System.Drawing.Point(0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(41, 23);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "预置点";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pnlRight_Top
     //
     this.pnlRight_Top.Controls.Add(this.cmbVideoList);
     this.pnlRight_Top.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlRight_Top.Location = new System.Drawing.Point(0, 0);
     this.pnlRight_Top.Name     = "pnlRight_Top";
     this.pnlRight_Top.Padding  = new System.Windows.Forms.Padding(3);
     this.pnlRight_Top.Size     = new System.Drawing.Size(96, 24);
     this.pnlRight_Top.TabIndex = 5;
     //
     // cmbVideoList
     //
     this.cmbVideoList.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.cmbVideoList.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbVideoList.FormattingEnabled = true;
     this.cmbVideoList.Location          = new System.Drawing.Point(3, 3);
     this.cmbVideoList.Name              = "cmbVideoList";
     this.cmbVideoList.Size              = new System.Drawing.Size(90, 20);
     this.cmbVideoList.TabIndex          = 3;
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(401, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 298);
     this.splitter1.TabIndex = 5;
     this.splitter1.TabStop  = false;
     //
     // VideoPlayGroupControls_Basic
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.pnlMain);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.pnlRight);
     this.Name  = "VideoPlayGroupControls_Basic";
     this.Size  = new System.Drawing.Size(500, 298);
     this.Load += new System.EventHandler(this.VideoPlayGroupControls_Basic_Load);
     this.cmsVideoWindow.ResumeLayout(false);
     this.pnlMain.ResumeLayout(false);
     this.ssPrompt.ResumeLayout(false);
     this.ssPrompt.PerformLayout();
     this.pnlRight.ResumeLayout(false);
     this.pnlRight_Main.ResumeLayout(false);
     this.pblRight_Bottom.ResumeLayout(false);
     this.pblRight_Bottom_Main.ResumeLayout(false);
     this.pblRight_Bottom_Top.ResumeLayout(false);
     this.pnlRight_Top.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     VideoPlayControl.VideoPlaySetting videoPlaySetting1      = new VideoPlayControl.VideoPlaySetting();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_VideoPlayWindowPTZ_Test));
     this.videoPlayWindow_PTZ1 = new VideoPlayControl.Controls.VideoPlayWindow_PTZ();
     this.pictureBox1          = new System.Windows.Forms.PictureBox();
     this.picRight             = new System.Windows.Forms.PictureBox();
     this.picRightDown         = new System.Windows.Forms.PictureBox();
     this.picDown     = new System.Windows.Forms.PictureBox();
     this.picLeftDown = new System.Windows.Forms.PictureBox();
     this.picLeft     = new System.Windows.Forms.PictureBox();
     this.picRightUp  = new System.Windows.Forms.PictureBox();
     this.picUp       = new System.Windows.Forms.PictureBox();
     this.picLeftUp   = new System.Windows.Forms.PictureBox();
     this.picCradle   = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picRight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picRightDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picLeftDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picLeft)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picRightUp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picUp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picLeftUp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picCradle)).BeginInit();
     this.SuspendLayout();
     //
     // videoPlayWindow_PTZ1
     //
     this.videoPlayWindow_PTZ1.BackColor         = System.Drawing.SystemColors.Control;
     this.videoPlayWindow_PTZ1.CurrentCameraInfo = null;
     this.videoPlayWindow_PTZ1.CurrentVideoInfo  = null;
     videoPlaySetting1.AnsyPlay                      = false;
     videoPlaySetting1.AutoReconn                    = true;
     videoPlaySetting1.ConnType                      = VideoPlayControl.Enum.Enum_VideoConnType.Auto;
     videoPlaySetting1.FirstInForcePreSetPosi        = false;
     videoPlaySetting1.PerVideoRecord                = false;
     videoPlaySetting1.PlayStream                    = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     videoPlaySetting1.PreSetPosi                    = -1;
     videoPlaySetting1.PreVideoRecordFilePath        = "";
     videoPlaySetting1.PTZSpeed                      = 100;
     videoPlaySetting1.TimeOutVideoCloseSecond       = 180;
     videoPlaySetting1.TimeOutVideoRecordCloseSecond = 180;
     videoPlaySetting1.VideoMonitorEnable            = false;
     videoPlaySetting1.VideoPlayTimeLimit            = 0;
     videoPlaySetting1.VideoRecordEnable             = false;
     videoPlaySetting1.VideoRecordFileName           = "";
     videoPlaySetting1.VideoRecordFileName_Server    = "";
     videoPlaySetting1.VideoRecordFilePath           = "";
     videoPlaySetting1.VideoRecordFilePath_Server    = "";
     videoPlaySetting1.VideoTalkEnable               = false;
     this.videoPlayWindow_PTZ1.CurrentVideoPlaySet   = videoPlaySetting1;
     this.videoPlayWindow_PTZ1.Location              = new System.Drawing.Point(97, 90);
     this.videoPlayWindow_PTZ1.Name                  = "videoPlayWindow_PTZ1";
     this.videoPlayWindow_PTZ1.Size                  = new System.Drawing.Size(240, 180);
     this.videoPlayWindow_PTZ1.TabIndex              = 0;
     this.videoPlayWindow_PTZ1.VideoPlayState        = VideoPlayControl.Enum_VideoPlayState.VideoInfoNull;
     this.videoPlayWindow_PTZ1.VideoplayWindowHeight = 0;
     this.videoPlayWindow_PTZ1.VideoplayWindowWidth  = 0;
     this.videoPlayWindow_PTZ1.VideoStream           = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(466, 194);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(85, 85);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 1;
     this.pictureBox1.TabStop  = false;
     this.pictureBox1.Tag      = "right";
     //
     // picRight
     //
     this.picRight.Image    = ((System.Drawing.Image)(resources.GetObject("picRight.Image")));
     this.picRight.Location = new System.Drawing.Point(527, 231);
     this.picRight.Name     = "picRight";
     this.picRight.Size     = new System.Drawing.Size(12, 12);
     this.picRight.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picRight.TabIndex = 32;
     this.picRight.TabStop  = false;
     this.picRight.Tag      = "right";
     //
     // picRightDown
     //
     this.picRightDown.Image    = ((System.Drawing.Image)(resources.GetObject("picRightDown.Image")));
     this.picRightDown.Location = new System.Drawing.Point(519, 249);
     this.picRightDown.Name     = "picRightDown";
     this.picRightDown.Size     = new System.Drawing.Size(12, 12);
     this.picRightDown.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picRightDown.TabIndex = 35;
     this.picRightDown.TabStop  = false;
     this.picRightDown.Tag      = "rightdown";
     //
     // picDown
     //
     this.picDown.Image    = ((System.Drawing.Image)(resources.GetObject("picDown.Image")));
     this.picDown.Location = new System.Drawing.Point(502, 258);
     this.picDown.Name     = "picDown";
     this.picDown.Size     = new System.Drawing.Size(12, 12);
     this.picDown.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picDown.TabIndex = 34;
     this.picDown.TabStop  = false;
     this.picDown.Tag      = "down";
     //
     // picLeftDown
     //
     this.picLeftDown.Image    = ((System.Drawing.Image)(resources.GetObject("picLeftDown.Image")));
     this.picLeftDown.Location = new System.Drawing.Point(485, 249);
     this.picLeftDown.Name     = "picLeftDown";
     this.picLeftDown.Size     = new System.Drawing.Size(12, 12);
     this.picLeftDown.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picLeftDown.TabIndex = 33;
     this.picLeftDown.TabStop  = false;
     this.picLeftDown.Tag      = "leftdown";
     //
     // picLeft
     //
     this.picLeft.Image    = ((System.Drawing.Image)(resources.GetObject("picLeft.Image")));
     this.picLeft.Location = new System.Drawing.Point(479, 232);
     this.picLeft.Name     = "picLeft";
     this.picLeft.Size     = new System.Drawing.Size(12, 12);
     this.picLeft.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picLeft.TabIndex = 31;
     this.picLeft.TabStop  = false;
     this.picLeft.Tag      = "left";
     //
     // picRightUp
     //
     this.picRightUp.Image    = ((System.Drawing.Image)(resources.GetObject("picRightUp.Image")));
     this.picRightUp.Location = new System.Drawing.Point(520, 215);
     this.picRightUp.Name     = "picRightUp";
     this.picRightUp.Size     = new System.Drawing.Size(12, 12);
     this.picRightUp.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picRightUp.TabIndex = 30;
     this.picRightUp.TabStop  = false;
     this.picRightUp.Tag      = "rightup";
     //
     // picUp
     //
     this.picUp.Image        = ((System.Drawing.Image)(resources.GetObject("picUp.Image")));
     this.picUp.InitialImage = null;
     this.picUp.Location     = new System.Drawing.Point(503, 207);
     this.picUp.Name         = "picUp";
     this.picUp.Size         = new System.Drawing.Size(12, 12);
     this.picUp.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picUp.TabIndex     = 29;
     this.picUp.TabStop      = false;
     this.picUp.Tag          = "up";
     //
     // picLeftUp
     //
     this.picLeftUp.Image    = ((System.Drawing.Image)(resources.GetObject("picLeftUp.Image")));
     this.picLeftUp.Location = new System.Drawing.Point(485, 213);
     this.picLeftUp.Name     = "picLeftUp";
     this.picLeftUp.Size     = new System.Drawing.Size(12, 12);
     this.picLeftUp.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picLeftUp.TabIndex = 28;
     this.picLeftUp.TabStop  = false;
     this.picLeftUp.Tag      = "leftup";
     //
     // picCradle
     //
     this.picCradle.Image    = ((System.Drawing.Image)(resources.GetObject("picCradle.Image")));
     this.picCradle.Location = new System.Drawing.Point(570, 289);
     this.picCradle.Name     = "picCradle";
     this.picCradle.Size     = new System.Drawing.Size(16, 16);
     this.picCradle.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.picCradle.TabIndex = 99;
     this.picCradle.TabStop  = false;
     //
     // Frm_VideoPlayWindowPTZ_Test
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(800, 450);
     this.Controls.Add(this.picCradle);
     this.Controls.Add(this.picRight);
     this.Controls.Add(this.picRightDown);
     this.Controls.Add(this.picDown);
     this.Controls.Add(this.picLeftDown);
     this.Controls.Add(this.picLeft);
     this.Controls.Add(this.picRightUp);
     this.Controls.Add(this.picUp);
     this.Controls.Add(this.picLeftUp);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.videoPlayWindow_PTZ1);
     this.Name  = "Frm_VideoPlayWindowPTZ_Test";
     this.Text  = "Frm_VideoPlayWindowPTZ_Test";
     this.Load += new System.EventHandler(this.Frm_VideoPlayWindowPTZ_Test_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picRight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picRightDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picLeftDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picLeft)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picRightUp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picUp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picLeftUp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picCradle)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     VideoPlayControl.VideoPlaySetting videoPlaySetting1 = new VideoPlayControl.VideoPlaySetting();
     this.videoPlayWindow1 = new VideoPlayControl.VideoPlayWindow();
     this.label1           = new System.Windows.Forms.Label();
     this.txtIP            = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.txtPort          = new System.Windows.Forms.TextBox();
     this.label3           = new System.Windows.Forms.Label();
     this.txtUserName      = new System.Windows.Forms.TextBox();
     this.label4           = new System.Windows.Forms.Label();
     this.txtPassword      = new System.Windows.Forms.TextBox();
     this.btnVideoPlay     = new System.Windows.Forms.Button();
     this.label5           = new System.Windows.Forms.Label();
     this.txtChannel       = new System.Windows.Forms.TextBox();
     this.label6           = new System.Windows.Forms.Label();
     this.txtChannlNum     = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // videoPlayWindow1
     //
     this.videoPlayWindow1.BackColor         = System.Drawing.SystemColors.Control;
     this.videoPlayWindow1.CurrentCameraInfo = null;
     this.videoPlayWindow1.CurrentVideoInfo  = null;
     videoPlaySetting1.AnsyPlay                      = false;
     videoPlaySetting1.AutoReconn                    = true;
     videoPlaySetting1.ConnType                      = VideoPlayControl.Enum.Enum_VideoConnType.Auto;
     videoPlaySetting1.FirstInForcePreSetPosi        = false;
     videoPlaySetting1.PerVideoRecord                = false;
     videoPlaySetting1.PlayStream                    = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     videoPlaySetting1.PreSetPosi                    = -1;
     videoPlaySetting1.PreVideoRecordFilePath        = "";
     videoPlaySetting1.PTZSpeed                      = 100;
     videoPlaySetting1.TimeOutVideoCloseSecond       = 180;
     videoPlaySetting1.TimeOutVideoRecordCloseSecond = 180;
     videoPlaySetting1.VideoMonitorEnable            = false;
     videoPlaySetting1.VideoPlayTimeLimit            = 0;
     videoPlaySetting1.VideoRecordEnable             = false;
     videoPlaySetting1.VideoRecordFileName           = "";
     videoPlaySetting1.VideoRecordFileName_Server    = "";
     videoPlaySetting1.VideoRecordFilePath           = "";
     videoPlaySetting1.VideoRecordFilePath_Server    = "";
     this.videoPlayWindow1.CurrentVideoPlaySet       = videoPlaySetting1;
     this.videoPlayWindow1.Location                  = new System.Drawing.Point(12, 12);
     this.videoPlayWindow1.Name                      = "videoPlayWindow1";
     this.videoPlayWindow1.Size                      = new System.Drawing.Size(511, 259);
     this.videoPlayWindow1.TabIndex                  = 0;
     this.videoPlayWindow1.VideoPlayState            = VideoPlayControl.Enum_VideoPlayState.VideoInfoNull;
     this.videoPlayWindow1.VideoplayWindowHeight     = 0;
     this.videoPlayWindow1.VideoplayWindowWidth      = 0;
     this.videoPlayWindow1.VideoStream               = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 290);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(17, 12);
     this.label1.TabIndex = 1;
     this.label1.Text     = "IP";
     //
     // txtIP
     //
     this.txtIP.Location = new System.Drawing.Point(57, 287);
     this.txtIP.Name     = "txtIP";
     this.txtIP.Size     = new System.Drawing.Size(100, 21);
     this.txtIP.TabIndex = 2;
     this.txtIP.Text     = "192.168.2.186";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(163, 290);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(29, 12);
     this.label2.TabIndex = 1;
     this.label2.Text     = "端口";
     //
     // txtPort
     //
     this.txtPort.Location = new System.Drawing.Point(198, 287);
     this.txtPort.Name     = "txtPort";
     this.txtPort.Size     = new System.Drawing.Size(100, 21);
     this.txtPort.TabIndex = 2;
     this.txtPort.Text     = "8000";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(12, 322);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(41, 12);
     this.label3.TabIndex = 1;
     this.label3.Text     = "用户名";
     //
     // txtUserName
     //
     this.txtUserName.Location = new System.Drawing.Point(57, 319);
     this.txtUserName.Name     = "txtUserName";
     this.txtUserName.Size     = new System.Drawing.Size(100, 21);
     this.txtUserName.TabIndex = 2;
     this.txtUserName.Text     = "admin";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(163, 322);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(29, 12);
     this.label4.TabIndex = 1;
     this.label4.Text     = "密码";
     //
     // txtPassword
     //
     this.txtPassword.Location = new System.Drawing.Point(198, 319);
     this.txtPassword.Name     = "txtPassword";
     this.txtPassword.Size     = new System.Drawing.Size(100, 21);
     this.txtPassword.TabIndex = 2;
     this.txtPassword.Text     = "sk123456";
     //
     // btnVideoPlay
     //
     this.btnVideoPlay.Location = new System.Drawing.Point(12, 396);
     this.btnVideoPlay.Name     = "btnVideoPlay";
     this.btnVideoPlay.Size     = new System.Drawing.Size(75, 23);
     this.btnVideoPlay.TabIndex = 3;
     this.btnVideoPlay.Text     = "播放";
     this.btnVideoPlay.UseVisualStyleBackColor = true;
     this.btnVideoPlay.Click += new System.EventHandler(this.BtnVideoPlay_Click);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(12, 357);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(53, 12);
     this.label5.TabIndex = 1;
     this.label5.Text     = "播放通道";
     //
     // txtChannel
     //
     this.txtChannel.Location = new System.Drawing.Point(71, 354);
     this.txtChannel.Name     = "txtChannel";
     this.txtChannel.Size     = new System.Drawing.Size(100, 21);
     this.txtChannel.TabIndex = 2;
     this.txtChannel.Text     = "1";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(316, 322);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(65, 12);
     this.label6.TabIndex = 1;
     this.label6.Text     = "设备通道数";
     //
     // txtChannlNum
     //
     this.txtChannlNum.Location = new System.Drawing.Point(387, 319);
     this.txtChannlNum.Name     = "txtChannlNum";
     this.txtChannlNum.Size     = new System.Drawing.Size(100, 21);
     this.txtChannlNum.TabIndex = 2;
     this.txtChannlNum.Text     = "64";
     //
     // Frm_VideoPlay_Hik
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(606, 465);
     this.Controls.Add(this.btnVideoPlay);
     this.Controls.Add(this.txtPassword);
     this.Controls.Add(this.txtChannlNum);
     this.Controls.Add(this.txtChannel);
     this.Controls.Add(this.txtUserName);
     this.Controls.Add(this.txtPort);
     this.Controls.Add(this.txtIP);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.videoPlayWindow1);
     this.Name  = "Frm_VideoPlay_Hik";
     this.Text  = "Frm_VideoPlay_Hik";
     this.Load += new System.EventHandler(this.Frm_VideoPlay_Hik_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     VideoPlayControl.VideoPlaySetting videoPlaySetting2 = new VideoPlayControl.VideoPlaySetting();
     this.videoPlayWindow1 = new VideoPlayControl.VideoPlayWindow();
     this.button1          = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // videoPlayWindow1
     //
     this.videoPlayWindow1.BackColor         = System.Drawing.SystemColors.Control;
     this.videoPlayWindow1.CurrentCameraInfo = null;
     this.videoPlayWindow1.CurrentVideoInfo  = null;
     videoPlaySetting2.AnsyPlay                      = false;
     videoPlaySetting2.AutoReconn                    = true;
     videoPlaySetting2.ConnType                      = VideoPlayControl.Enum.Enum_VideoConnType.Auto;
     videoPlaySetting2.FirstInForcePreSetPosi        = false;
     videoPlaySetting2.PerVideoRecord                = false;
     videoPlaySetting2.PlayStream                    = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     videoPlaySetting2.PreSetPosi                    = -1;
     videoPlaySetting2.PreVideoRecordFilePath        = "";
     videoPlaySetting2.PTZSpeed                      = 100;
     videoPlaySetting2.TimeOutVideoCloseSecond       = 180;
     videoPlaySetting2.TimeOutVideoRecordCloseSecond = 180;
     videoPlaySetting2.VideoMonitorEnable            = false;
     videoPlaySetting2.VideoPlayTimeLimit            = 0;
     videoPlaySetting2.VideoRecordEnable             = false;
     videoPlaySetting2.VideoRecordFileName           = "";
     videoPlaySetting2.VideoRecordFileName_Server    = "";
     videoPlaySetting2.VideoRecordFilePath           = "";
     videoPlaySetting2.VideoRecordFilePath_Server    = "";
     this.videoPlayWindow1.CurrentVideoPlaySet       = videoPlaySetting2;
     this.videoPlayWindow1.Location                  = new System.Drawing.Point(23, 27);
     this.videoPlayWindow1.Name                      = "videoPlayWindow1";
     this.videoPlayWindow1.Size                      = new System.Drawing.Size(511, 259);
     this.videoPlayWindow1.TabIndex                  = 1;
     this.videoPlayWindow1.VideoPlayState            = VideoPlayControl.Enum_VideoPlayState.VideoInfoNull;
     this.videoPlayWindow1.VideoplayWindowHeight     = 0;
     this.videoPlayWindow1.VideoplayWindowWidth      = 0;
     this.videoPlayWindow1.VideoStream               = VideoPlayControl.Enum.Enum_VideoStream.SubStream;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(59, 337);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 2;
     this.button1.Text     = " 播放";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.Button1_Click);
     //
     // Frm_VideoPlay_HikStream
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(800, 450);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.videoPlayWindow1);
     this.Name  = "Frm_VideoPlay_HikStream";
     this.Text  = "Frm_VideoPlay_HikStream";
     this.Load += new System.EventHandler(this.Frm_VideoPlay_HikStream_Load);
     this.ResumeLayout(false);
 }