private void InitializeComponent() { this.comboBoxSex = new ComboBox(); this.trackBarZoom = new TrackBar(); this.label1 = new Label(); this.previewControl = new previewControl(); ((ISupportInitialize)this.trackBarZoom).BeginInit(); base.SuspendLayout(); this.comboBoxSex.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxSex.FormattingEnabled = true; this.comboBoxSex.Items.AddRange(new object[] { "Male", "Female" }); this.comboBoxSex.Location = new Point(12, 12); this.comboBoxSex.Name = "comboBoxSex"; this.comboBoxSex.Size = new Size(103, 21); this.comboBoxSex.TabIndex = 2; this.comboBoxSex.SelectedIndexChanged += new EventHandler(this.comboBoxSex_SelectedIndexChanged); this.trackBarZoom.Location = new Point(554, 12); this.trackBarZoom.Maximum = -1; this.trackBarZoom.Minimum = -7; this.trackBarZoom.Name = "trackBarZoom"; this.trackBarZoom.Size = new Size(226, 45); this.trackBarZoom.TabIndex = 3; this.trackBarZoom.Value = -3; this.trackBarZoom.Scroll += new EventHandler(this.trackBarZoom_Scroll); this.label1.AutoSize = true; this.label1.Location = new Point(508, 20); this.label1.Name = "label1"; this.label1.Size = new Size(40, 13); this.label1.TabIndex = 4; this.label1.Text = "Zoom :"; this.previewControl.Dock = DockStyle.Fill; this.previewControl.Location = new Point(0, 0); this.previewControl.Name = "previewControl"; this.previewControl.Size = new Size(792, 573); this.previewControl.TabIndex = 1; this.previewControl.Text = "spinningTriangleControl"; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(792, 573); base.ControlBox = false; base.Controls.Add(this.label1); base.Controls.Add(this.trackBarZoom); base.Controls.Add(this.comboBoxSex); base.Controls.Add(this.previewControl); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "PreviewForm"; this.Text = "Preview :"; ((ISupportInitialize)this.trackBarZoom).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); this.menuStrip = new MenuStrip(); this.fileToolStripMenuItem = new ToolStripMenuItem(); this.openFolderToolStripMenuItem = new ToolStripMenuItem(); this.exitToolStripMenuItem = new ToolStripMenuItem(); this.helpToolStripMenuItem = new ToolStripMenuItem(); this.aboutToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem2 = new ToolStripMenuItem(); this.statusStrip = new StatusStrip(); this.toolStripStatusLabel = new ToolStripStatusLabel(); this.toolStripProgressBar = new ToolStripProgressBar(); this.groupBoxMotion = new GroupBox(); this.buttonNewZMO = new Button(); this.walkButton = new Button(); this.propertyGrid = new PropertyGrid(); this.listBoxMap = new ListBox(); this.labelMap = new Label(); this.labelMotionName = new Label(); this.labelFPS = new Label(); this.numericUpDownFPS = new NumericUpDown(); this.buttonSaveZMO = new Button(); this.buttonOpenZMO = new Button(); this.buttonCapture = new Button(); this.buttonPlay = new Button(); this.buttonPause = new Button(); this.buttonBack = new Button(); this.treeViewFrame = new TreeView(); this.frameContextMenuStrip = new ContextMenuStrip(this.components); this.addMenuItem = new ToolStripMenuItem(); this.removeMenuItem = new ToolStripMenuItem(); this.toolStripSeparator1 = new ToolStripSeparator(); this.copyMenuItem = new ToolStripMenuItem(); this.pasteMenuItem = new ToolStripMenuItem(); this.toolStripSeparator2 = new ToolStripSeparator(); this.setCurrentPositionMenuItem = new ToolStripMenuItem(); this.interpolationMenuItem = new ToolStripMenuItem(); this.panelPreview = new previewControl(); this.menuStrip.SuspendLayout(); this.statusStrip.SuspendLayout(); this.groupBoxMotion.SuspendLayout(); ((ISupportInitialize)this.numericUpDownFPS).BeginInit(); this.frameContextMenuStrip.SuspendLayout(); base.SuspendLayout(); this.menuStrip.Items.AddRange(new ToolStripItem[] { this.fileToolStripMenuItem, this.helpToolStripMenuItem, this.toolStripMenuItem2 }); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new Size(1008, 24); this.menuStrip.TabIndex = 0; this.menuStrip.Text = "menuStrip"; this.fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.openFolderToolStripMenuItem, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new Size(37, 20); this.fileToolStripMenuItem.Text = "File"; this.openFolderToolStripMenuItem.Name = "openFolderToolStripMenuItem"; this.openFolderToolStripMenuItem.Size = new Size(173, 22); this.openFolderToolStripMenuItem.Text = "Open Client Folder"; this.openFolderToolStripMenuItem.Click += new EventHandler(this.openFolderToolStripMenuItem_Click); this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new Size(173, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new EventHandler(this.exitToolStripMenuItem_Click); this.helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.aboutToolStripMenuItem }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new Size(44, 20); this.helpToolStripMenuItem.Text = "Help"; this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new Size(107, 22); this.aboutToolStripMenuItem.Text = "About"; this.aboutToolStripMenuItem.Click += new EventHandler(this.aboutToolStripMenuItem_Click); this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new Size(12, 20); this.statusStrip.Items.AddRange(new ToolStripItem[] { this.toolStripStatusLabel, this.toolStripProgressBar }); this.statusStrip.Location = new System.Drawing.Point(0, 708); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new Size(1008, 22); this.statusStrip.TabIndex = 1; this.statusStrip.Text = "statusStrip1"; this.toolStripStatusLabel.Name = "toolStripStatusLabel"; this.toolStripStatusLabel.Size = new Size(45, 17); this.toolStripStatusLabel.Text = "Status :"; this.toolStripProgressBar.Name = "toolStripProgressBar"; this.toolStripProgressBar.Size = new Size(100, 16); this.groupBoxMotion.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.groupBoxMotion.Controls.Add(this.buttonNewZMO); this.groupBoxMotion.Controls.Add(this.walkButton); this.groupBoxMotion.Controls.Add(this.propertyGrid); this.groupBoxMotion.Controls.Add(this.listBoxMap); this.groupBoxMotion.Controls.Add(this.labelMap); this.groupBoxMotion.Controls.Add(this.labelMotionName); this.groupBoxMotion.Controls.Add(this.labelFPS); this.groupBoxMotion.Controls.Add(this.numericUpDownFPS); this.groupBoxMotion.Controls.Add(this.buttonSaveZMO); this.groupBoxMotion.Controls.Add(this.buttonOpenZMO); this.groupBoxMotion.Controls.Add(this.buttonCapture); this.groupBoxMotion.Controls.Add(this.buttonPlay); this.groupBoxMotion.Controls.Add(this.buttonPause); this.groupBoxMotion.Controls.Add(this.buttonBack); this.groupBoxMotion.Controls.Add(this.treeViewFrame); this.groupBoxMotion.Dock = DockStyle.Right; this.groupBoxMotion.Location = new System.Drawing.Point(708, 24); this.groupBoxMotion.Name = "groupBoxMotion"; this.groupBoxMotion.Size = new Size(300, 684); this.groupBoxMotion.TabIndex = 2; this.groupBoxMotion.TabStop = false; this.groupBoxMotion.Text = "Motion :"; this.buttonNewZMO.AutoSize = true; this.buttonNewZMO.Image = Resources.New_small; this.buttonNewZMO.Location = new System.Drawing.Point(198, 249); this.buttonNewZMO.Name = "buttonNewZMO"; this.buttonNewZMO.Size = new Size(26, 26); this.buttonNewZMO.TabIndex = 14; this.buttonNewZMO.UseVisualStyleBackColor = true; this.buttonNewZMO.Click += new EventHandler(this.buttonNewZMO_Click); this.walkButton.AutoSize = true; this.walkButton.Image = Resources.Walk_small1; this.walkButton.Location = new System.Drawing.Point(134, 249); this.walkButton.Name = "walkButton"; this.walkButton.Size = new Size(27, 26); this.walkButton.TabIndex = 13; this.walkButton.UseVisualStyleBackColor = true; this.walkButton.Click += new EventHandler(this.walkButton_Click); this.propertyGrid.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.propertyGrid.Location = new System.Drawing.Point(9, 461); this.propertyGrid.Name = "propertyGrid"; this.propertyGrid.Size = new Size(285, 217); this.propertyGrid.TabIndex = 12; this.propertyGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged); this.listBoxMap.FormattingEnabled = true; this.listBoxMap.Location = new System.Drawing.Point(50, 35); this.listBoxMap.Name = "listBoxMap"; this.listBoxMap.Size = new Size(237, 108); this.listBoxMap.TabIndex = 11; this.listBoxMap.SelectedIndexChanged += new EventHandler(this.listBoxMap_SelectedIndexChanged); this.labelMap.AutoSize = true; this.labelMap.Location = new System.Drawing.Point(5, 33); this.labelMap.Name = "labelMap"; this.labelMap.Size = new Size(34, 13); this.labelMap.TabIndex = 10; this.labelMap.Text = "Map :"; this.labelMotionName.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left); this.labelMotionName.AutoSize = true; this.labelMotionName.Location = new System.Drawing.Point(6, 181); this.labelMotionName.Name = "labelMotionName"; this.labelMotionName.Size = new Size(74, 13); this.labelMotionName.TabIndex = 8; this.labelMotionName.Text = "Motion name :"; this.labelFPS.AutoSize = true; this.labelFPS.Location = new System.Drawing.Point(6, 211); this.labelFPS.Name = "labelFPS"; this.labelFPS.Size = new Size(33, 13); this.labelFPS.TabIndex = 4; this.labelFPS.Text = "FPS :"; this.numericUpDownFPS.Location = new System.Drawing.Point(45, 209); NumericUpDown arg_A8B_0 = this.numericUpDownFPS; int[] array = new int[4]; array[0] = 60; arg_A8B_0.Maximum = new decimal(array); NumericUpDown arg_AA8_0 = this.numericUpDownFPS; array = new int[4]; array[0] = 1; arg_AA8_0.Minimum = new decimal(array); this.numericUpDownFPS.Name = "numericUpDownFPS"; this.numericUpDownFPS.Size = new Size(51, 20); this.numericUpDownFPS.TabIndex = 7; NumericUpDown arg_AF8_0 = this.numericUpDownFPS; array = new int[4]; array[0] = 1; arg_AF8_0.Value = new decimal(array); this.numericUpDownFPS.ValueChanged += new EventHandler(this.numericUpDownFPS_ValueChanged); this.buttonSaveZMO.AutoSize = true; this.buttonSaveZMO.Image = Resources.Save_small; this.buttonSaveZMO.Location = new System.Drawing.Point(262, 249); this.buttonSaveZMO.Name = "buttonSaveZMO"; this.buttonSaveZMO.Size = new Size(26, 26); this.buttonSaveZMO.TabIndex = 6; this.buttonSaveZMO.UseVisualStyleBackColor = true; this.buttonSaveZMO.Click += new EventHandler(this.buttonSaveZMO_Click); this.buttonOpenZMO.AutoSize = true; this.buttonOpenZMO.Image = Resources.Open_small; this.buttonOpenZMO.Location = new System.Drawing.Point(230, 249); this.buttonOpenZMO.Name = "buttonOpenZMO"; this.buttonOpenZMO.Size = new Size(26, 26); this.buttonOpenZMO.TabIndex = 5; this.buttonOpenZMO.UseVisualStyleBackColor = true; this.buttonOpenZMO.Click += new EventHandler(this.buttonOpenZMO_Click); this.buttonCapture.AutoSize = true; this.buttonCapture.Image = Resources.Capture_small; this.buttonCapture.Location = new System.Drawing.Point(102, 249); this.buttonCapture.Name = "buttonCapture"; this.buttonCapture.Size = new Size(26, 26); this.buttonCapture.TabIndex = 4; this.buttonCapture.UseVisualStyleBackColor = true; this.buttonPlay.AutoSize = true; this.buttonPlay.Image = Resources.Play_smal; this.buttonPlay.Location = new System.Drawing.Point(70, 249); this.buttonPlay.Name = "buttonPlay"; this.buttonPlay.Size = new Size(26, 26); this.buttonPlay.TabIndex = 3; this.buttonPlay.UseVisualStyleBackColor = true; this.buttonPlay.Click += new EventHandler(this.buttonPlay_Click); this.buttonPause.AutoSize = true; this.buttonPause.Image = Resources.Pause_small; this.buttonPause.Location = new System.Drawing.Point(38, 249); this.buttonPause.Name = "buttonPause"; this.buttonPause.Size = new Size(26, 26); this.buttonPause.TabIndex = 2; this.buttonPause.UseVisualStyleBackColor = true; this.buttonPause.Click += new EventHandler(this.buttonPause_Click); this.buttonBack.AutoSize = true; this.buttonBack.Image = Resources.Back_small; this.buttonBack.Location = new System.Drawing.Point(6, 249); this.buttonBack.Name = "buttonBack"; this.buttonBack.Size = new Size(26, 26); this.buttonBack.TabIndex = 1; this.buttonBack.Tag = "sa"; this.buttonBack.UseVisualStyleBackColor = true; this.buttonBack.Click += new EventHandler(this.buttonBack_Click); this.treeViewFrame.Anchor = AnchorStyles.None; this.treeViewFrame.ContextMenuStrip = this.frameContextMenuStrip; this.treeViewFrame.Location = new System.Drawing.Point(6, 295); this.treeViewFrame.Name = "treeViewFrame"; this.treeViewFrame.Size = new Size(288, 160); this.treeViewFrame.TabIndex = 0; this.treeViewFrame.AfterSelect += new TreeViewEventHandler(this.treeViewFrame_AfterSelect); this.frameContextMenuStrip.Items.AddRange(new ToolStripItem[] { this.addMenuItem, this.removeMenuItem, this.toolStripSeparator1, this.copyMenuItem, this.pasteMenuItem, this.toolStripSeparator2, this.setCurrentPositionMenuItem, this.interpolationMenuItem }); this.frameContextMenuStrip.Name = "frameContextMenuStrip"; this.frameContextMenuStrip.Size = new Size(178, 148); this.addMenuItem.Enabled = false; this.addMenuItem.Name = "addMenuItem"; this.addMenuItem.Size = new Size(177, 22); this.addMenuItem.Text = "Add"; this.addMenuItem.Click += new EventHandler(this.addMenuItem_Click); this.removeMenuItem.Enabled = false; this.removeMenuItem.Name = "removeMenuItem"; this.removeMenuItem.Size = new Size(177, 22); this.removeMenuItem.Text = "Remove"; this.removeMenuItem.Click += new EventHandler(this.removeMenuItem_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(174, 6); this.copyMenuItem.Enabled = false; this.copyMenuItem.Name = "copyMenuItem"; this.copyMenuItem.Size = new Size(177, 22); this.copyMenuItem.Text = "Copy"; this.copyMenuItem.Click += new EventHandler(this.copyMenuItem_Click); this.pasteMenuItem.Enabled = false; this.pasteMenuItem.Name = "pasteMenuItem"; this.pasteMenuItem.Size = new Size(177, 22); this.pasteMenuItem.Text = "Paste"; this.pasteMenuItem.Click += new EventHandler(this.pasteMenuItem_Click); this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(174, 6); this.setCurrentPositionMenuItem.Enabled = false; this.setCurrentPositionMenuItem.Name = "setCurrentPositionMenuItem"; this.setCurrentPositionMenuItem.Size = new Size(177, 22); this.setCurrentPositionMenuItem.Text = "Set current position"; this.setCurrentPositionMenuItem.Click += new EventHandler(this.setCurrentPositionMenuItem_Click); this.interpolationMenuItem.Enabled = false; this.interpolationMenuItem.Name = "interpolationMenuItem"; this.interpolationMenuItem.Size = new Size(177, 22); this.interpolationMenuItem.Text = "Interpolation"; this.interpolationMenuItem.Click += new EventHandler(this.interpolationMenuItem_Click); this.panelPreview.Dock = DockStyle.Fill; this.panelPreview.Location = new System.Drawing.Point(0, 24); this.panelPreview.Name = "panelPreview"; this.panelPreview.Size = new Size(708, 684); this.panelPreview.TabIndex = 3; this.panelPreview.Resize += new EventHandler(this.panelPreview_Resize); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(1008, 730); base.Controls.Add(this.panelPreview); base.Controls.Add(this.groupBoxMotion); base.Controls.Add(this.statusStrip); base.Controls.Add(this.menuStrip); base.MainMenuStrip = this.menuStrip; base.Name = "MainForm"; this.Text = "Jiwan's Camera Editor"; this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.groupBoxMotion.ResumeLayout(false); this.groupBoxMotion.PerformLayout(); ((ISupportInitialize)this.numericUpDownFPS).EndInit(); this.frameContextMenuStrip.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }