コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Calculator));
     this.videoGroupbox     = new System.Windows.Forms.GroupBox();
     this.label3            = new System.Windows.Forms.Label();
     this.label7            = new System.Windows.Forms.Label();
     this.label9            = new System.Windows.Forms.Label();
     this.height            = new System.Windows.Forms.NumericUpDown();
     this.label10           = new System.Windows.Forms.Label();
     this.width             = new System.Windows.Forms.NumericUpDown();
     this.label8            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.videoCodec        = new System.Windows.Forms.ComboBox();
     this.fpsChooser        = new MeGUI.core.gui.FPSChooser();
     this.nbFrames          = new System.Windows.Forms.NumericUpDown();
     this.bframes           = new System.Windows.Forms.CheckBox();
     this.nbFramesLabel     = new System.Windows.Forms.Label();
     this.framerateLabel    = new System.Windows.Forms.Label();
     this.secondsLabel      = new System.Windows.Forms.Label();
     this.minutesLabel      = new System.Windows.Forms.Label();
     this.hoursLabel        = new System.Windows.Forms.Label();
     this.seconds           = new System.Windows.Forms.NumericUpDown();
     this.minutes           = new System.Windows.Forms.NumericUpDown();
     this.hours             = new System.Windows.Forms.NumericUpDown();
     this.complexity        = new System.Windows.Forms.TrackBar();
     this.picTime           = new System.Windows.Forms.PictureBox();
     this.totalSecondsLabel = new System.Windows.Forms.Label();
     this.totalSeconds      = new System.Windows.Forms.NumericUpDown();
     this.timeText          = new System.Windows.Forms.TextBox();
     this.applyButton       = new System.Windows.Forms.Button();
     this.containerFormat   = new System.Windows.Forms.ComboBox();
     this.sizeGroupbox      = new System.Windows.Forms.GroupBox();
     this.qEstRadio         = new System.Windows.Forms.RadioButton();
     this.qest                      = new System.Windows.Forms.NumericUpDown();
     this.bppRadio                  = new System.Windows.Forms.RadioButton();
     this.bpp                       = new System.Windows.Forms.NumericUpDown();
     this.videoSize                 = new System.Windows.Forms.TextBox();
     this.targetSize                = new MeGUI.core.gui.TargetSizeSCBox();
     this.projectedBitrate          = new System.Windows.Forms.NumericUpDown();
     this.fileSizeRadio             = new System.Windows.Forms.RadioButton();
     this.AverageBitrateLabel       = new System.Windows.Forms.Label();
     this.averageBitrateRadio       = new System.Windows.Forms.RadioButton();
     this.cancelButton              = new System.Windows.Forms.Button();
     this.openFileDialog            = new System.Windows.Forms.OpenFileDialog();
     this.contextMenuStrip1         = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.addAudioToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.addExtraToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.containerGroupbox         = new System.Windows.Forms.GroupBox();
     this.audioExtraGroupbox        = new System.Windows.Forms.GroupBox();
     this.addAudioLink              = new System.Windows.Forms.LinkLabel();
     this.audioExtraFlow            = new System.Windows.Forms.FlowLayoutPanel();
     this.addToolTip                = new System.Windows.Forms.ToolTip(this.components);
     this.toolTip1                  = new System.Windows.Forms.ToolTip(this.components);
     this.helpButton1               = new MeGUI.core.gui.HelpButton();
     this.videoGroupbox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.height)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.width)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nbFrames)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.seconds)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.minutes)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.hours)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.complexity)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picTime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.totalSeconds)).BeginInit();
     this.sizeGroupbox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.qest)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bpp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.projectedBitrate)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     this.containerGroupbox.SuspendLayout();
     this.audioExtraGroupbox.SuspendLayout();
     this.SuspendLayout();
     //
     // videoGroupbox
     //
     this.videoGroupbox.Controls.Add(this.label3);
     this.videoGroupbox.Controls.Add(this.label7);
     this.videoGroupbox.Controls.Add(this.label9);
     this.videoGroupbox.Controls.Add(this.height);
     this.videoGroupbox.Controls.Add(this.label10);
     this.videoGroupbox.Controls.Add(this.width);
     this.videoGroupbox.Controls.Add(this.label8);
     this.videoGroupbox.Controls.Add(this.label2);
     this.videoGroupbox.Controls.Add(this.videoCodec);
     this.videoGroupbox.Controls.Add(this.fpsChooser);
     this.videoGroupbox.Controls.Add(this.nbFrames);
     this.videoGroupbox.Controls.Add(this.bframes);
     this.videoGroupbox.Controls.Add(this.nbFramesLabel);
     this.videoGroupbox.Controls.Add(this.framerateLabel);
     this.videoGroupbox.Controls.Add(this.secondsLabel);
     this.videoGroupbox.Controls.Add(this.minutesLabel);
     this.videoGroupbox.Controls.Add(this.hoursLabel);
     this.videoGroupbox.Controls.Add(this.seconds);
     this.videoGroupbox.Controls.Add(this.minutes);
     this.videoGroupbox.Controls.Add(this.hours);
     this.videoGroupbox.Controls.Add(this.complexity);
     this.videoGroupbox.Controls.Add(this.picTime);
     this.videoGroupbox.Controls.Add(this.totalSecondsLabel);
     this.videoGroupbox.Controls.Add(this.totalSeconds);
     this.videoGroupbox.Controls.Add(this.timeText);
     this.videoGroupbox.Location = new System.Drawing.Point(8, 9);
     this.videoGroupbox.Name     = "videoGroupbox";
     this.videoGroupbox.Size     = new System.Drawing.Size(470, 150);
     this.videoGroupbox.TabIndex = 0;
     this.videoGroupbox.TabStop  = false;
     this.videoGroupbox.Text     = "Video";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Location  = new System.Drawing.Point(291, 122);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(28, 13);
     this.label3.TabIndex  = 26;
     this.label3.Text      = "High";
     this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(136, 76);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(60, 13);
     this.label7.TabIndex = 20;
     this.label7.Text     = "Complexity";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(401, 77);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(38, 13);
     this.label9.TabIndex = 25;
     this.label9.Text     = "Height";
     //
     // height
     //
     this.height.Increment = new decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.height.Location = new System.Drawing.Point(404, 96);
     this.height.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.height.Name     = "height";
     this.height.Size     = new System.Drawing.Size(50, 21);
     this.height.TabIndex = 11;
     this.height.Value    = new decimal(new int[] {
         720,
         0,
         0,
         0
     });
     this.height.ValueChanged += new System.EventHandler(this.textField_TextChanged);
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(336, 77);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(35, 13);
     this.label10.TabIndex = 23;
     this.label10.Text     = "Width";
     //
     // width
     //
     this.width.Increment = new decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.width.Location = new System.Drawing.Point(339, 96);
     this.width.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.width.Name     = "width";
     this.width.Size     = new System.Drawing.Size(50, 21);
     this.width.TabIndex = 10;
     this.width.Value    = new decimal(new int[] {
         1280,
         0,
         0,
         0
     });
     this.width.ValueChanged += new System.EventHandler(this.textField_TextChanged);
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Location  = new System.Drawing.Point(139, 122);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(26, 13);
     this.label8.TabIndex  = 21;
     this.label8.Text      = "Low";
     this.label8.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(11, 76);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(37, 13);
     this.label2.TabIndex = 14;
     this.label2.Text     = "Codec";
     //
     // videoCodec
     //
     this.videoCodec.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.videoCodec.FormattingEnabled = true;
     this.videoCodec.Location          = new System.Drawing.Point(14, 95);
     this.videoCodec.Name                  = "videoCodec";
     this.videoCodec.Size                  = new System.Drawing.Size(103, 21);
     this.videoCodec.TabIndex              = 7;
     this.videoCodec.SelectedIndexChanged += new System.EventHandler(this.audio_SelectedIndexChanged);
     //
     // fpsChooser
     //
     this.fpsChooser.Location          = new System.Drawing.Point(243, 40);
     this.fpsChooser.MaximumSize       = new System.Drawing.Size(1000, 29);
     this.fpsChooser.MinimumSize       = new System.Drawing.Size(64, 29);
     this.fpsChooser.Name              = "fpsChooser";
     this.fpsChooser.NullString        = null;
     this.fpsChooser.SelectedIndex     = 0;
     this.fpsChooser.Size              = new System.Drawing.Size(98, 29);
     this.fpsChooser.TabIndex          = 4;
     this.fpsChooser.SelectionChanged += new MeGUI.StringChanged(this.fpsChooser_SelectionChanged);
     //
     // nbFrames
     //
     this.nbFrames.Location = new System.Drawing.Point(374, 45);
     this.nbFrames.Maximum  = new decimal(new int[] {
         10000000,
         10000000,
         10000000,
         0
     });
     this.nbFrames.Name               = "nbFrames";
     this.nbFrames.Size               = new System.Drawing.Size(80, 21);
     this.nbFrames.TabIndex           = 5;
     this.nbFrames.ThousandsSeparator = true;
     this.nbFrames.ValueChanged      += new System.EventHandler(this.textField_TextChanged);
     //
     // bframes
     //
     this.bframes.Checked         = true;
     this.bframes.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.bframes.Location        = new System.Drawing.Point(14, 121);
     this.bframes.Name            = "bframes";
     this.bframes.Size            = new System.Drawing.Size(75, 17);
     this.bframes.TabIndex        = 8;
     this.bframes.Text            = "B-frames";
     this.bframes.CheckedChanged += new System.EventHandler(this.bframes_CheckedChanged);
     //
     // nbFramesLabel
     //
     this.nbFramesLabel.AutoSize = true;
     this.nbFramesLabel.Location = new System.Drawing.Point(371, 26);
     this.nbFramesLabel.Name     = "nbFramesLabel";
     this.nbFramesLabel.Size     = new System.Drawing.Size(69, 13);
     this.nbFramesLabel.TabIndex = 10;
     this.nbFramesLabel.Text     = "Total Frames";
     //
     // framerateLabel
     //
     this.framerateLabel.AutoSize = true;
     this.framerateLabel.Location = new System.Drawing.Point(243, 26);
     this.framerateLabel.Name     = "framerateLabel";
     this.framerateLabel.Size     = new System.Drawing.Size(57, 13);
     this.framerateLabel.TabIndex = 8;
     this.framerateLabel.Text     = "Framerate";
     //
     // secondsLabel
     //
     this.secondsLabel.AutoSize = true;
     this.secondsLabel.Location = new System.Drawing.Point(165, 26);
     this.secondsLabel.Name     = "secondsLabel";
     this.secondsLabel.Size     = new System.Drawing.Size(47, 13);
     this.secondsLabel.TabIndex = 4;
     this.secondsLabel.Text     = "Seconds";
     //
     // minutesLabel
     //
     this.minutesLabel.AutoSize = true;
     this.minutesLabel.Location = new System.Drawing.Point(107, 26);
     this.minutesLabel.Name     = "minutesLabel";
     this.minutesLabel.Size     = new System.Drawing.Size(44, 13);
     this.minutesLabel.TabIndex = 2;
     this.minutesLabel.Text     = "Minutes";
     //
     // hoursLabel
     //
     this.hoursLabel.AutoSize = true;
     this.hoursLabel.Location = new System.Drawing.Point(49, 26);
     this.hoursLabel.Name     = "hoursLabel";
     this.hoursLabel.Size     = new System.Drawing.Size(35, 13);
     this.hoursLabel.TabIndex = 0;
     this.hoursLabel.Text     = "Hours";
     //
     // seconds
     //
     this.seconds.Location = new System.Drawing.Point(168, 45);
     this.seconds.Maximum  = new decimal(new int[] {
         60,
         0,
         0,
         0
     });
     this.seconds.Name          = "seconds";
     this.seconds.Size          = new System.Drawing.Size(45, 21);
     this.seconds.TabIndex      = 3;
     this.seconds.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.seconds.ValueChanged += new System.EventHandler(this.time_ValueChanged);
     //
     // minutes
     //
     this.minutes.Location = new System.Drawing.Point(110, 45);
     this.minutes.Maximum  = new decimal(new int[] {
         60,
         0,
         0,
         0
     });
     this.minutes.Name          = "minutes";
     this.minutes.Size          = new System.Drawing.Size(45, 21);
     this.minutes.TabIndex      = 2;
     this.minutes.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.minutes.ValueChanged += new System.EventHandler(this.time_ValueChanged);
     //
     // hours
     //
     this.hours.Location = new System.Drawing.Point(52, 45);
     this.hours.Maximum  = new decimal(new int[] {
         24,
         0,
         0,
         0
     });
     this.hours.Name          = "hours";
     this.hours.Size          = new System.Drawing.Size(45, 21);
     this.hours.TabIndex      = 1;
     this.hours.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.hours.ValueChanged += new System.EventHandler(this.time_ValueChanged);
     //
     // complexity
     //
     this.complexity.LargeChange   = 2;
     this.complexity.Location      = new System.Drawing.Point(134, 95);
     this.complexity.Maximum       = 78;
     this.complexity.Minimum       = 72;
     this.complexity.Name          = "complexity";
     this.complexity.Size          = new System.Drawing.Size(188, 45);
     this.complexity.TabIndex      = 9;
     this.complexity.TickFrequency = 5;
     this.complexity.TickStyle     = System.Windows.Forms.TickStyle.None;
     this.complexity.Value         = 75;
     this.complexity.ValueChanged += new System.EventHandler(this.bframes_CheckedChanged);
     //
     // picTime
     //
     this.picTime.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.picTime.Image        = ((System.Drawing.Image)(resources.GetObject("picTime.Image")));
     this.picTime.InitialImage = ((System.Drawing.Image)(resources.GetObject("picTime.InitialImage")));
     this.picTime.Location     = new System.Drawing.Point(12, 32);
     this.picTime.Name         = "picTime";
     this.picTime.Size         = new System.Drawing.Size(32, 32);
     this.picTime.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.picTime.TabIndex     = 27;
     this.picTime.TabStop      = false;
     this.toolTip1.SetToolTip(this.picTime, "Show total seconds");
     this.picTime.Click += new System.EventHandler(this.picTime_Click);
     //
     // totalSecondsLabel
     //
     this.totalSecondsLabel.Location = new System.Drawing.Point(49, 26);
     this.totalSecondsLabel.Name     = "totalSecondsLabel";
     this.totalSecondsLabel.Size     = new System.Drawing.Size(126, 15);
     this.totalSecondsLabel.TabIndex = 6;
     this.totalSecondsLabel.Text     = "Total Length in Seconds";
     this.totalSecondsLabel.Visible  = false;
     //
     // totalSeconds
     //
     this.totalSeconds.Location = new System.Drawing.Point(52, 45);
     this.totalSeconds.Maximum  = new decimal(new int[] {
         90000,
         0,
         0,
         0
     });
     this.totalSeconds.Name               = "totalSeconds";
     this.totalSeconds.Size               = new System.Drawing.Size(65, 21);
     this.totalSeconds.TabIndex           = 1;
     this.totalSeconds.ThousandsSeparator = true;
     this.totalSeconds.Visible            = false;
     this.totalSeconds.ValueChanged      += new System.EventHandler(this.textField_TextChanged);
     //
     // timeText
     //
     this.timeText.Location  = new System.Drawing.Point(123, 45);
     this.timeText.Name      = "timeText";
     this.timeText.ReadOnly  = true;
     this.timeText.Size      = new System.Drawing.Size(89, 21);
     this.timeText.TabIndex  = 28;
     this.timeText.TabStop   = false;
     this.timeText.Text      = "0h 0m 0s";
     this.timeText.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.timeText.Visible   = false;
     //
     // applyButton
     //
     this.applyButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.applyButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.applyButton.Enabled      = false;
     this.applyButton.Location     = new System.Drawing.Point(597, 319);
     this.applyButton.Name         = "applyButton";
     this.applyButton.Size         = new System.Drawing.Size(78, 23);
     this.applyButton.TabIndex     = 23;
     this.applyButton.Text         = "Apply";
     //
     // containerFormat
     //
     this.containerFormat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.containerFormat.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.containerFormat.FormattingEnabled = true;
     this.containerFormat.ItemHeight        = 13;
     this.containerFormat.Location          = new System.Drawing.Point(16, 26);
     this.containerFormat.Name                  = "containerFormat";
     this.containerFormat.Size                  = new System.Drawing.Size(175, 21);
     this.containerFormat.TabIndex              = 14;
     this.containerFormat.SelectedIndexChanged += new System.EventHandler(this.audio_SelectedIndexChanged);
     //
     // sizeGroupbox
     //
     this.sizeGroupbox.Controls.Add(this.qEstRadio);
     this.sizeGroupbox.Controls.Add(this.qest);
     this.sizeGroupbox.Controls.Add(this.bppRadio);
     this.sizeGroupbox.Controls.Add(this.bpp);
     this.sizeGroupbox.Controls.Add(this.videoSize);
     this.sizeGroupbox.Controls.Add(this.targetSize);
     this.sizeGroupbox.Controls.Add(this.projectedBitrate);
     this.sizeGroupbox.Controls.Add(this.fileSizeRadio);
     this.sizeGroupbox.Controls.Add(this.AverageBitrateLabel);
     this.sizeGroupbox.Controls.Add(this.averageBitrateRadio);
     this.sizeGroupbox.Location = new System.Drawing.Point(484, 89);
     this.sizeGroupbox.Name     = "sizeGroupbox";
     this.sizeGroupbox.Size     = new System.Drawing.Size(209, 224);
     this.sizeGroupbox.TabIndex = 15;
     this.sizeGroupbox.TabStop  = false;
     this.sizeGroupbox.Text     = "Calculate By";
     //
     // qEstRadio
     //
     this.qEstRadio.AutoSize = true;
     this.qEstRadio.Location = new System.Drawing.Point(117, 94);
     this.qEstRadio.Name     = "qEstRadio";
     this.qEstRadio.Size     = new System.Drawing.Size(77, 17);
     this.qEstRadio.TabIndex = 17;
     this.qEstRadio.TabStop  = true;
     this.qEstRadio.Text     = "Q Estimate";
     this.qEstRadio.UseVisualStyleBackColor = true;
     this.qEstRadio.CheckedChanged         += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // qest
     //
     this.qest.DecimalPlaces = 2;
     this.qest.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.qest.Location = new System.Drawing.Point(121, 117);
     this.qest.Name     = "qest";
     this.qest.ReadOnly = true;
     this.qest.Size     = new System.Drawing.Size(68, 21);
     this.qest.TabIndex = 17;
     this.qest.TabStop  = false;
     this.qest.Value    = new decimal(new int[] {
         640,
         0,
         0,
         131072
     });
     this.qest.ValueChanged += new System.EventHandler(this.textField_TextChanged);
     //
     // bppRadio
     //
     this.bppRadio.AutoSize = true;
     this.bppRadio.Location = new System.Drawing.Point(16, 94);
     this.bppRadio.Name     = "bppRadio";
     this.bppRadio.Size     = new System.Drawing.Size(86, 17);
     this.bppRadio.TabIndex = 16;
     this.bppRadio.TabStop  = true;
     this.bppRadio.Text     = "Bits Per Pixel";
     this.bppRadio.UseVisualStyleBackColor = true;
     this.bppRadio.CheckedChanged         += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // bpp
     //
     this.bpp.DecimalPlaces = 3;
     this.bpp.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         131072
     });
     this.bpp.Location = new System.Drawing.Point(19, 117);
     this.bpp.Name     = "bpp";
     this.bpp.ReadOnly = true;
     this.bpp.Size     = new System.Drawing.Size(68, 21);
     this.bpp.TabIndex = 16;
     this.bpp.TabStop  = false;
     this.bpp.Value    = new decimal(new int[] {
         25,
         0,
         0,
         131072
     });
     this.bpp.ValueChanged += new System.EventHandler(this.textField_TextChanged);
     //
     // videoSize
     //
     this.videoSize.Location = new System.Drawing.Point(127, 48);
     this.videoSize.Name     = "videoSize";
     this.videoSize.ReadOnly = true;
     this.videoSize.Size     = new System.Drawing.Size(62, 21);
     this.videoSize.TabIndex = 15;
     this.videoSize.TabStop  = false;
     //
     // targetSize
     //
     this.targetSize.CustomSizes       = new MeGUI.core.util.FileSize[0];
     this.targetSize.Font              = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.targetSize.Location          = new System.Drawing.Point(19, 180);
     this.targetSize.Margin            = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.targetSize.MaximumSize       = new System.Drawing.Size(1000, 29);
     this.targetSize.MinimumSize       = new System.Drawing.Size(64, 29);
     this.targetSize.Name              = "targetSize";
     this.targetSize.NullString        = "Not calculated";
     this.targetSize.SelectedIndex     = 0;
     this.targetSize.Size              = new System.Drawing.Size(173, 29);
     this.targetSize.TabIndex          = 18;
     this.targetSize.TabStop           = false;
     this.targetSize.SelectionChanged += new MeGUI.StringChanged(this.targetSize_SelectionChanged);
     //
     // projectedBitrate
     //
     this.projectedBitrate.Increment = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     this.projectedBitrate.Location = new System.Drawing.Point(19, 48);
     this.projectedBitrate.Maximum  = new decimal(new int[] {
         100000,
         0,
         0,
         0
     });
     this.projectedBitrate.Name               = "projectedBitrate";
     this.projectedBitrate.ReadOnly           = true;
     this.projectedBitrate.Size               = new System.Drawing.Size(68, 21);
     this.projectedBitrate.TabIndex           = 15;
     this.projectedBitrate.TabStop            = false;
     this.projectedBitrate.ThousandsSeparator = true;
     this.projectedBitrate.ValueChanged      += new System.EventHandler(this.textField_TextChanged);
     //
     // fileSizeRadio
     //
     this.fileSizeRadio.Checked         = true;
     this.fileSizeRadio.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.fileSizeRadio.Location        = new System.Drawing.Point(16, 161);
     this.fileSizeRadio.Name            = "fileSizeRadio";
     this.fileSizeRadio.Size            = new System.Drawing.Size(132, 20);
     this.fileSizeRadio.TabIndex        = 18;
     this.fileSizeRadio.TabStop         = true;
     this.fileSizeRadio.Text            = "Total File Size";
     this.fileSizeRadio.CheckedChanged += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // AverageBitrateLabel
     //
     this.AverageBitrateLabel.AutoSize = true;
     this.AverageBitrateLabel.Location = new System.Drawing.Point(87, 50);
     this.AverageBitrateLabel.Name     = "AverageBitrateLabel";
     this.AverageBitrateLabel.Size     = new System.Drawing.Size(33, 13);
     this.AverageBitrateLabel.TabIndex = 2;
     this.AverageBitrateLabel.Text     = "kbit/s";
     //
     // averageBitrateRadio
     //
     this.averageBitrateRadio.AutoSize        = true;
     this.averageBitrateRadio.Location        = new System.Drawing.Point(16, 25);
     this.averageBitrateRadio.Name            = "averageBitrateRadio";
     this.averageBitrateRadio.Size            = new System.Drawing.Size(86, 17);
     this.averageBitrateRadio.TabIndex        = 15;
     this.averageBitrateRadio.TabStop         = true;
     this.averageBitrateRadio.Text            = "Video Bitrate";
     this.averageBitrateRadio.CheckedChanged += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(503, 319);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(78, 23);
     this.cancelButton.TabIndex     = 24;
     this.cancelButton.Text         = "Cancel";
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.addAudioToolStripMenuItem,
         this.addExtraToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(132, 48);
     //
     // addAudioToolStripMenuItem
     //
     this.addAudioToolStripMenuItem.Name   = "addAudioToolStripMenuItem";
     this.addAudioToolStripMenuItem.Size   = new System.Drawing.Size(131, 22);
     this.addAudioToolStripMenuItem.Text   = "Add &Audio";
     this.addAudioToolStripMenuItem.Click += new System.EventHandler(this.addAudioToolStripMenuItem_Click);
     //
     // addExtraToolStripMenuItem
     //
     this.addExtraToolStripMenuItem.Name   = "addExtraToolStripMenuItem";
     this.addExtraToolStripMenuItem.Size   = new System.Drawing.Size(131, 22);
     this.addExtraToolStripMenuItem.Text   = "Add &Extra";
     this.addExtraToolStripMenuItem.Click += new System.EventHandler(this.addExtraToolStripMenuItem_Click);
     //
     // containerGroupbox
     //
     this.containerGroupbox.Controls.Add(this.containerFormat);
     this.containerGroupbox.Location = new System.Drawing.Point(484, 9);
     this.containerGroupbox.Name     = "containerGroupbox";
     this.containerGroupbox.Size     = new System.Drawing.Size(207, 66);
     this.containerGroupbox.TabIndex = 14;
     this.containerGroupbox.TabStop  = false;
     this.containerGroupbox.Text     = "Container";
     //
     // audioExtraGroupbox
     //
     this.audioExtraGroupbox.ContextMenuStrip = this.contextMenuStrip1;
     this.audioExtraGroupbox.Controls.Add(this.addAudioLink);
     this.audioExtraGroupbox.Controls.Add(this.audioExtraFlow);
     this.audioExtraGroupbox.Location = new System.Drawing.Point(8, 168);
     this.audioExtraGroupbox.Name     = "audioExtraGroupbox";
     this.audioExtraGroupbox.Size     = new System.Drawing.Size(470, 145);
     this.audioExtraGroupbox.TabIndex = 13;
     this.audioExtraGroupbox.TabStop  = false;
     this.audioExtraGroupbox.Text     = "Audio && Extra";
     //
     // addAudioLink
     //
     this.addAudioLink.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.addAudioLink.Image      = ((System.Drawing.Image)(resources.GetObject("addAudioLink.Image")));
     this.addAudioLink.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.addAudioLink.Location   = new System.Drawing.Point(387, 0);
     this.addAudioLink.Name       = "addAudioLink";
     this.addAudioLink.Padding    = new System.Windows.Forms.Padding(16, 3, 2, 3);
     this.addAudioLink.Size       = new System.Drawing.Size(49, 18);
     this.addAudioLink.TabIndex   = 12;
     this.addAudioLink.TabStop    = true;
     this.addAudioLink.Text       = "Add";
     this.addAudioLink.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.addToolTip.SetToolTip(this.addAudioLink, "Audio track or extra data");
     this.addAudioLink.Click += new System.EventHandler(this.addAudioLink_Clicked);
     //
     // audioExtraFlow
     //
     this.audioExtraFlow.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                         | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.audioExtraFlow.AutoScroll      = true;
     this.audioExtraFlow.AutoSizeMode    = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.audioExtraFlow.Location        = new System.Drawing.Point(3, 18);
     this.audioExtraFlow.Name            = "audioExtraFlow";
     this.audioExtraFlow.Size            = new System.Drawing.Size(462, 124);
     this.audioExtraFlow.TabIndex        = 13;
     this.audioExtraFlow.ControlRemoved += new System.Windows.Forms.ControlEventHandler(this.audio_SelectedIndexChanged);
     //
     // addToolTip
     //
     this.addToolTip.AutomaticDelay = 300;
     this.addToolTip.ToolTipTitle   = "Add";
     //
     // helpButton1
     //
     this.helpButton1.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.helpButton1.ArticleName = "Bitrate Calculator";
     this.helpButton1.Location    = new System.Drawing.Point(22, 319);
     this.helpButton1.Name        = "helpButton1";
     this.helpButton1.Size        = new System.Drawing.Size(78, 23);
     this.helpButton1.TabIndex    = 25;
     //
     // Calculator
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(701, 349);
     this.Controls.Add(this.audioExtraGroupbox);
     this.Controls.Add(this.containerGroupbox);
     this.Controls.Add(this.videoGroupbox);
     this.Controls.Add(this.sizeGroupbox);
     this.Controls.Add(this.helpButton1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.applyButton);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Calculator";
     this.Text            = "MeGUI - Bitrate Calculator";
     this.videoGroupbox.ResumeLayout(false);
     this.videoGroupbox.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.height)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.width)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nbFrames)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.seconds)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.minutes)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.hours)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.complexity)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picTime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.totalSeconds)).EndInit();
     this.sizeGroupbox.ResumeLayout(false);
     this.sizeGroupbox.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.qest)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bpp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.projectedBitrate)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     this.containerGroupbox.ResumeLayout(false);
     this.audioExtraGroupbox.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(baseMuxWindow));
     this.muxButton = new System.Windows.Forms.Button();
     this.videoGroupbox = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.videoInputLabel = new System.Windows.Forms.Label();
     this.videoName = new System.Windows.Forms.TextBox();
     this.fps = new MeGUI.core.gui.FPSChooser();
     this.videoNameLabel = new System.Windows.Forms.Label();
     this.vInput = new MeGUI.FileBar();
     this.MuxFPSLabel = new System.Windows.Forms.Label();
     this.chaptersGroupbox = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
     this.chaptersInputLabel = new System.Windows.Forms.Label();
     this.chapters = new MeGUI.FileBar();
     this.outputGroupbox = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
     this.lbContainer = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.muxedOutputLabel = new System.Windows.Forms.Label();
     this.splitting = new MeGUI.core.gui.TargetSizeSCBox();
     this.splittingLabel = new System.Windows.Forms.Label();
     this.output = new MeGUI.FileBar();
     this.cbType = new System.Windows.Forms.ComboBox();
     this.cbContainer = new System.Windows.Forms.ComboBox();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.cancelButton = new System.Windows.Forms.Button();
     this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
     this.audioPanel = new System.Windows.Forms.Panel();
     this.audioMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.audioAddTrack = new System.Windows.Forms.ToolStripMenuItem();
     this.audioRemoveTrack = new System.Windows.Forms.ToolStripMenuItem();
     this.audio = new System.Windows.Forms.TabControl();
     this.audioPage1 = new System.Windows.Forms.TabPage();
     this.muxStreamControl2 = new MeGUI.core.details.mux.MuxStreamControl();
     this.subtitleMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.subtitleAddTrack = new System.Windows.Forms.ToolStripMenuItem();
     this.subtitleRemoveTrack = new System.Windows.Forms.ToolStripMenuItem();
     this.subtitlePanel = new System.Windows.Forms.Panel();
     this.subtitles = new System.Windows.Forms.TabControl();
     this.subPage1 = new System.Windows.Forms.TabPage();
     this.muxStreamControl1 = new MeGUI.core.details.mux.MuxStreamControl();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.helpButton1 = new MeGUI.core.gui.HelpButton();
     this.videoGroupbox.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.chaptersGroupbox.SuspendLayout();
     this.tableLayoutPanel3.SuspendLayout();
     this.outputGroupbox.SuspendLayout();
     this.tableLayoutPanel4.SuspendLayout();
     this.audioPanel.SuspendLayout();
     this.audioMenu.SuspendLayout();
     this.audio.SuspendLayout();
     this.audioPage1.SuspendLayout();
     this.subtitleMenu.SuspendLayout();
     this.subtitlePanel.SuspendLayout();
     this.subtitles.SuspendLayout();
     this.subPage1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // muxButton
     //
     this.muxButton.Location = new System.Drawing.Point(296, 531);
     this.muxButton.Margin = new System.Windows.Forms.Padding(12, 9, 12, 9);
     this.muxButton.Name = "muxButton";
     this.muxButton.Size = new System.Drawing.Size(56, 23);
     this.muxButton.TabIndex = 5;
     this.muxButton.Text = "&Queue";
     this.muxButton.Click += new System.EventHandler(this.muxButton_Click);
     //
     // videoGroupbox
     //
     this.videoGroupbox.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.videoGroupbox.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.videoGroupbox, 3);
     this.videoGroupbox.Controls.Add(this.tableLayoutPanel2);
     this.videoGroupbox.Location = new System.Drawing.Point(3, 3);
     this.videoGroupbox.Name = "videoGroupbox";
     this.videoGroupbox.Size = new System.Drawing.Size(438, 90);
     this.videoGroupbox.TabIndex = 0;
     this.videoGroupbox.TabStop = false;
     this.videoGroupbox.Text = "Video";
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.AutoSize = true;
     this.tableLayoutPanel2.ColumnCount = 4;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
     this.tableLayoutPanel2.Controls.Add(this.videoInputLabel, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.videoName, 3, 1);
     this.tableLayoutPanel2.Controls.Add(this.fps, 1, 1);
     this.tableLayoutPanel2.Controls.Add(this.videoNameLabel, 2, 1);
     this.tableLayoutPanel2.Controls.Add(this.vInput, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.MuxFPSLabel, 0, 1);
     this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 17);
     this.tableLayoutPanel2.Name = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 2;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.Size = new System.Drawing.Size(432, 70);
     this.tableLayoutPanel2.TabIndex = 0;
     //
     // videoInputLabel
     //
     this.videoInputLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.videoInputLabel.AutoSize = true;
     this.videoInputLabel.Location = new System.Drawing.Point(3, 11);
     this.videoInputLabel.Name = "videoInputLabel";
     this.videoInputLabel.Size = new System.Drawing.Size(62, 13);
     this.videoInputLabel.TabIndex = 0;
     this.videoInputLabel.Text = "Video Input";
     //
     // videoName
     //
     this.videoName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.videoName.Location = new System.Drawing.Point(327, 42);
     this.videoName.MaxLength = 100;
     this.videoName.Name = "videoName";
     this.videoName.Size = new System.Drawing.Size(102, 21);
     this.videoName.TabIndex = 5;
     //
     // fps
     //
     this.fps.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.fps.Location = new System.Drawing.Point(71, 38);
     this.fps.MaximumSize = new System.Drawing.Size(1000, 29);
     this.fps.MinimumSize = new System.Drawing.Size(64, 29);
     this.fps.Name = "fps";
     this.fps.NullString = "Not set";
     this.fps.SelectedIndex = 0;
     this.fps.Size = new System.Drawing.Size(210, 29);
     this.fps.TabIndex = 3;
     this.fps.SelectionChanged += new MeGUI.StringChanged(this.fps_SelectionChanged);
     //
     // videoNameLabel
     //
     this.videoNameLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.videoNameLabel.AutoSize = true;
     this.videoNameLabel.Location = new System.Drawing.Point(287, 46);
     this.videoNameLabel.Name = "videoNameLabel";
     this.videoNameLabel.Size = new System.Drawing.Size(34, 13);
     this.videoNameLabel.TabIndex = 4;
     this.videoNameLabel.Text = "Name";
     //
     // vInput
     //
     this.vInput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.tableLayoutPanel2.SetColumnSpan(this.vInput, 3);
     this.vInput.Filename = "";
     this.vInput.Filter = null;
     this.vInput.FilterIndex = 0;
     this.vInput.FolderMode = false;
     this.vInput.Location = new System.Drawing.Point(71, 4);
     this.vInput.Name = "vInput";
     this.vInput.ReadOnly = true;
     this.vInput.SaveMode = false;
     this.vInput.Size = new System.Drawing.Size(358, 26);
     this.vInput.TabIndex = 1;
     this.vInput.Title = null;
     this.vInput.FileSelected += new MeGUI.FileBarEventHandler(this.vInput_FileSelected);
     //
     // MuxFPSLabel
     //
     this.MuxFPSLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.MuxFPSLabel.AutoSize = true;
     this.MuxFPSLabel.Location = new System.Drawing.Point(3, 46);
     this.MuxFPSLabel.Name = "MuxFPSLabel";
     this.MuxFPSLabel.Size = new System.Drawing.Size(25, 13);
     this.MuxFPSLabel.TabIndex = 2;
     this.MuxFPSLabel.Text = "FPS";
     //
     // chaptersGroupbox
     //
     this.tableLayoutPanel1.SetColumnSpan(this.chaptersGroupbox, 3);
     this.chaptersGroupbox.Controls.Add(this.tableLayoutPanel3);
     this.chaptersGroupbox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chaptersGroupbox.Location = new System.Drawing.Point(3, 324);
     this.chaptersGroupbox.Name = "chaptersGroupbox";
     this.chaptersGroupbox.Size = new System.Drawing.Size(438, 48);
     this.chaptersGroupbox.TabIndex = 3;
     this.chaptersGroupbox.TabStop = false;
     this.chaptersGroupbox.Text = "Chapter";
     //
     // tableLayoutPanel3
     //
     this.tableLayoutPanel3.ColumnCount = 2;
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel3.Controls.Add(this.chaptersInputLabel, 0, 0);
     this.tableLayoutPanel3.Controls.Add(this.chapters, 1, 0);
     this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 17);
     this.tableLayoutPanel3.Name = "tableLayoutPanel3";
     this.tableLayoutPanel3.RowCount = 1;
     this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel3.Size = new System.Drawing.Size(432, 28);
     this.tableLayoutPanel3.TabIndex = 0;
     //
     // chaptersInputLabel
     //
     this.chaptersInputLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.chaptersInputLabel.AutoSize = true;
     this.chaptersInputLabel.Location = new System.Drawing.Point(3, 7);
     this.chaptersInputLabel.Name = "chaptersInputLabel";
     this.chaptersInputLabel.Size = new System.Drawing.Size(70, 13);
     this.chaptersInputLabel.TabIndex = 0;
     this.chaptersInputLabel.Text = "Chapters File";
     //
     // chapters
     //
     this.chapters.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.chapters.Filename = "";
     this.chapters.Filter = "";
     this.chapters.FilterIndex = 0;
     this.chapters.FolderMode = false;
     this.chapters.Location = new System.Drawing.Point(79, 3);
     this.chapters.Name = "chapters";
     this.chapters.ReadOnly = true;
     this.chapters.SaveMode = false;
     this.chapters.Size = new System.Drawing.Size(350, 22);
     this.chapters.TabIndex = 1;
     this.chapters.Title = null;
     this.chapters.FileSelected += new MeGUI.FileBarEventHandler(this.chapters_FileSelected);
     //
     // outputGroupbox
     //
     this.outputGroupbox.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.outputGroupbox, 3);
     this.outputGroupbox.Controls.Add(this.tableLayoutPanel4);
     this.outputGroupbox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.outputGroupbox.Location = new System.Drawing.Point(3, 378);
     this.outputGroupbox.Name = "outputGroupbox";
     this.outputGroupbox.Size = new System.Drawing.Size(438, 141);
     this.outputGroupbox.TabIndex = 4;
     this.outputGroupbox.TabStop = false;
     this.outputGroupbox.Text = "Output";
     //
     // tableLayoutPanel4
     //
     this.tableLayoutPanel4.AutoSize = true;
     this.tableLayoutPanel4.ColumnCount = 2;
     this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel4.Controls.Add(this.lbContainer, 0, 4);
     this.tableLayoutPanel4.Controls.Add(this.label1, 0, 2);
     this.tableLayoutPanel4.Controls.Add(this.muxedOutputLabel, 0, 0);
     this.tableLayoutPanel4.Controls.Add(this.splitting, 1, 1);
     this.tableLayoutPanel4.Controls.Add(this.splittingLabel, 0, 1);
     this.tableLayoutPanel4.Controls.Add(this.output, 1, 0);
     this.tableLayoutPanel4.Controls.Add(this.cbType, 1, 2);
     this.tableLayoutPanel4.Controls.Add(this.cbContainer, 1, 4);
     this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 17);
     this.tableLayoutPanel4.Name = "tableLayoutPanel4";
     this.tableLayoutPanel4.RowCount = 5;
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel4.Size = new System.Drawing.Size(432, 121);
     this.tableLayoutPanel4.TabIndex = 0;
     //
     // lbContainer
     //
     this.lbContainer.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.lbContainer.AutoSize = true;
     this.lbContainer.Location = new System.Drawing.Point(3, 101);
     this.lbContainer.Name = "lbContainer";
     this.lbContainer.Size = new System.Drawing.Size(54, 13);
     this.lbContainer.TabIndex = 11;
     this.lbContainer.Text = "Container";
     this.lbContainer.Visible = false;
     //
     // label1
     //
     this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(3, 74);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(66, 13);
     this.label1.TabIndex = 9;
     this.label1.Text = "Device Type";
     //
     // muxedOutputLabel
     //
     this.muxedOutputLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.muxedOutputLabel.AutoSize = true;
     this.muxedOutputLabel.Location = new System.Drawing.Point(3, 9);
     this.muxedOutputLabel.Name = "muxedOutputLabel";
     this.muxedOutputLabel.Size = new System.Drawing.Size(76, 13);
     this.muxedOutputLabel.TabIndex = 0;
     this.muxedOutputLabel.Text = "Muxed Output";
     //
     // splitting
     //
     this.splitting.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.splitting.CustomSizes = new MeGUI.core.util.FileSize[0];
     this.splitting.Location = new System.Drawing.Point(85, 35);
     this.splitting.MaximumSize = new System.Drawing.Size(1000, 29);
     this.splitting.MinimumSize = new System.Drawing.Size(64, 29);
     this.splitting.Name = "splitting";
     this.splitting.NullString = "No splitting";
     this.splitting.SelectedIndex = 0;
     this.splitting.Size = new System.Drawing.Size(344, 29);
     this.splitting.TabIndex = 3;
     //
     // splittingLabel
     //
     this.splittingLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.splittingLabel.AutoSize = true;
     this.splittingLabel.Location = new System.Drawing.Point(3, 43);
     this.splittingLabel.Name = "splittingLabel";
     this.splittingLabel.Size = new System.Drawing.Size(45, 13);
     this.splittingLabel.TabIndex = 2;
     this.splittingLabel.Text = "Splitting";
     //
     // output
     //
     this.output.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.output.Filename = "";
     this.output.Filter = null;
     this.output.FilterIndex = 0;
     this.output.FolderMode = false;
     this.output.Location = new System.Drawing.Point(85, 3);
     this.output.Name = "output";
     this.output.ReadOnly = false;
     this.output.SaveMode = true;
     this.output.Size = new System.Drawing.Size(344, 26);
     this.output.TabIndex = 1;
     this.output.Title = null;
     this.output.Click += new System.EventHandler(this.output_Click);
     //
     // cbType
     //
     this.cbType.Dock = System.Windows.Forms.DockStyle.Left;
     this.cbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbType.FormattingEnabled = true;
     this.cbType.Location = new System.Drawing.Point(85, 70);
     this.cbType.Name = "cbType";
     this.cbType.Size = new System.Drawing.Size(121, 21);
     this.cbType.TabIndex = 7;
     //
     // cbContainer
     //
     this.cbContainer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbContainer.FormattingEnabled = true;
     this.cbContainer.Location = new System.Drawing.Point(85, 97);
     this.cbContainer.Name = "cbContainer";
     this.cbContainer.Size = new System.Drawing.Size(121, 21);
     this.cbContainer.TabIndex = 10;
     this.cbContainer.Visible = false;
     this.cbContainer.SelectedIndexChanged += new System.EventHandler(this.cbContainer_SelectedIndexChanged);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(376, 531);
     this.cancelButton.Margin = new System.Windows.Forms.Padding(12, 9, 12, 9);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(56, 23);
     this.cancelButton.TabIndex = 6;
     this.cancelButton.Text = "&Cancel";
     //
     // audioPanel
     //
     this.tableLayoutPanel1.SetColumnSpan(this.audioPanel, 3);
     this.audioPanel.ContextMenuStrip = this.audioMenu;
     this.audioPanel.Controls.Add(this.audio);
     this.audioPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.audioPanel.Location = new System.Drawing.Point(3, 99);
     this.audioPanel.Name = "audioPanel";
     this.audioPanel.Size = new System.Drawing.Size(438, 115);
     this.audioPanel.TabIndex = 1;
     //
     // audioMenu
     //
     this.audioMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.audioAddTrack,
     this.audioRemoveTrack});
     this.audioMenu.Name = "audioMenu";
     this.audioMenu.Size = new System.Drawing.Size(147, 48);
     this.audioMenu.Opening += new System.ComponentModel.CancelEventHandler(this.audioMenu_Opening);
     //
     // audioAddTrack
     //
     this.audioAddTrack.Name = "audioAddTrack";
     this.audioAddTrack.Size = new System.Drawing.Size(146, 22);
     this.audioAddTrack.Text = "Add track";
     this.audioAddTrack.Click += new System.EventHandler(this.audioAddTrack_Click);
     //
     // audioRemoveTrack
     //
     this.audioRemoveTrack.Name = "audioRemoveTrack";
     this.audioRemoveTrack.Size = new System.Drawing.Size(146, 22);
     this.audioRemoveTrack.Text = "Remove track";
     this.audioRemoveTrack.Click += new System.EventHandler(this.audioRemoveTrack_Click);
     //
     // audio
     //
     this.audio.Controls.Add(this.audioPage1);
     this.audio.Dock = System.Windows.Forms.DockStyle.Fill;
     this.audio.Location = new System.Drawing.Point(0, 0);
     this.audio.Name = "audio";
     this.audio.SelectedIndex = 0;
     this.audio.Size = new System.Drawing.Size(438, 115);
     this.audio.TabIndex = 0;
     //
     // audioPage1
     //
     this.audioPage1.Controls.Add(this.muxStreamControl2);
     this.audioPage1.Location = new System.Drawing.Point(4, 22);
     this.audioPage1.Name = "audioPage1";
     this.audioPage1.Padding = new System.Windows.Forms.Padding(3);
     this.audioPage1.Size = new System.Drawing.Size(430, 89);
     this.audioPage1.TabIndex = 0;
     this.audioPage1.Text = "Audio 1";
     this.audioPage1.UseVisualStyleBackColor = true;
     //
     // muxStreamControl2
     //
     this.muxStreamControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.muxStreamControl2.Filter = null;
     this.muxStreamControl2.Location = new System.Drawing.Point(3, 3);
     this.muxStreamControl2.Name = "muxStreamControl2";
     this.muxStreamControl2.ShowDelay = true;
     this.muxStreamControl2.Size = new System.Drawing.Size(424, 83);
     this.muxStreamControl2.TabIndex = 0;
     this.muxStreamControl2.FileUpdated += new System.EventHandler(this.muxStreamControl2_FileUpdated);
     //
     // subtitleMenu
     //
     this.subtitleMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.subtitleAddTrack,
     this.subtitleRemoveTrack});
     this.subtitleMenu.Name = "subtitleMenu";
     this.subtitleMenu.Size = new System.Drawing.Size(147, 48);
     this.subtitleMenu.Opening += new System.ComponentModel.CancelEventHandler(this.subtitleMenu_Opening);
     //
     // subtitleAddTrack
     //
     this.subtitleAddTrack.Name = "subtitleAddTrack";
     this.subtitleAddTrack.Size = new System.Drawing.Size(146, 22);
     this.subtitleAddTrack.Text = "Add track";
     this.subtitleAddTrack.Click += new System.EventHandler(this.subtitleAddTrack_Click);
     //
     // subtitleRemoveTrack
     //
     this.subtitleRemoveTrack.Name = "subtitleRemoveTrack";
     this.subtitleRemoveTrack.Size = new System.Drawing.Size(146, 22);
     this.subtitleRemoveTrack.Text = "Remove track";
     this.subtitleRemoveTrack.Click += new System.EventHandler(this.subtitleRemoveTrack_Click);
     //
     // subtitlePanel
     //
     this.tableLayoutPanel1.SetColumnSpan(this.subtitlePanel, 3);
     this.subtitlePanel.ContextMenuStrip = this.subtitleMenu;
     this.subtitlePanel.Controls.Add(this.subtitles);
     this.subtitlePanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.subtitlePanel.Location = new System.Drawing.Point(3, 220);
     this.subtitlePanel.Name = "subtitlePanel";
     this.subtitlePanel.Size = new System.Drawing.Size(438, 98);
     this.subtitlePanel.TabIndex = 2;
     //
     // subtitles
     //
     this.subtitles.Controls.Add(this.subPage1);
     this.subtitles.Dock = System.Windows.Forms.DockStyle.Fill;
     this.subtitles.Location = new System.Drawing.Point(0, 0);
     this.subtitles.Name = "subtitles";
     this.subtitles.SelectedIndex = 0;
     this.subtitles.Size = new System.Drawing.Size(438, 98);
     this.subtitles.TabIndex = 0;
     //
     // subPage1
     //
     this.subPage1.Controls.Add(this.muxStreamControl1);
     this.subPage1.Location = new System.Drawing.Point(4, 22);
     this.subPage1.Name = "subPage1";
     this.subPage1.Padding = new System.Windows.Forms.Padding(3);
     this.subPage1.Size = new System.Drawing.Size(430, 72);
     this.subPage1.TabIndex = 0;
     this.subPage1.Text = "Subtitle 1";
     this.subPage1.UseVisualStyleBackColor = true;
     //
     // muxStreamControl1
     //
     this.muxStreamControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.muxStreamControl1.Filter = null;
     this.muxStreamControl1.Location = new System.Drawing.Point(3, 3);
     this.muxStreamControl1.Name = "muxStreamControl1";
     this.muxStreamControl1.ShowDelay = false;
     this.muxStreamControl1.Size = new System.Drawing.Size(424, 66);
     this.muxStreamControl1.TabIndex = 0;
     this.muxStreamControl1.FileUpdated += new System.EventHandler(this.muxStreamControl1_FileUpdated);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.AutoSize = true;
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.Controls.Add(this.helpButton1, 0, 5);
     this.tableLayoutPanel1.Controls.Add(this.videoGroupbox, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.audioPanel, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.subtitlePanel, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.cancelButton, 2, 5);
     this.tableLayoutPanel1.Controls.Add(this.chaptersGroupbox, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.muxButton, 1, 5);
     this.tableLayoutPanel1.Controls.Add(this.outputGroupbox, 0, 4);
     this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 6;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.Size = new System.Drawing.Size(444, 558);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // helpButton1
     //
     this.helpButton1.ArticleName = "Manual mux window";
     this.helpButton1.AutoSize = true;
     this.helpButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.helpButton1.Location = new System.Drawing.Point(3, 525);
     this.helpButton1.Name = "helpButton1";
     this.helpButton1.Size = new System.Drawing.Size(38, 23);
     this.helpButton1.TabIndex = 8;
     //
     // baseMuxWindow
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(444, 558);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "baseMuxWindow";
     this.ShowInTaskbar = false;
     this.Text = "Mux";
     this.videoGroupbox.ResumeLayout(false);
     this.videoGroupbox.PerformLayout();
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     this.chaptersGroupbox.ResumeLayout(false);
     this.tableLayoutPanel3.ResumeLayout(false);
     this.tableLayoutPanel3.PerformLayout();
     this.outputGroupbox.ResumeLayout(false);
     this.outputGroupbox.PerformLayout();
     this.tableLayoutPanel4.ResumeLayout(false);
     this.tableLayoutPanel4.PerformLayout();
     this.audioPanel.ResumeLayout(false);
     this.audioMenu.ResumeLayout(false);
     this.audio.ResumeLayout(false);
     this.audioPage1.ResumeLayout(false);
     this.subtitleMenu.ResumeLayout(false);
     this.subtitlePanel.ResumeLayout(false);
     this.subtitles.ResumeLayout(false);
     this.subPage1.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components          = new System.ComponentModel.Container();
     this.muxButton           = new System.Windows.Forms.Button();
     this.videoGroupbox       = new System.Windows.Forms.GroupBox();
     this.fps                 = new MeGUI.core.gui.FPSChooser();
     this.vInput              = new MeGUI.FileBar();
     this.videoName           = new System.Windows.Forms.TextBox();
     this.videoNameLabel      = new System.Windows.Forms.Label();
     this.MuxFPSLabel         = new System.Windows.Forms.Label();
     this.videoInputLabel     = new System.Windows.Forms.Label();
     this.chaptersGroupbox    = new System.Windows.Forms.GroupBox();
     this.chapters            = new MeGUI.FileBar();
     this.chaptersInputLabel  = new System.Windows.Forms.Label();
     this.outputGroupbox      = new System.Windows.Forms.GroupBox();
     this.splittingLabel      = new System.Windows.Forms.Label();
     this.splitting           = new MeGUI.core.gui.TargetSizeSCBox();
     this.output              = new MeGUI.FileBar();
     this.muxedOutputLabel    = new System.Windows.Forms.Label();
     this.openFileDialog      = new System.Windows.Forms.OpenFileDialog();
     this.cancelButton        = new System.Windows.Forms.Button();
     this.saveFileDialog      = new System.Windows.Forms.SaveFileDialog();
     this.audioPanel          = new System.Windows.Forms.Panel();
     this.audioMenu           = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.audioAddTrack       = new System.Windows.Forms.ToolStripMenuItem();
     this.audioRemoveTrack    = new System.Windows.Forms.ToolStripMenuItem();
     this.audio               = new System.Windows.Forms.TabControl();
     this.audioPage1          = new System.Windows.Forms.TabPage();
     this.muxStreamControl2   = new MeGUI.core.details.mux.MuxStreamControl();
     this.subtitleMenu        = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.subtitleAddTrack    = new System.Windows.Forms.ToolStripMenuItem();
     this.subtitleRemoveTrack = new System.Windows.Forms.ToolStripMenuItem();
     this.subtitlePanel       = new System.Windows.Forms.Panel();
     this.subtitles           = new System.Windows.Forms.TabControl();
     this.subPage1            = new System.Windows.Forms.TabPage();
     this.muxStreamControl1   = new MeGUI.core.details.mux.MuxStreamControl();
     this.videoGroupbox.SuspendLayout();
     this.chaptersGroupbox.SuspendLayout();
     this.outputGroupbox.SuspendLayout();
     this.audioPanel.SuspendLayout();
     this.audioMenu.SuspendLayout();
     this.audio.SuspendLayout();
     this.audioPage1.SuspendLayout();
     this.subtitleMenu.SuspendLayout();
     this.subtitlePanel.SuspendLayout();
     this.subtitles.SuspendLayout();
     this.subPage1.SuspendLayout();
     this.SuspendLayout();
     //
     // muxButton
     //
     this.muxButton.Location = new System.Drawing.Point(291, 458);
     this.muxButton.Name     = "muxButton";
     this.muxButton.Size     = new System.Drawing.Size(56, 23);
     this.muxButton.TabIndex = 26;
     this.muxButton.Text     = "Queue";
     this.muxButton.Click   += new System.EventHandler(this.muxButton_Click);
     //
     // videoGroupbox
     //
     this.videoGroupbox.Controls.Add(this.fps);
     this.videoGroupbox.Controls.Add(this.vInput);
     this.videoGroupbox.Controls.Add(this.videoName);
     this.videoGroupbox.Controls.Add(this.videoNameLabel);
     this.videoGroupbox.Controls.Add(this.MuxFPSLabel);
     this.videoGroupbox.Controls.Add(this.videoInputLabel);
     this.videoGroupbox.Location = new System.Drawing.Point(8, 7);
     this.videoGroupbox.Name     = "videoGroupbox";
     this.videoGroupbox.Size     = new System.Drawing.Size(424, 80);
     this.videoGroupbox.TabIndex = 22;
     this.videoGroupbox.TabStop  = false;
     this.videoGroupbox.Text     = "Video";
     //
     // fps
     //
     this.fps.Location          = new System.Drawing.Point(115, 45);
     this.fps.MaximumSize       = new System.Drawing.Size(1000, 29);
     this.fps.MinimumSize       = new System.Drawing.Size(64, 29);
     this.fps.Name              = "fps";
     this.fps.NullString        = "Not set";
     this.fps.SelectedIndex     = 0;
     this.fps.Size              = new System.Drawing.Size(119, 29);
     this.fps.TabIndex          = 36;
     this.fps.SelectionChanged += new MeGUI.StringChanged(this.fps_SelectionChanged);
     //
     // vInput
     //
     this.vInput.Filename      = "";
     this.vInput.Filter        = null;
     this.vInput.FolderMode    = false;
     this.vInput.Location      = new System.Drawing.Point(118, 13);
     this.vInput.Name          = "vInput";
     this.vInput.ReadOnly      = true;
     this.vInput.SaveMode      = false;
     this.vInput.Size          = new System.Drawing.Size(289, 26);
     this.vInput.TabIndex      = 35;
     this.vInput.Title         = null;
     this.vInput.FileSelected += new MeGUI.FileBarEventHandler(this.vInput_FileSelected);
     //
     // videoName
     //
     this.videoName.Location  = new System.Drawing.Point(283, 49);
     this.videoName.MaxLength = 100;
     this.videoName.Name      = "videoName";
     this.videoName.Size      = new System.Drawing.Size(95, 21);
     this.videoName.TabIndex  = 34;
     //
     // videoNameLabel
     //
     this.videoNameLabel.AutoSize = true;
     this.videoNameLabel.Location = new System.Drawing.Point(243, 53);
     this.videoNameLabel.Name     = "videoNameLabel";
     this.videoNameLabel.Size     = new System.Drawing.Size(34, 13);
     this.videoNameLabel.TabIndex = 33;
     this.videoNameLabel.Text     = "Name";
     //
     // MuxFPSLabel
     //
     this.MuxFPSLabel.Location = new System.Drawing.Point(16, 51);
     this.MuxFPSLabel.Name     = "MuxFPSLabel";
     this.MuxFPSLabel.Size     = new System.Drawing.Size(40, 16);
     this.MuxFPSLabel.TabIndex = 32;
     this.MuxFPSLabel.Text     = "FPS";
     //
     // videoInputLabel
     //
     this.videoInputLabel.Location = new System.Drawing.Point(16, 20);
     this.videoInputLabel.Name     = "videoInputLabel";
     this.videoInputLabel.Size     = new System.Drawing.Size(100, 13);
     this.videoInputLabel.TabIndex = 0;
     this.videoInputLabel.Text     = "Video Input";
     //
     // chaptersGroupbox
     //
     this.chaptersGroupbox.Controls.Add(this.chapters);
     this.chaptersGroupbox.Controls.Add(this.chaptersInputLabel);
     this.chaptersGroupbox.Location = new System.Drawing.Point(8, 318);
     this.chaptersGroupbox.Name     = "chaptersGroupbox";
     this.chaptersGroupbox.Size     = new System.Drawing.Size(424, 48);
     this.chaptersGroupbox.TabIndex = 25;
     this.chaptersGroupbox.TabStop  = false;
     this.chaptersGroupbox.Text     = "Chapter";
     //
     // chapters
     //
     this.chapters.Filename      = "";
     this.chapters.Filter        = "Chapter files (*.txt)|*.txt";
     this.chapters.FolderMode    = false;
     this.chapters.Location      = new System.Drawing.Point(118, 12);
     this.chapters.Name          = "chapters";
     this.chapters.ReadOnly      = true;
     this.chapters.SaveMode      = false;
     this.chapters.Size          = new System.Drawing.Size(289, 26);
     this.chapters.TabIndex      = 35;
     this.chapters.Title         = null;
     this.chapters.FileSelected += new MeGUI.FileBarEventHandler(this.chapters_FileSelected);
     //
     // chaptersInputLabel
     //
     this.chaptersInputLabel.Location = new System.Drawing.Point(16, 22);
     this.chaptersInputLabel.Name     = "chaptersInputLabel";
     this.chaptersInputLabel.Size     = new System.Drawing.Size(100, 16);
     this.chaptersInputLabel.TabIndex = 17;
     this.chaptersInputLabel.Text     = "Chapters File";
     //
     // outputGroupbox
     //
     this.outputGroupbox.Controls.Add(this.splittingLabel);
     this.outputGroupbox.Controls.Add(this.splitting);
     this.outputGroupbox.Controls.Add(this.output);
     this.outputGroupbox.Controls.Add(this.muxedOutputLabel);
     this.outputGroupbox.Location = new System.Drawing.Point(8, 372);
     this.outputGroupbox.Name     = "outputGroupbox";
     this.outputGroupbox.Size     = new System.Drawing.Size(424, 80);
     this.outputGroupbox.TabIndex = 28;
     this.outputGroupbox.TabStop  = false;
     this.outputGroupbox.Text     = "Output";
     //
     // splittingLabel
     //
     this.splittingLabel.AutoSize = true;
     this.splittingLabel.Location = new System.Drawing.Point(14, 53);
     this.splittingLabel.Name     = "splittingLabel";
     this.splittingLabel.Size     = new System.Drawing.Size(45, 13);
     this.splittingLabel.TabIndex = 37;
     this.splittingLabel.Text     = "Splitting";
     //
     // splitting
     //
     this.splitting.Location      = new System.Drawing.Point(115, 45);
     this.splitting.MaximumSize   = new System.Drawing.Size(1000, 29);
     this.splitting.MinimumSize   = new System.Drawing.Size(64, 29);
     this.splitting.Name          = "splitting";
     this.splitting.NullString    = "No splitting";
     this.splitting.SelectedIndex = 0;
     this.splitting.Size          = new System.Drawing.Size(181, 29);
     this.splitting.TabIndex      = 36;
     //
     // output
     //
     this.output.Filename      = "";
     this.output.Filter        = null;
     this.output.FolderMode    = false;
     this.output.Location      = new System.Drawing.Point(118, 13);
     this.output.Name          = "output";
     this.output.ReadOnly      = true;
     this.output.SaveMode      = true;
     this.output.Size          = new System.Drawing.Size(289, 26);
     this.output.TabIndex      = 35;
     this.output.Title         = null;
     this.output.FileSelected += new MeGUI.FileBarEventHandler(this.output_FileSelected);
     //
     // muxedOutputLabel
     //
     this.muxedOutputLabel.Location = new System.Drawing.Point(14, 23);
     this.muxedOutputLabel.Name     = "muxedOutputLabel";
     this.muxedOutputLabel.Size     = new System.Drawing.Size(100, 16);
     this.muxedOutputLabel.TabIndex = 17;
     this.muxedOutputLabel.Text     = "Muxed Output";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(376, 458);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(56, 23);
     this.cancelButton.TabIndex     = 29;
     this.cancelButton.Text         = "Cancel";
     //
     // audioPanel
     //
     this.audioPanel.ContextMenuStrip = this.audioMenu;
     this.audioPanel.Controls.Add(this.audio);
     this.audioPanel.Location = new System.Drawing.Point(8, 93);
     this.audioPanel.Name     = "audioPanel";
     this.audioPanel.Size     = new System.Drawing.Size(424, 115);
     this.audioPanel.TabIndex = 31;
     //
     // audioMenu
     //
     this.audioMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.audioAddTrack,
         this.audioRemoveTrack
     });
     this.audioMenu.Name     = "audioMenu";
     this.audioMenu.Size     = new System.Drawing.Size(152, 48);
     this.audioMenu.Opening += new System.ComponentModel.CancelEventHandler(this.audioMenu_Opening);
     //
     // audioAddTrack
     //
     this.audioAddTrack.Name   = "audioAddTrack";
     this.audioAddTrack.Size   = new System.Drawing.Size(151, 22);
     this.audioAddTrack.Text   = "Add track";
     this.audioAddTrack.Click += new System.EventHandler(this.audioAddTrack_Click);
     //
     // audioRemoveTrack
     //
     this.audioRemoveTrack.Name   = "audioRemoveTrack";
     this.audioRemoveTrack.Size   = new System.Drawing.Size(151, 22);
     this.audioRemoveTrack.Text   = "Remove track";
     this.audioRemoveTrack.Click += new System.EventHandler(this.audioRemoveTrack_Click);
     //
     // audio
     //
     this.audio.Controls.Add(this.audioPage1);
     this.audio.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.audio.Location      = new System.Drawing.Point(0, 0);
     this.audio.Name          = "audio";
     this.audio.SelectedIndex = 0;
     this.audio.Size          = new System.Drawing.Size(424, 115);
     this.audio.TabIndex      = 32;
     //
     // audioPage1
     //
     this.audioPage1.Controls.Add(this.muxStreamControl2);
     this.audioPage1.Location = new System.Drawing.Point(4, 22);
     this.audioPage1.Name     = "audioPage1";
     this.audioPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.audioPage1.Size     = new System.Drawing.Size(416, 89);
     this.audioPage1.TabIndex = 0;
     this.audioPage1.Text     = "Audio 1";
     this.audioPage1.UseVisualStyleBackColor = true;
     //
     // muxStreamControl2
     //
     this.muxStreamControl2.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.muxStreamControl2.Filter       = null;
     this.muxStreamControl2.Location     = new System.Drawing.Point(3, 3);
     this.muxStreamControl2.Name         = "muxStreamControl2";
     this.muxStreamControl2.ShowDelay    = true;
     this.muxStreamControl2.Size         = new System.Drawing.Size(410, 83);
     this.muxStreamControl2.TabIndex     = 0;
     this.muxStreamControl2.FileUpdated += new System.EventHandler(this.muxStreamControl2_FileUpdated);
     //
     // subtitleMenu
     //
     this.subtitleMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.subtitleAddTrack,
         this.subtitleRemoveTrack
     });
     this.subtitleMenu.Name     = "subtitleMenu";
     this.subtitleMenu.Size     = new System.Drawing.Size(152, 48);
     this.subtitleMenu.Opening += new System.ComponentModel.CancelEventHandler(this.subtitleMenu_Opening);
     //
     // subtitleAddTrack
     //
     this.subtitleAddTrack.Name   = "subtitleAddTrack";
     this.subtitleAddTrack.Size   = new System.Drawing.Size(151, 22);
     this.subtitleAddTrack.Text   = "Add track";
     this.subtitleAddTrack.Click += new System.EventHandler(this.subtitleAddTrack_Click);
     //
     // subtitleRemoveTrack
     //
     this.subtitleRemoveTrack.Name   = "subtitleRemoveTrack";
     this.subtitleRemoveTrack.Size   = new System.Drawing.Size(151, 22);
     this.subtitleRemoveTrack.Text   = "Remove track";
     this.subtitleRemoveTrack.Click += new System.EventHandler(this.subtitleRemoveTrack_Click);
     //
     // subtitlePanel
     //
     this.subtitlePanel.ContextMenuStrip = this.subtitleMenu;
     this.subtitlePanel.Controls.Add(this.subtitles);
     this.subtitlePanel.Location = new System.Drawing.Point(8, 214);
     this.subtitlePanel.Name     = "subtitlePanel";
     this.subtitlePanel.Size     = new System.Drawing.Size(424, 98);
     this.subtitlePanel.TabIndex = 34;
     //
     // subtitles
     //
     this.subtitles.Controls.Add(this.subPage1);
     this.subtitles.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.subtitles.Location      = new System.Drawing.Point(0, 0);
     this.subtitles.Name          = "subtitles";
     this.subtitles.SelectedIndex = 0;
     this.subtitles.Size          = new System.Drawing.Size(424, 98);
     this.subtitles.TabIndex      = 31;
     //
     // subPage1
     //
     this.subPage1.Controls.Add(this.muxStreamControl1);
     this.subPage1.Location = new System.Drawing.Point(4, 22);
     this.subPage1.Name     = "subPage1";
     this.subPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.subPage1.Size     = new System.Drawing.Size(416, 72);
     this.subPage1.TabIndex = 0;
     this.subPage1.Text     = "Subtitle 1";
     this.subPage1.UseVisualStyleBackColor = true;
     //
     // muxStreamControl1
     //
     this.muxStreamControl1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.muxStreamControl1.Filter       = null;
     this.muxStreamControl1.Location     = new System.Drawing.Point(3, 3);
     this.muxStreamControl1.Name         = "muxStreamControl1";
     this.muxStreamControl1.ShowDelay    = false;
     this.muxStreamControl1.Size         = new System.Drawing.Size(410, 66);
     this.muxStreamControl1.TabIndex     = 0;
     this.muxStreamControl1.FileUpdated += new System.EventHandler(this.muxStreamControl1_FileUpdated);
     //
     // baseMuxWindow
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(444, 493);
     this.Controls.Add(this.subtitlePanel);
     this.Controls.Add(this.audioPanel);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.outputGroupbox);
     this.Controls.Add(this.muxButton);
     this.Controls.Add(this.videoGroupbox);
     this.Controls.Add(this.chaptersGroupbox);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "baseMuxWindow";
     this.ShowInTaskbar   = false;
     this.Text            = "Mux";
     this.videoGroupbox.ResumeLayout(false);
     this.videoGroupbox.PerformLayout();
     this.chaptersGroupbox.ResumeLayout(false);
     this.outputGroupbox.ResumeLayout(false);
     this.outputGroupbox.PerformLayout();
     this.audioPanel.ResumeLayout(false);
     this.audioMenu.ResumeLayout(false);
     this.audio.ResumeLayout(false);
     this.audioPage1.ResumeLayout(false);
     this.subtitleMenu.ResumeLayout(false);
     this.subtitlePanel.ResumeLayout(false);
     this.subtitles.ResumeLayout(false);
     this.subPage1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label label1;
     this.AutomaticEncodingGroup = new System.Windows.Forms.GroupBox();
     this.videoSize             = new System.Windows.Forms.TextBox();
     this.label2                = new System.Windows.Forms.Label();
     this.projectedBitrateKBits = new System.Windows.Forms.TextBox();
     this.targetSize            = new MeGUI.core.gui.TargetSizeSCBox();
     this.noTargetRadio         = new System.Windows.Forms.RadioButton();
     this.averageBitrateRadio   = new System.Windows.Forms.RadioButton();
     this.FileSizeRadio         = new System.Windows.Forms.RadioButton();
     this.AverageBitrateLabel   = new System.Windows.Forms.Label();
     this.queueButton           = new System.Windows.Forms.Button();
     this.OutputGroupBox        = new System.Windows.Forms.GroupBox();
     this.splitting             = new MeGUI.core.gui.TargetSizeSCBox();
     this.container             = new System.Windows.Forms.ComboBox();
     this.containerLabel        = new System.Windows.Forms.Label();
     this.muxedOutputLabel      = new System.Windows.Forms.Label();
     this.muxedOutput           = new System.Windows.Forms.TextBox();
     this.muxedOutputButton     = new System.Windows.Forms.Button();
     this.cancelButton          = new System.Windows.Forms.Button();
     this.saveDialog            = new System.Windows.Forms.SaveFileDialog();
     this.addSubsNChapters      = new System.Windows.Forms.CheckBox();
     this.defaultToolTip        = new System.Windows.Forms.ToolTip(this.components);
     this.helpButton1           = new MeGUI.core.gui.HelpButton();
     label1 = new System.Windows.Forms.Label();
     this.AutomaticEncodingGroup.SuspendLayout();
     this.OutputGroupBox.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     label1.AutoSize = true;
     label1.Location = new System.Drawing.Point(191, 23);
     label1.Name     = "label1";
     label1.Size     = new System.Drawing.Size(49, 13);
     label1.TabIndex = 27;
     label1.Text     = "Splitting:";
     //
     // AutomaticEncodingGroup
     //
     this.AutomaticEncodingGroup.Controls.Add(this.videoSize);
     this.AutomaticEncodingGroup.Controls.Add(this.label2);
     this.AutomaticEncodingGroup.Controls.Add(this.projectedBitrateKBits);
     this.AutomaticEncodingGroup.Controls.Add(this.targetSize);
     this.AutomaticEncodingGroup.Controls.Add(this.noTargetRadio);
     this.AutomaticEncodingGroup.Controls.Add(this.averageBitrateRadio);
     this.AutomaticEncodingGroup.Controls.Add(this.FileSizeRadio);
     this.AutomaticEncodingGroup.Controls.Add(this.AverageBitrateLabel);
     this.AutomaticEncodingGroup.Location = new System.Drawing.Point(12, 86);
     this.AutomaticEncodingGroup.Name     = "AutomaticEncodingGroup";
     this.AutomaticEncodingGroup.Size     = new System.Drawing.Size(456, 106);
     this.AutomaticEncodingGroup.TabIndex = 17;
     this.AutomaticEncodingGroup.TabStop  = false;
     this.AutomaticEncodingGroup.Text     = "Size and Bitrate";
     //
     // videoSize
     //
     this.videoSize.Location = new System.Drawing.Point(310, 48);
     this.videoSize.Name     = "videoSize";
     this.videoSize.ReadOnly = true;
     this.videoSize.Size     = new System.Drawing.Size(137, 21);
     this.videoSize.TabIndex = 28;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(246, 51);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(58, 13);
     this.label2.TabIndex = 27;
     this.label2.Text     = "Video size:";
     //
     // projectedBitrateKBits
     //
     this.projectedBitrateKBits.Enabled      = false;
     this.projectedBitrateKBits.Location     = new System.Drawing.Point(119, 45);
     this.projectedBitrateKBits.Name         = "projectedBitrateKBits";
     this.projectedBitrateKBits.Size         = new System.Drawing.Size(85, 21);
     this.projectedBitrateKBits.TabIndex     = 9;
     this.projectedBitrateKBits.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.textField_KeyPress);
     this.projectedBitrateKBits.TextChanged += new System.EventHandler(this.projectedBitrate_TextChanged);
     //
     // targetSize
     //
     this.targetSize.Location          = new System.Drawing.Point(116, 15);
     this.targetSize.MaximumSize       = new System.Drawing.Size(1000, 29);
     this.targetSize.MinimumSize       = new System.Drawing.Size(64, 29);
     this.targetSize.Name              = "targetSize";
     this.targetSize.NullString        = "Not calculated";
     this.targetSize.SelectedIndex     = 0;
     this.targetSize.Size              = new System.Drawing.Size(208, 29);
     this.targetSize.TabIndex          = 25;
     this.targetSize.SelectionChanged += new MeGUI.StringChanged(this.targetSize_SelectionChanged);
     //
     // noTargetRadio
     //
     this.noTargetRadio.Location = new System.Drawing.Point(16, 75);
     this.noTargetRadio.Name     = "noTargetRadio";
     this.noTargetRadio.Size     = new System.Drawing.Size(218, 18);
     this.noTargetRadio.TabIndex = 22;
     this.noTargetRadio.TabStop  = true;
     this.noTargetRadio.Text     = "No Target Size (use profile settings)";
     this.defaultToolTip.SetToolTip(this.noTargetRadio, "Checking this allows the use of a previously defined bitrate or a non bitrate mod" +
                                    "e (CQ, CRF)");
     this.noTargetRadio.UseVisualStyleBackColor = true;
     this.noTargetRadio.CheckedChanged         += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // averageBitrateRadio
     //
     this.averageBitrateRadio.AutoSize        = true;
     this.averageBitrateRadio.Location        = new System.Drawing.Point(16, 49);
     this.averageBitrateRadio.Name            = "averageBitrateRadio";
     this.averageBitrateRadio.Size            = new System.Drawing.Size(101, 17);
     this.averageBitrateRadio.TabIndex        = 16;
     this.averageBitrateRadio.Text            = "Average Bitrate";
     this.averageBitrateRadio.CheckedChanged += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // FileSizeRadio
     //
     this.FileSizeRadio.Checked         = true;
     this.FileSizeRadio.Location        = new System.Drawing.Point(16, 20);
     this.FileSizeRadio.Name            = "FileSizeRadio";
     this.FileSizeRadio.Size            = new System.Drawing.Size(100, 18);
     this.FileSizeRadio.TabIndex        = 15;
     this.FileSizeRadio.TabStop         = true;
     this.FileSizeRadio.Text            = "File Size";
     this.FileSizeRadio.CheckedChanged += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // AverageBitrateLabel
     //
     this.AverageBitrateLabel.AutoSize = true;
     this.AverageBitrateLabel.Location = new System.Drawing.Point(207, 51);
     this.AverageBitrateLabel.Name     = "AverageBitrateLabel";
     this.AverageBitrateLabel.Size     = new System.Drawing.Size(33, 13);
     this.AverageBitrateLabel.TabIndex = 10;
     this.AverageBitrateLabel.Text     = "kbit/s";
     //
     // queueButton
     //
     this.queueButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.queueButton.AutoSize     = true;
     this.queueButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.queueButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.queueButton.Location     = new System.Drawing.Point(358, 201);
     this.queueButton.Name         = "queueButton";
     this.queueButton.Size         = new System.Drawing.Size(49, 23);
     this.queueButton.TabIndex     = 8;
     this.queueButton.Text         = "Queue";
     this.queueButton.Click       += new System.EventHandler(this.queueButton_Click);
     //
     // OutputGroupBox
     //
     this.OutputGroupBox.Controls.Add(label1);
     this.OutputGroupBox.Controls.Add(this.splitting);
     this.OutputGroupBox.Controls.Add(this.container);
     this.OutputGroupBox.Controls.Add(this.containerLabel);
     this.OutputGroupBox.Controls.Add(this.muxedOutputLabel);
     this.OutputGroupBox.Controls.Add(this.muxedOutput);
     this.OutputGroupBox.Controls.Add(this.muxedOutputButton);
     this.OutputGroupBox.Location = new System.Drawing.Point(10, 4);
     this.OutputGroupBox.Name     = "OutputGroupBox";
     this.OutputGroupBox.Size     = new System.Drawing.Size(458, 76);
     this.OutputGroupBox.TabIndex = 18;
     this.OutputGroupBox.TabStop  = false;
     this.OutputGroupBox.Text     = "Output Options";
     //
     // splitting
     //
     this.splitting.Location      = new System.Drawing.Point(243, 16);
     this.splitting.MaximumSize   = new System.Drawing.Size(1000, 29);
     this.splitting.MinimumSize   = new System.Drawing.Size(64, 29);
     this.splitting.Name          = "splitting";
     this.splitting.NullString    = "No splitting";
     this.splitting.SelectedIndex = 0;
     this.splitting.Size          = new System.Drawing.Size(208, 29);
     this.splitting.TabIndex      = 26;
     //
     // container
     //
     this.container.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.container.FormattingEnabled = true;
     this.container.Location          = new System.Drawing.Point(97, 20);
     this.container.Name                  = "container";
     this.container.Size                  = new System.Drawing.Size(85, 21);
     this.container.TabIndex              = 25;
     this.container.SelectedIndexChanged += new System.EventHandler(this.container_SelectedIndexChanged);
     //
     // containerLabel
     //
     this.containerLabel.AutoSize = true;
     this.containerLabel.Location = new System.Drawing.Point(6, 23);
     this.containerLabel.Name     = "containerLabel";
     this.containerLabel.Size     = new System.Drawing.Size(54, 13);
     this.containerLabel.TabIndex = 24;
     this.containerLabel.Text     = "Container";
     //
     // muxedOutputLabel
     //
     this.muxedOutputLabel.AutoSize = true;
     this.muxedOutputLabel.Location = new System.Drawing.Point(6, 51);
     this.muxedOutputLabel.Name     = "muxedOutputLabel";
     this.muxedOutputLabel.Size     = new System.Drawing.Size(82, 13);
     this.muxedOutputLabel.TabIndex = 23;
     this.muxedOutputLabel.Text     = "Name of output";
     //
     // muxedOutput
     //
     this.muxedOutput.Location = new System.Drawing.Point(97, 48);
     this.muxedOutput.Name     = "muxedOutput";
     this.muxedOutput.ReadOnly = true;
     this.muxedOutput.Size     = new System.Drawing.Size(322, 21);
     this.muxedOutput.TabIndex = 0;
     //
     // muxedOutputButton
     //
     this.muxedOutputButton.Location = new System.Drawing.Point(425, 46);
     this.muxedOutputButton.Name     = "muxedOutputButton";
     this.muxedOutputButton.Size     = new System.Drawing.Size(24, 23);
     this.muxedOutputButton.TabIndex = 19;
     this.muxedOutputButton.Text     = "...";
     this.muxedOutputButton.Click   += new System.EventHandler(this.muxedOutputButton_Click);
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cancelButton.AutoSize     = true;
     this.cancelButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(413, 201);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(49, 23);
     this.cancelButton.TabIndex     = 19;
     this.cancelButton.Text         = "Cancel";
     //
     // addSubsNChapters
     //
     this.addSubsNChapters.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.addSubsNChapters.Location = new System.Drawing.Point(88, 201);
     this.addSubsNChapters.Name     = "addSubsNChapters";
     this.addSubsNChapters.Size     = new System.Drawing.Size(256, 24);
     this.addSubsNChapters.TabIndex = 20;
     this.addSubsNChapters.Text     = "Add additional content (audio, subs, chapters)";
     this.defaultToolTip.SetToolTip(this.addSubsNChapters, "Checking this option allows you to specify pre-encoded audio and subtitle files t" +
                                    "o be added to your output, as well as assign audio/subtitle languages and assign" +
                                    " a chapter file");
     //
     // helpButton1
     //
     this.helpButton1.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.helpButton1.ArticleName  = "AutoEncode window";
     this.helpButton1.AutoSize     = true;
     this.helpButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.helpButton1.Location     = new System.Drawing.Point(10, 201);
     this.helpButton1.Name         = "helpButton1";
     this.helpButton1.Size         = new System.Drawing.Size(38, 23);
     this.helpButton1.TabIndex     = 21;
     //
     // AutoEncodeWindow
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(471, 231);
     this.Controls.Add(this.helpButton1);
     this.Controls.Add(this.addSubsNChapters);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.OutputGroupBox);
     this.Controls.Add(this.AutomaticEncodingGroup);
     this.Controls.Add(this.queueButton);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "AutoEncodeWindow";
     this.ShowInTaskbar   = false;
     this.Text            = "MeGUI - Automatic Encoding";
     this.AutomaticEncodingGroup.ResumeLayout(false);
     this.AutomaticEncodingGroup.PerformLayout();
     this.OutputGroupBox.ResumeLayout(false);
     this.OutputGroupBox.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label label1;
     this.AutomaticEncodingGroup = new System.Windows.Forms.GroupBox();
     this.videoSize = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.projectedBitrateKBits = new System.Windows.Forms.TextBox();
     this.targetSize = new MeGUI.core.gui.TargetSizeSCBox();
     this.noTargetRadio = new System.Windows.Forms.RadioButton();
     this.averageBitrateRadio = new System.Windows.Forms.RadioButton();
     this.FileSizeRadio = new System.Windows.Forms.RadioButton();
     this.AverageBitrateLabel = new System.Windows.Forms.Label();
     this.queueButton = new System.Windows.Forms.Button();
     this.OutputGroupBox = new System.Windows.Forms.GroupBox();
     this.device = new System.Windows.Forms.ComboBox();
     this.DeviceLabel = new System.Windows.Forms.Label();
     this.splitting = new MeGUI.core.gui.TargetSizeSCBox();
     this.container = new System.Windows.Forms.ComboBox();
     this.containerLabel = new System.Windows.Forms.Label();
     this.muxedOutputLabel = new System.Windows.Forms.Label();
     this.muxedOutput = new MeGUI.FileBar();
     this.cancelButton = new System.Windows.Forms.Button();
     this.addSubsNChapters = new System.Windows.Forms.CheckBox();
     this.defaultToolTip = new System.Windows.Forms.ToolTip(this.components);
     this.helpButton1 = new MeGUI.core.gui.HelpButton();
     label1 = new System.Windows.Forms.Label();
     this.AutomaticEncodingGroup.SuspendLayout();
     this.OutputGroupBox.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     label1.AutoSize = true;
     label1.Location = new System.Drawing.Point(191, 23);
     label1.Name = "label1";
     label1.Size = new System.Drawing.Size(49, 13);
     label1.TabIndex = 27;
     label1.Text = "Splitting:";
     //
     // AutomaticEncodingGroup
     //
     this.AutomaticEncodingGroup.Controls.Add(this.videoSize);
     this.AutomaticEncodingGroup.Controls.Add(this.label2);
     this.AutomaticEncodingGroup.Controls.Add(this.projectedBitrateKBits);
     this.AutomaticEncodingGroup.Controls.Add(this.targetSize);
     this.AutomaticEncodingGroup.Controls.Add(this.noTargetRadio);
     this.AutomaticEncodingGroup.Controls.Add(this.averageBitrateRadio);
     this.AutomaticEncodingGroup.Controls.Add(this.FileSizeRadio);
     this.AutomaticEncodingGroup.Controls.Add(this.AverageBitrateLabel);
     this.AutomaticEncodingGroup.Location = new System.Drawing.Point(10, 116);
     this.AutomaticEncodingGroup.Name = "AutomaticEncodingGroup";
     this.AutomaticEncodingGroup.Size = new System.Drawing.Size(456, 106);
     this.AutomaticEncodingGroup.TabIndex = 17;
     this.AutomaticEncodingGroup.TabStop = false;
     this.AutomaticEncodingGroup.Text = "Size and Bitrate";
     //
     // videoSize
     //
     this.videoSize.Location = new System.Drawing.Point(310, 48);
     this.videoSize.Name = "videoSize";
     this.videoSize.ReadOnly = true;
     this.videoSize.Size = new System.Drawing.Size(137, 21);
     this.videoSize.TabIndex = 28;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(246, 51);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(58, 13);
     this.label2.TabIndex = 27;
     this.label2.Text = "Video size:";
     //
     // projectedBitrateKBits
     //
     this.projectedBitrateKBits.Enabled = false;
     this.projectedBitrateKBits.Location = new System.Drawing.Point(119, 45);
     this.projectedBitrateKBits.Name = "projectedBitrateKBits";
     this.projectedBitrateKBits.Size = new System.Drawing.Size(85, 21);
     this.projectedBitrateKBits.TabIndex = 9;
     this.projectedBitrateKBits.TextChanged += new System.EventHandler(this.projectedBitrate_TextChanged);
     this.projectedBitrateKBits.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textField_KeyPress);
     //
     // targetSize
     //
     this.targetSize.CustomSizes = new MeGUI.core.util.FileSize[0];
     this.targetSize.Location = new System.Drawing.Point(116, 15);
     this.targetSize.MaximumSize = new System.Drawing.Size(1000, 29);
     this.targetSize.MinimumSize = new System.Drawing.Size(64, 29);
     this.targetSize.Name = "targetSize";
     this.targetSize.NullString = "Not calculated";
     this.targetSize.SelectedIndex = 0;
     this.targetSize.Size = new System.Drawing.Size(208, 29);
     this.targetSize.TabIndex = 25;
     this.targetSize.SelectionChanged += new MeGUI.StringChanged(this.targetSize_SelectionChanged);
     //
     // noTargetRadio
     //
     this.noTargetRadio.Location = new System.Drawing.Point(16, 75);
     this.noTargetRadio.Name = "noTargetRadio";
     this.noTargetRadio.Size = new System.Drawing.Size(218, 18);
     this.noTargetRadio.TabIndex = 22;
     this.noTargetRadio.TabStop = true;
     this.noTargetRadio.Text = "No Target Size (use profile settings)";
     this.defaultToolTip.SetToolTip(this.noTargetRadio, "Checking this allows the use of a previously defined bitrate or a non bitrate mod" +
             "e (CQ, CRF)");
     this.noTargetRadio.UseVisualStyleBackColor = true;
     this.noTargetRadio.CheckedChanged += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // averageBitrateRadio
     //
     this.averageBitrateRadio.AutoSize = true;
     this.averageBitrateRadio.Location = new System.Drawing.Point(16, 49);
     this.averageBitrateRadio.Name = "averageBitrateRadio";
     this.averageBitrateRadio.Size = new System.Drawing.Size(101, 17);
     this.averageBitrateRadio.TabIndex = 16;
     this.averageBitrateRadio.Text = "Average Bitrate";
     this.averageBitrateRadio.CheckedChanged += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // FileSizeRadio
     //
     this.FileSizeRadio.Checked = true;
     this.FileSizeRadio.Location = new System.Drawing.Point(16, 20);
     this.FileSizeRadio.Name = "FileSizeRadio";
     this.FileSizeRadio.Size = new System.Drawing.Size(100, 18);
     this.FileSizeRadio.TabIndex = 15;
     this.FileSizeRadio.TabStop = true;
     this.FileSizeRadio.Text = "File Size";
     this.FileSizeRadio.CheckedChanged += new System.EventHandler(this.calculationMode_CheckedChanged);
     //
     // AverageBitrateLabel
     //
     this.AverageBitrateLabel.AutoSize = true;
     this.AverageBitrateLabel.Location = new System.Drawing.Point(207, 51);
     this.AverageBitrateLabel.Name = "AverageBitrateLabel";
     this.AverageBitrateLabel.Size = new System.Drawing.Size(33, 13);
     this.AverageBitrateLabel.TabIndex = 10;
     this.AverageBitrateLabel.Text = "kbit/s";
     //
     // queueButton
     //
     this.queueButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.queueButton.AutoSize = true;
     this.queueButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.queueButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.queueButton.Location = new System.Drawing.Point(358, 228);
     this.queueButton.Name = "queueButton";
     this.queueButton.Size = new System.Drawing.Size(49, 23);
     this.queueButton.TabIndex = 8;
     this.queueButton.Text = "Queue";
     this.queueButton.Click += new System.EventHandler(this.queueButton_Click);
     //
     // OutputGroupBox
     //
     this.OutputGroupBox.Controls.Add(this.device);
     this.OutputGroupBox.Controls.Add(this.DeviceLabel);
     this.OutputGroupBox.Controls.Add(label1);
     this.OutputGroupBox.Controls.Add(this.splitting);
     this.OutputGroupBox.Controls.Add(this.container);
     this.OutputGroupBox.Controls.Add(this.containerLabel);
     this.OutputGroupBox.Controls.Add(this.muxedOutputLabel);
     this.OutputGroupBox.Controls.Add(this.muxedOutput);
     this.OutputGroupBox.Location = new System.Drawing.Point(10, 4);
     this.OutputGroupBox.Name = "OutputGroupBox";
     this.OutputGroupBox.Size = new System.Drawing.Size(458, 106);
     this.OutputGroupBox.TabIndex = 18;
     this.OutputGroupBox.TabStop = false;
     this.OutputGroupBox.Text = "Output Options";
     //
     // device
     //
     this.device.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.device.FormattingEnabled = true;
     this.device.Items.AddRange(new object[] {
     "Standard"});
     this.device.Location = new System.Drawing.Point(97, 47);
     this.device.Name = "device";
     this.device.Size = new System.Drawing.Size(85, 21);
     this.device.TabIndex = 38;
     //
     // DeviceLabel
     //
     this.DeviceLabel.AutoSize = true;
     this.DeviceLabel.Location = new System.Drawing.Point(6, 51);
     this.DeviceLabel.Name = "DeviceLabel";
     this.DeviceLabel.Size = new System.Drawing.Size(39, 13);
     this.DeviceLabel.TabIndex = 37;
     this.DeviceLabel.Text = "Device";
     //
     // splitting
     //
     this.splitting.CustomSizes = new MeGUI.core.util.FileSize[0];
     this.splitting.Location = new System.Drawing.Point(243, 16);
     this.splitting.MaximumSize = new System.Drawing.Size(1000, 29);
     this.splitting.MinimumSize = new System.Drawing.Size(64, 29);
     this.splitting.Name = "splitting";
     this.splitting.NullString = "No splitting";
     this.splitting.SelectedIndex = 0;
     this.splitting.Size = new System.Drawing.Size(208, 29);
     this.splitting.TabIndex = 26;
     //
     // container
     //
     this.container.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.container.FormattingEnabled = true;
     this.container.Location = new System.Drawing.Point(97, 20);
     this.container.Name = "container";
     this.container.Size = new System.Drawing.Size(85, 21);
     this.container.TabIndex = 25;
     this.container.SelectedIndexChanged += new System.EventHandler(this.container_SelectedIndexChanged);
     //
     // containerLabel
     //
     this.containerLabel.AutoSize = true;
     this.containerLabel.Location = new System.Drawing.Point(6, 23);
     this.containerLabel.Name = "containerLabel";
     this.containerLabel.Size = new System.Drawing.Size(54, 13);
     this.containerLabel.TabIndex = 24;
     this.containerLabel.Text = "Container";
     //
     // muxedOutputLabel
     //
     this.muxedOutputLabel.AutoSize = true;
     this.muxedOutputLabel.Location = new System.Drawing.Point(6, 81);
     this.muxedOutputLabel.Name = "muxedOutputLabel";
     this.muxedOutputLabel.Size = new System.Drawing.Size(82, 13);
     this.muxedOutputLabel.TabIndex = 23;
     this.muxedOutputLabel.Text = "Name of output";
     //
     // muxedOutput
     //
     this.muxedOutput.Filename = "";
     this.muxedOutput.Filter = null;
     this.muxedOutput.FilterIndex = 0;
     this.muxedOutput.FolderMode = false;
     this.muxedOutput.Location = new System.Drawing.Point(97, 74);
     this.muxedOutput.Name = "muxedOutput";
     this.muxedOutput.ReadOnly = false;
     this.muxedOutput.SaveMode = true;
     this.muxedOutput.Size = new System.Drawing.Size(352, 26);
     this.muxedOutput.TabIndex = 36;
     this.muxedOutput.Title = null;
     //
     // cancelButton
     //
     this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cancelButton.AutoSize = true;
     this.cancelButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(413, 228);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(49, 23);
     this.cancelButton.TabIndex = 19;
     this.cancelButton.Text = "Cancel";
     //
     // addSubsNChapters
     //
     this.addSubsNChapters.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.addSubsNChapters.Location = new System.Drawing.Point(88, 228);
     this.addSubsNChapters.Name = "addSubsNChapters";
     this.addSubsNChapters.Size = new System.Drawing.Size(256, 24);
     this.addSubsNChapters.TabIndex = 20;
     this.addSubsNChapters.Text = "Add additional content (audio, subs, chapters)";
     this.defaultToolTip.SetToolTip(this.addSubsNChapters, "Checking this option allows you to specify pre-encoded audio and subtitle files t" +
             "o be added to your output, as well as assign audio/subtitle languages and assign" +
             " a chapter file");
     //
     // helpButton1
     //
     this.helpButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.helpButton1.ArticleName = "AutoEncode window";
     this.helpButton1.AutoSize = true;
     this.helpButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.helpButton1.Location = new System.Drawing.Point(10, 228);
     this.helpButton1.Name = "helpButton1";
     this.helpButton1.Size = new System.Drawing.Size(38, 23);
     this.helpButton1.TabIndex = 21;
     //
     // AutoEncodeWindow
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(471, 258);
     this.Controls.Add(this.helpButton1);
     this.Controls.Add(this.addSubsNChapters);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.OutputGroupBox);
     this.Controls.Add(this.AutomaticEncodingGroup);
     this.Controls.Add(this.queueButton);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "AutoEncodeWindow";
     this.ShowInTaskbar = false;
     this.Text = "MeGUI - Automatic Encoding";
     this.AutomaticEncodingGroup.ResumeLayout(false);
     this.AutomaticEncodingGroup.PerformLayout();
     this.OutputGroupBox.ResumeLayout(false);
     this.OutputGroupBox.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }