Example #1
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddonPanel));
     this.tableLayoutPanel1 = new OPMedia.UI.Controls.OPMTableLayoutPanel();
     this.tbContents        = new OPMedia.UI.Controls.OPMTextBox();
     this.opmToolStrip1     = new OPMedia.UI.Controls.OPMToolStrip();
     this.btnBold           = new OPMedia.UI.Controls.OPMToolStripButton();
     this.btnItalic         = new OPMedia.UI.Controls.OPMToolStripButton();
     this.btnUnderlined     = new OPMedia.UI.Controls.OPMToolStripButton();
     this.btnStrikethrough  = new OPMedia.UI.Controls.OPMToolStripButton();
     this.btnColor          = new OPMedia.UI.Controls.OPMToolStripButton();
     this.btnStartNow       = new OPMedia.UI.Controls.OPMButton();
     this.panel1            = new System.Windows.Forms.Panel();
     this.rtbContents       = new System.Windows.Forms.RichTextBox();
     this.flowLayoutPanel1  = new System.Windows.Forms.FlowLayoutPanel();
     this.btnSave           = new OPMedia.UI.Controls.OPMButton();
     this.btnUndo           = new OPMedia.UI.Controls.OPMButton();
     this.label1            = new OPMedia.UI.Controls.OPMLabel();
     this.label2            = new OPMedia.UI.Controls.OPMLabel();
     this.label3            = new OPMedia.UI.Controls.OPMLabel();
     this.tpStartTime       = new OPMedia.UI.Controls.OPMTimePicker();
     this.tpEndTime         = new OPMedia.UI.Controls.OPMTimePicker();
     this.tpDuration        = new OPMedia.UI.Controls.OPMTimePicker();
     this.label4            = new OPMedia.UI.Controls.OPMLabel();
     this.label5            = new OPMedia.UI.Controls.OPMLabel();
     this.btnEndNow         = new OPMedia.UI.Controls.OPMButton();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.tableLayoutPanel1.SuspendLayout();
     this.opmToolStrip1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.flowLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.AutoSize     = true;
     this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.tableLayoutPanel1.ColumnCount  = 8;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 15F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 15F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.tbContents, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.opmToolStrip1, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.btnStartNow, 1, 9);
     this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 6);
     this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 11);
     this.tableLayoutPanel1.Controls.Add(this.label1, 0, 8);
     this.tableLayoutPanel1.Controls.Add(this.label2, 3, 8);
     this.tableLayoutPanel1.Controls.Add(this.label3, 6, 8);
     this.tableLayoutPanel1.Controls.Add(this.tpStartTime, 0, 9);
     this.tableLayoutPanel1.Controls.Add(this.tpEndTime, 3, 9);
     this.tableLayoutPanel1.Controls.Add(this.tpDuration, 6, 9);
     this.tableLayoutPanel1.Controls.Add(this.label4, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.label5, 0, 5);
     this.tableLayoutPanel1.Controls.Add(this.btnEndNow, 4, 9);
     this.tableLayoutPanel1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location          = new System.Drawing.Point(5, 5);
     this.tableLayoutPanel1.Name              = "tableLayoutPanel1";
     this.tableLayoutPanel1.OverrideBackColor = System.Drawing.Color.Empty;
     this.tableLayoutPanel1.RowCount          = 13;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F));
     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(System.Windows.Forms.SizeType.Absolute, 10F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     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(System.Windows.Forms.SizeType.Absolute, 10F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(365, 390);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // tbContents
     //
     this.tbContents.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
     this.tableLayoutPanel1.SetColumnSpan(this.tbContents, 8);
     this.tbContents.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.tbContents.Location          = new System.Drawing.Point(3, 48);
     this.tbContents.Margin            = new System.Windows.Forms.Padding(3, 0, 3, 0);
     this.tbContents.Multiline         = true;
     this.tbContents.Name              = "tbContents";
     this.tbContents.OverrideForeColor = System.Drawing.Color.Empty;
     this.tbContents.Size              = new System.Drawing.Size(359, 120);
     this.tbContents.TabIndex          = 3;
     //
     // opmToolStrip1
     //
     this.opmToolStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(216)))), ((int)(((byte)(235)))));
     this.tableLayoutPanel1.SetColumnSpan(this.opmToolStrip1, 8);
     this.opmToolStrip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.opmToolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.btnBold,
         this.btnItalic,
         this.btnUnderlined,
         this.btnStrikethrough,
         this.btnColor
     });
     this.opmToolStrip1.Location         = new System.Drawing.Point(3, 23);
     this.opmToolStrip1.Margin           = new System.Windows.Forms.Padding(3, 0, 3, 0);
     this.opmToolStrip1.Name             = "opmToolStrip1";
     this.opmToolStrip1.ShowBorder       = true;
     this.opmToolStrip1.Size             = new System.Drawing.Size(359, 25);
     this.opmToolStrip1.TabIndex         = 2;
     this.opmToolStrip1.Text             = "opmToolStrip1";
     this.opmToolStrip1.VerticalGradient = true;
     //
     // btnBold
     //
     this.btnBold.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnBold.Font                  = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnBold.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnBold.Name                  = "btnBold";
     this.btnBold.Size                  = new System.Drawing.Size(23, 22);
     this.btnBold.Text                  = "B";
     //
     // btnItalic
     //
     this.btnItalic.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnItalic.Font                  = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnItalic.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnItalic.Name                  = "btnItalic";
     this.btnItalic.Size                  = new System.Drawing.Size(23, 22);
     this.btnItalic.Text                  = "I";
     //
     // btnUnderlined
     //
     this.btnUnderlined.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnUnderlined.Font                  = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Underline);
     this.btnUnderlined.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnUnderlined.Name                  = "btnUnderlined";
     this.btnUnderlined.Size                  = new System.Drawing.Size(23, 22);
     this.btnUnderlined.Text                  = "U";
     //
     // btnStrikethrough
     //
     this.btnStrikethrough.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btnStrikethrough.Font                  = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Strikeout);
     this.btnStrikethrough.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnStrikethrough.Name                  = "btnStrikethrough";
     this.btnStrikethrough.Size                  = new System.Drawing.Size(23, 22);
     this.btnStrikethrough.Text                  = "S";
     //
     // btnColor
     //
     this.btnColor.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btnColor.Image                 = ((System.Drawing.Image)(resources.GetObject("btnColor.Image")));
     this.btnColor.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btnColor.Name = "btnColor";
     this.btnColor.Size = new System.Drawing.Size(23, 22);
     this.btnColor.Text = " ";
     //
     // btnStartNow
     //
     this.btnStartNow.AutoSize          = true;
     this.btnStartNow.AutoSizeMode      = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.btnStartNow.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.btnStartNow.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.btnStartNow.Location          = new System.Drawing.Point(90, 321);
     this.btnStartNow.Margin            = new System.Windows.Forms.Padding(1, 4, 0, 0);
     this.btnStartNow.MaximumSize       = new System.Drawing.Size(21, 21);
     this.btnStartNow.MinimumSize       = new System.Drawing.Size(21, 21);
     this.btnStartNow.Name              = "btnStartNow";
     this.btnStartNow.OverrideBackColor = System.Drawing.Color.Empty;
     this.btnStartNow.OverrideForeColor = System.Drawing.Color.Empty;
     this.btnStartNow.ShowDropDown      = false;
     this.btnStartNow.Size              = new System.Drawing.Size(21, 21);
     this.btnStartNow.TabIndex          = 2;
     this.toolTip1.SetToolTip(this.btnStartNow, "Use current playback time as start time");
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tableLayoutPanel1.SetColumnSpan(this.panel1, 8);
     this.panel1.Controls.Add(this.rtbContents);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(3, 191);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(359, 110);
     this.panel1.TabIndex = 14;
     //
     // rtbContents
     //
     this.rtbContents.BorderStyle      = System.Windows.Forms.BorderStyle.None;
     this.rtbContents.DetectUrls       = false;
     this.rtbContents.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.rtbContents.Location         = new System.Drawing.Point(0, 0);
     this.rtbContents.Name             = "rtbContents";
     this.rtbContents.ReadOnly         = true;
     this.rtbContents.ShortcutsEnabled = false;
     this.rtbContents.Size             = new System.Drawing.Size(357, 108);
     this.rtbContents.TabIndex         = 0;
     this.rtbContents.Text             = "";
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.AutoSize     = true;
     this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.tableLayoutPanel1.SetColumnSpan(this.flowLayoutPanel1, 8);
     this.flowLayoutPanel1.Controls.Add(this.btnSave);
     this.flowLayoutPanel1.Controls.Add(this.btnUndo);
     this.flowLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 356);
     this.flowLayoutPanel1.Margin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(362, 24);
     this.flowLayoutPanel1.TabIndex = 15;
     //
     // btnSave
     //
     this.btnSave.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnSave.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.btnSave.Location          = new System.Drawing.Point(0, 0);
     this.btnSave.Margin            = new System.Windows.Forms.Padding(0);
     this.btnSave.Name              = "btnSave";
     this.btnSave.OverrideBackColor = System.Drawing.Color.Empty;
     this.btnSave.OverrideForeColor = System.Drawing.Color.Empty;
     this.btnSave.ShowDropDown      = false;
     this.btnSave.Size              = new System.Drawing.Size(72, 24);
     this.btnSave.TabIndex          = 0;
     this.btnSave.Text              = "TXT_APPLY";
     this.btnSave.Click            += new System.EventHandler(this.btnSave_Click);
     //
     // btnUndo
     //
     this.btnUndo.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnUndo.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.btnUndo.Location          = new System.Drawing.Point(84, 0);
     this.btnUndo.Margin            = new System.Windows.Forms.Padding(12, 0, 0, 0);
     this.btnUndo.Name              = "btnUndo";
     this.btnUndo.OverrideBackColor = System.Drawing.Color.Empty;
     this.btnUndo.OverrideForeColor = System.Drawing.Color.Empty;
     this.btnUndo.ShowDropDown      = false;
     this.btnUndo.Size              = new System.Drawing.Size(72, 24);
     this.btnUndo.TabIndex          = 1;
     this.btnUndo.Text              = "TXT_UNDO";
     this.btnUndo.Click            += new System.EventHandler(this.btnUndo_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.label1, 3);
     this.label1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.label1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.label1.Location          = new System.Drawing.Point(3, 304);
     this.label1.Name              = "label1";
     this.label1.OverrideBackColor = System.Drawing.Color.Empty;
     this.label1.OverrideForeColor = System.Drawing.Color.Empty;
     this.label1.Size              = new System.Drawing.Size(120, 13);
     this.label1.TabIndex          = 5;
     this.label1.Text              = "TXT_START_TIME";
     this.label1.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.label2, 3);
     this.label2.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.label2.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.label2.Location          = new System.Drawing.Point(129, 304);
     this.label2.Name              = "label2";
     this.label2.OverrideBackColor = System.Drawing.Color.Empty;
     this.label2.OverrideForeColor = System.Drawing.Color.Empty;
     this.label2.Size              = new System.Drawing.Size(120, 13);
     this.label2.TabIndex          = 7;
     this.label2.Text              = "TXT_END_TIME";
     this.label2.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.label3, 2);
     this.label3.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.label3.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.label3.Location          = new System.Drawing.Point(255, 304);
     this.label3.Name              = "label3";
     this.label3.OverrideBackColor = System.Drawing.Color.Empty;
     this.label3.OverrideForeColor = System.Drawing.Color.Empty;
     this.label3.Size              = new System.Drawing.Size(107, 13);
     this.label3.TabIndex          = 9;
     this.label3.Text              = "TXT_DURATION";
     this.label3.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tpStartTime
     //
     this.tpStartTime.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.tpStartTime.Hours        = 0;
     this.tpStartTime.Location     = new System.Drawing.Point(4, 321);
     this.tpStartTime.Margin       = new System.Windows.Forms.Padding(4, 4, 0, 4);
     this.tpStartTime.MaximumSize  = new System.Drawing.Size(85, 21);
     this.tpStartTime.Milliseconds = 0;
     this.tpStartTime.MinimumSize  = new System.Drawing.Size(85, 21);
     this.tpStartTime.Minutes      = 0;
     this.tpStartTime.Name         = "tpStartTime";
     this.tpStartTime.Seconds      = 0;
     this.tpStartTime.Size         = new System.Drawing.Size(85, 21);
     this.tpStartTime.TabIndex     = 6;
     this.tpStartTime.Value        = System.TimeSpan.Parse("00:00:00");
     //
     // tpEndTime
     //
     this.tpEndTime.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.tpEndTime.Hours        = 0;
     this.tpEndTime.Location     = new System.Drawing.Point(130, 321);
     this.tpEndTime.Margin       = new System.Windows.Forms.Padding(4, 4, 0, 4);
     this.tpEndTime.MaximumSize  = new System.Drawing.Size(85, 21);
     this.tpEndTime.Milliseconds = 0;
     this.tpEndTime.MinimumSize  = new System.Drawing.Size(85, 21);
     this.tpEndTime.Minutes      = 0;
     this.tpEndTime.Name         = "tpEndTime";
     this.tpEndTime.Seconds      = 0;
     this.tpEndTime.Size         = new System.Drawing.Size(85, 21);
     this.tpEndTime.TabIndex     = 8;
     this.tpEndTime.Value        = System.TimeSpan.Parse("00:00:00");
     //
     // tpDuration
     //
     this.tpDuration.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.tpDuration.Hours        = 0;
     this.tpDuration.Location     = new System.Drawing.Point(256, 321);
     this.tpDuration.Margin       = new System.Windows.Forms.Padding(4);
     this.tpDuration.MaximumSize  = new System.Drawing.Size(85, 21);
     this.tpDuration.Milliseconds = 0;
     this.tpDuration.MinimumSize  = new System.Drawing.Size(85, 21);
     this.tpDuration.Minutes      = 0;
     this.tpDuration.Name         = "tpDuration";
     this.tpDuration.Seconds      = 0;
     this.tpDuration.Size         = new System.Drawing.Size(85, 21);
     this.tpDuration.TabIndex     = 10;
     this.tpDuration.Value        = System.TimeSpan.Parse("00:00:00");
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.label4, 4);
     this.label4.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.label4.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.label4.Location          = new System.Drawing.Point(3, 0);
     this.label4.Name              = "label4";
     this.label4.OverrideBackColor = System.Drawing.Color.Empty;
     this.label4.OverrideForeColor = System.Drawing.Color.Empty;
     this.label4.Size              = new System.Drawing.Size(209, 13);
     this.label4.TabIndex          = 1;
     this.label4.Text              = "TXT_EDIT_CONTENTS";
     this.label4.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.label5, 4);
     this.label5.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.label5.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.label5.Location          = new System.Drawing.Point(3, 178);
     this.label5.Name              = "label5";
     this.label5.OverrideBackColor = System.Drawing.Color.Empty;
     this.label5.OverrideForeColor = System.Drawing.Color.Empty;
     this.label5.Size              = new System.Drawing.Size(209, 10);
     this.label5.TabIndex          = 4;
     this.label5.Text              = "TXT_CONTENTS";
     this.label5.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnEndNow
     //
     this.btnEndNow.AutoSize          = true;
     this.btnEndNow.AutoSizeMode      = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.btnEndNow.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.btnEndNow.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.btnEndNow.Location          = new System.Drawing.Point(216, 321);
     this.btnEndNow.Margin            = new System.Windows.Forms.Padding(1, 4, 0, 0);
     this.btnEndNow.MaximumSize       = new System.Drawing.Size(21, 21);
     this.btnEndNow.MinimumSize       = new System.Drawing.Size(21, 21);
     this.btnEndNow.Name              = "btnEndNow";
     this.btnEndNow.OverrideBackColor = System.Drawing.Color.Empty;
     this.btnEndNow.OverrideForeColor = System.Drawing.Color.Empty;
     this.btnEndNow.ShowDropDown      = false;
     this.btnEndNow.Size              = new System.Drawing.Size(21, 21);
     this.btnEndNow.TabIndex          = 16;
     this.toolTip1.SetToolTip(this.btnEndNow, "Use current playback time as end time");
     //
     // AddonPanel
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.Controls.Add(this.tableLayoutPanel1);
     this.MinimumSize = new System.Drawing.Size(340, 400);
     this.Name        = "AddonPanel";
     this.Padding     = new System.Windows.Forms.Padding(5);
     this.Size        = new System.Drawing.Size(375, 400);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.opmToolStrip1.ResumeLayout(false);
     this.opmToolStrip1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #2
0
 private void InitializeComponent()
 {
     this.btnCancel       = new OPMedia.UI.Controls.OPMButton();
     this.btnOk           = new OPMedia.UI.Controls.OPMButton();
     this.lbMatchingItems = new System.Windows.Forms.ListBox();
     this.label1          = new OPMedia.UI.Controls.OPMLabel();
     this.label2          = new OPMedia.UI.Controls.OPMLabel();
     this.txtKeyword      = new OPMedia.UI.Controls.OPMTextBox();
     this.opmLayoutPanel1 = new OPMedia.UI.Controls.OPMTableLayoutPanel();
     this.pnlContent.SuspendLayout();
     this.opmLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlContent
     //
     this.pnlContent.Controls.Add(this.opmLayoutPanel1);
     this.pnlContent.TabIndex = 1;
     //
     // btnCancel
     //
     this.btnCancel.AutoSize          = true;
     this.btnCancel.DialogResult      = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.btnCancel.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.Location          = new System.Drawing.Point(201, 249);
     this.btnCancel.Name              = "btnCancel";
     this.btnCancel.OverrideBackColor = System.Drawing.Color.Empty;
     this.btnCancel.OverrideForeColor = System.Drawing.Color.Empty;
     this.btnCancel.ShowDropDown      = false;
     this.btnCancel.Size              = new System.Drawing.Size(80, 25);
     this.btnCancel.TabIndex          = 5;
     this.btnCancel.Text              = "TXT_CANCEL";
     //
     // btnOk
     //
     this.btnOk.AutoSize          = true;
     this.btnOk.DialogResult      = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.btnOk.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.btnOk.Location          = new System.Drawing.Point(123, 249);
     this.btnOk.Name              = "btnOk";
     this.btnOk.OverrideBackColor = System.Drawing.Color.Empty;
     this.btnOk.OverrideForeColor = System.Drawing.Color.Empty;
     this.btnOk.ShowDropDown      = false;
     this.btnOk.Size              = new System.Drawing.Size(72, 25);
     this.btnOk.TabIndex          = 4;
     this.btnOk.Text              = "TXT_OK";
     //
     // lbMatchingItems
     //
     this.opmLayoutPanel1.SetColumnSpan(this.lbMatchingItems, 3);
     this.lbMatchingItems.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbMatchingItems.FormattingEnabled = true;
     this.lbMatchingItems.Location          = new System.Drawing.Point(3, 55);
     this.lbMatchingItems.Margin            = new System.Windows.Forms.Padding(3, 0, 3, 0);
     this.lbMatchingItems.Name              = "lbMatchingItems";
     this.lbMatchingItems.Size              = new System.Drawing.Size(278, 186);
     this.lbMatchingItems.TabIndex          = 3;
     this.lbMatchingItems.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lbMatchingItems_MouseDoubleClick);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.opmLayoutPanel1.SetColumnSpan(this.label1, 3);
     this.label1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.label1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.label1.Location          = new System.Drawing.Point(3, 39);
     this.label1.Margin            = new System.Windows.Forms.Padding(3, 0, 3, 3);
     this.label1.Name              = "label1";
     this.label1.OverrideBackColor = System.Drawing.Color.Empty;
     this.label1.OverrideForeColor = System.Drawing.Color.Empty;
     this.label1.Size              = new System.Drawing.Size(278, 13);
     this.label1.TabIndex          = 2;
     this.label1.Text              = "TXT_MATCHING_ITEMS";
     this.label1.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.opmLayoutPanel1.SetColumnSpan(this.label2, 3);
     this.label2.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.label2.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.label2.Location          = new System.Drawing.Point(3, 3);
     this.label2.Margin            = new System.Windows.Forms.Padding(3, 3, 3, 0);
     this.label2.Name              = "label2";
     this.label2.OverrideBackColor = System.Drawing.Color.Empty;
     this.label2.OverrideForeColor = System.Drawing.Color.Empty;
     this.label2.Size              = new System.Drawing.Size(278, 13);
     this.label2.TabIndex          = 0;
     this.label2.Text              = "TXT_ENTER_KEYWORD";
     this.label2.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtKeyword
     //
     this.txtKeyword.AutoSizeMode    = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.txtKeyword.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
     this.opmLayoutPanel1.SetColumnSpan(this.txtKeyword, 3);
     this.txtKeyword.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.txtKeyword.FontSize              = OPMedia.UI.Themes.FontSizes.Normal;
     this.txtKeyword.Location              = new System.Drawing.Point(3, 16);
     this.txtKeyword.Margin                = new System.Windows.Forms.Padding(3, 0, 3, 3);
     this.txtKeyword.MaximumSize           = new System.Drawing.Size(2000, 20);
     this.txtKeyword.MaxLength             = 32767;
     this.txtKeyword.MinimumSize           = new System.Drawing.Size(20, 20);
     this.txtKeyword.Multiline             = false;
     this.txtKeyword.Name                  = "txtKeyword";
     this.txtKeyword.OverrideBackColor     = System.Drawing.Color.Empty;
     this.txtKeyword.OverrideForeColor     = System.Drawing.Color.Empty;
     this.txtKeyword.Padding               = new System.Windows.Forms.Padding(3);
     this.txtKeyword.PasswordChar          = '\0';
     this.txtKeyword.ReadOnly              = false;
     this.txtKeyword.ScrollBars            = System.Windows.Forms.ScrollBars.None;
     this.txtKeyword.ShortcutsEnabled      = true;
     this.txtKeyword.Size                  = new System.Drawing.Size(278, 20);
     this.txtKeyword.TabIndex              = 1;
     this.txtKeyword.TextAlign             = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtKeyword.UseSystemPasswordChar = false;
     this.txtKeyword.WordWrap              = true;
     this.txtKeyword.TextChanged          += new System.EventHandler(this.txtKeyword_TextChanged);
     this.txtKeyword.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.txtKeyword_KeyDown);
     //
     // opmLayoutPanel1
     //
     this.opmLayoutPanel1.ColumnCount = 3;
     this.opmLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.opmLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.opmLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.opmLayoutPanel1.Controls.Add(this.btnCancel, 2, 5);
     this.opmLayoutPanel1.Controls.Add(this.lbMatchingItems, 0, 3);
     this.opmLayoutPanel1.Controls.Add(this.txtKeyword, 0, 1);
     this.opmLayoutPanel1.Controls.Add(this.label1, 0, 2);
     this.opmLayoutPanel1.Controls.Add(this.btnOk, 1, 5);
     this.opmLayoutPanel1.Controls.Add(this.label2, 0, 0);
     this.opmLayoutPanel1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.opmLayoutPanel1.Location          = new System.Drawing.Point(0, 0);
     this.opmLayoutPanel1.Name              = "opmLayoutPanel1";
     this.opmLayoutPanel1.OverrideBackColor = System.Drawing.Color.Empty;
     this.opmLayoutPanel1.RowCount          = 6;
     this.opmLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.opmLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.opmLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.opmLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.opmLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 5F));
     this.opmLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.opmLayoutPanel1.Size     = new System.Drawing.Size(284, 277);
     this.opmLayoutPanel1.TabIndex = 6;
     //
     // JumpToItemDlg
     //
     this.ClientSize  = new System.Drawing.Size(286, 300);
     this.MinimumSize = new System.Drawing.Size(200, 85);
     this.Name        = "JumpToItemDlg";
     this.ShowIcon    = false;
     this.pnlContent.ResumeLayout(false);
     this.opmLayoutPanel1.ResumeLayout(false);
     this.opmLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
 }