private void InitializeComponent()
 {
     this.treeView = new ExtTreeView();
     base.SuspendLayout();
     this.treeView.Dock = DockStyle.Fill;
     this.treeView.ImageIndex = -1;
     this.treeView.Location = new Point(0, 0);
     this.treeView.Name = "treeView";
     this.treeView.SelectedImageIndex = -1;
     this.treeView.Size = new Size(0x124, 0x10a);
     this.treeView.TabIndex = 0;
     base.Controls.Add(this.treeView);
     base.Name = "ProjectBrowserControl";
     base.Size = new Size(0x124, 0x10a);
     base.ResumeLayout(false);
 }
Esempio n. 2
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(YLiveShow));
     ExtTreeViewComparer comparer = new ExtTreeViewComparer();
     this.pictureBox1 = new PictureBox();
     this.toolStrip1 = new ToolStrip();
     this.tsBtnCapturePic = new ToolStripButton();
     this.tsBtnCaptureVideo = new ToolStripButton();
     this.tsBtnDel = new ToolStripButton();
     this.trackBar2 = new TrackBar();
     this.trackBar1 = new TrackBar();
     this.comboBox1 = new ComboBox();
     this.label4 = new Label();
     this.label3 = new Label();
     this.label2 = new Label();
     this.label1 = new Label();
     this.pictureBox2 = new PictureBox();
     this.comboBox2 = new ComboBox();
     this.label6 = new Label();
     this.label5 = new Label();
     this.comboBox3 = new ComboBox();
     this.tvImage = new ExtTreeView();
     ((ISupportInitialize) this.pictureBox1).BeginInit();
     this.toolStrip1.SuspendLayout();
     this.trackBar2.BeginInit();
     this.trackBar1.BeginInit();
     ((ISupportInitialize) this.pictureBox2).BeginInit();
     base.SuspendLayout();
     this.pictureBox1.BackColor = SystemColors.ControlText;
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location = new Point(4, 0x1d);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new Size(640, 480);
     this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.tsBtnCapturePic, this.tsBtnCaptureVideo, this.tsBtnDel });
     this.toolStrip1.Location = new Point(0, 0);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Size = new Size(840, 0x19);
     this.toolStrip1.TabIndex = 2;
     this.toolStrip1.Text = "toolStrip1";
     this.tsBtnCapturePic.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsBtnCapturePic.Image = (Image) manager.GetObject("tsBtnCapturePic.Image");
     this.tsBtnCapturePic.ImageTransparentColor = Color.Magenta;
     this.tsBtnCapturePic.Name = "tsBtnCapturePic";
     this.tsBtnCapturePic.Size = new Size(0x4b, 0x16);
     this.tsBtnCapturePic.Text = "    拍照   ";
     this.tsBtnCapturePic.ToolTipText = " ";
     this.tsBtnCapturePic.Click += new EventHandler(this.tsBtnCapturePic_Click);
     this.tsBtnCaptureVideo.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsBtnCaptureVideo.Image = (Image) manager.GetObject("tsBtnCaptureVideo.Image");
     this.tsBtnCaptureVideo.ImageTransparentColor = Color.Magenta;
     this.tsBtnCaptureVideo.Name = "tsBtnCaptureVideo";
     this.tsBtnCaptureVideo.Size = new Size(0x5d, 0x16);
     this.tsBtnCaptureVideo.Text = "   录制视频   ";
     this.tsBtnCaptureVideo.Click += new EventHandler(this.tsBtnCaptureVideo_Click);
     this.tsBtnDel.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.tsBtnDel.Image = (Image) manager.GetObject("tsBtnDel.Image");
     this.tsBtnDel.ImageTransparentColor = Color.Magenta;
     this.tsBtnDel.Name = "tsBtnDel";
     this.tsBtnDel.Size = new Size(0x45, 0x16);
     this.tsBtnDel.Text = "   删除   ";
     this.tsBtnDel.ToolTipText = "  ";
     this.tsBtnDel.Click += new EventHandler(this.tsBtnDel_Click);
     this.trackBar2.Location = new Point(0x1fc, 0x21b);
     this.trackBar2.Maximum = 0x3b;
     this.trackBar2.Minimum = 15;
     this.trackBar2.Name = "trackBar2";
     this.trackBar2.Size = new Size(0x68, 0x2a);
     this.trackBar2.TabIndex = 13;
     this.trackBar2.TickFrequency = 4;
     this.trackBar2.Value = 30;
     this.trackBar1.Location = new Point(0x133, 0x21b);
     this.trackBar1.Maximum = 100;
     this.trackBar1.Name = "trackBar1";
     this.trackBar1.Size = new Size(0x68, 0x2a);
     this.trackBar1.TabIndex = 14;
     this.trackBar1.TickFrequency = 10;
     this.trackBar1.Value = 80;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] { "320 X 240", "640 X 480" });
     this.comboBox1.Location = new Point(90, 0x221);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new Size(0x8e, 20);
     this.comboBox1.TabIndex = 12;
     this.comboBox1.Text = "320 X 240";
     this.label4.AutoSize = true;
     this.label4.Font = new Font("Tahoma", 11f);
     this.label4.Location = new Point(0x1c3, 0x221);
     this.label4.Name = "label4";
     this.label4.Size = new Size(0x41, 0x12);
     this.label4.TabIndex = 11;
     this.label4.Text = "Frame:";
     this.label4.TextAlign = ContentAlignment.MiddleCenter;
     this.label3.AutoSize = true;
     this.label3.Font = new Font("Tahoma", 11f);
     this.label3.Location = new Point(12, 0x204);
     this.label3.Name = "label3";
     this.label3.Size = new Size(0x53, 0x12);
     this.label3.TabIndex = 9;
     this.label3.Text = "设备设置:";
     this.label3.TextAlign = ContentAlignment.MiddleCenter;
     this.label2.AutoSize = true;
     this.label2.Font = new Font("Tahoma", 11f);
     this.label2.Location = new Point(0x1b, 0x221);
     this.label2.Name = "label2";
     this.label2.Size = new Size(0x44, 0x12);
     this.label2.TabIndex = 10;
     this.label2.Text = " 尺 寸 :";
     this.label2.TextAlign = ContentAlignment.MiddleCenter;
     this.label1.AutoSize = true;
     this.label1.Font = new Font("Tahoma", 9f);
     this.label1.Location = new Point(0x284, 0x202);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x43, 14);
     this.label1.TabIndex = 8;
     this.label1.Text = "拍照时间:";
     this.label1.TextAlign = ContentAlignment.MiddleCenter;
     this.pictureBox2.BackColor = SystemColors.ControlDarkDark;
     this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox2.Location = new Point(0x287, 0x167);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new Size(200, 150);
     this.pictureBox2.SizeMode = PictureBoxSizeMode.Zoom;
     this.pictureBox2.TabIndex = 15;
     this.pictureBox2.TabStop = false;
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Location = new Point(90, 0x204);
     this.comboBox2.Name = "comboBox2";
     this.comboBox2.Size = new Size(0x8e, 20);
     this.comboBox2.TabIndex = 12;
     this.comboBox2.Text = "选择....";
     this.comboBox2.SelectedIndexChanged += new EventHandler(this.comboBox2_SelectedIndexChanged);
     this.label6.AutoSize = true;
     this.label6.Font = new Font("Tahoma", 11f);
     this.label6.Location = new Point(0x107, 0x21f);
     this.label6.Name = "label6";
     this.label6.Size = new Size(0x3a, 0x12);
     this.label6.TabIndex = 10;
     this.label6.Text = "质量 :";
     this.label6.TextAlign = ContentAlignment.MiddleCenter;
     this.label5.AutoSize = true;
     this.label5.Font = new Font("Tahoma", 11f);
     this.label5.Location = new Point(0x106, 0x204);
     this.label5.Name = "label5";
     this.label5.Size = new Size(0x71, 0x12);
     this.label5.TabIndex = 9;
     this.label5.Text = "视频压缩方式:";
     this.label5.TextAlign = ContentAlignment.MiddleCenter;
     this.comboBox3.FormattingEnabled = true;
     this.comboBox3.Location = new Point(0x171, 0x204);
     this.comboBox3.Name = "comboBox3";
     this.comboBox3.Size = new Size(0xf3, 20);
     this.comboBox3.TabIndex = 12;
     this.comboBox3.Text = "选择....";
     this.comboBox3.SelectedIndexChanged += new EventHandler(this.comboBox3_SelectedIndexChanged);
     this.tvImage.AllowDrop = true;
     this.tvImage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tvImage.CanClearSelection = true;
     this.tvImage.DrawMode = TreeViewDrawMode.OwnerDrawText;
     this.tvImage.Font = new Font("SimSun", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.tvImage.HideSelection = false;
     this.tvImage.ImageIndex = 0;
     this.tvImage.IsSorted = true;
     this.tvImage.Location = new Point(0x287, 0x1d);
     this.tvImage.Name = "tvImage";
     this.tvImage.NodeSorter = comparer;
     this.tvImage.SelectedImageIndex = 0;
     this.tvImage.ShowLines = false;
     this.tvImage.ShowNodeToolTips = true;
     this.tvImage.ShowRootLines = false;
     this.tvImage.Size = new Size(190, 0x144);
     this.tvImage.TabIndex = 3;
     this.tvImage.DoubleClick += new EventHandler(this.tvImage_DoubleClick);
     this.AutoScaleBaseSize = new Size(6, 14);
     this.BackColor = SystemColors.Control;
     base.ClientSize = new Size(840, 0x247);
     base.Controls.Add(this.pictureBox2);
     base.Controls.Add(this.trackBar2);
     base.Controls.Add(this.trackBar1);
     base.Controls.Add(this.comboBox3);
     base.Controls.Add(this.comboBox2);
     base.Controls.Add(this.comboBox1);
     base.Controls.Add(this.label5);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label6);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.tvImage);
     base.Controls.Add(this.toolStrip1);
     base.Controls.Add(this.pictureBox1);
     base.MaximizeBox = false;
     this.MaximumSize = new Size(0x350, 610);
     this.MinimumSize = new Size(0x350, 610);
     base.Name = "LiveShow";
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "拍摄业务照片视频作为证据";
     base.FormClosed += new FormClosedEventHandler(this.LiveShow_FormClosed);
     ((ISupportInitialize) this.pictureBox1).EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.trackBar2.EndInit();
     this.trackBar1.EndInit();
     ((ISupportInitialize) this.pictureBox2).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }