Created a properties form, testing dynamic UI building for the relevant MKV attributes.
This commit is contained in:
Generated
+185
@@ -0,0 +1,185 @@
|
||||
namespace MKVTest
|
||||
{
|
||||
partial class FrmProperties
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.mainLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.mainMenu = new System.Windows.Forms.MenuStrip();
|
||||
this.fileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.videoTrackGroupBox = new System.Windows.Forms.GroupBox();
|
||||
this.audioTrackGoupBox = new System.Windows.Forms.GroupBox();
|
||||
this.subtitleTrackGroupBox = new System.Windows.Forms.GroupBox();
|
||||
this.chapterTrackGroupBox = new System.Windows.Forms.GroupBox();
|
||||
this.videoFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.audioFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.subtitleFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.mainLayoutPanel.SuspendLayout();
|
||||
this.mainMenu.SuspendLayout();
|
||||
this.videoTrackGroupBox.SuspendLayout();
|
||||
this.audioTrackGoupBox.SuspendLayout();
|
||||
this.subtitleTrackGroupBox.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// mainLayoutPanel
|
||||
//
|
||||
this.mainLayoutPanel.ColumnCount = 3;
|
||||
this.mainLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.mainLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
|
||||
this.mainLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
|
||||
this.mainLayoutPanel.Controls.Add(this.mainMenu, 0, 0);
|
||||
this.mainLayoutPanel.Controls.Add(this.videoTrackGroupBox, 0, 1);
|
||||
this.mainLayoutPanel.Controls.Add(this.audioTrackGoupBox, 1, 1);
|
||||
this.mainLayoutPanel.Controls.Add(this.subtitleTrackGroupBox, 2, 1);
|
||||
this.mainLayoutPanel.Controls.Add(this.chapterTrackGroupBox, 0, 2);
|
||||
this.mainLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.mainLayoutPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.mainLayoutPanel.Name = "mainLayoutPanel";
|
||||
this.mainLayoutPanel.RowCount = 3;
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 75F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.mainLayoutPanel.Size = new System.Drawing.Size(515, 406);
|
||||
this.mainLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// mainMenu
|
||||
//
|
||||
this.mainLayoutPanel.SetColumnSpan(this.mainMenu, 3);
|
||||
this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileMainMenu});
|
||||
this.mainMenu.Location = new System.Drawing.Point(0, 0);
|
||||
this.mainMenu.Name = "mainMenu";
|
||||
this.mainMenu.Size = new System.Drawing.Size(515, 24);
|
||||
this.mainMenu.TabIndex = 0;
|
||||
this.mainMenu.Text = "menuStrip1";
|
||||
//
|
||||
// fileMainMenu
|
||||
//
|
||||
this.fileMainMenu.Name = "fileMainMenu";
|
||||
this.fileMainMenu.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileMainMenu.Text = "&File";
|
||||
//
|
||||
// videoTrackGroupBox
|
||||
//
|
||||
this.videoTrackGroupBox.Controls.Add(this.videoFlowLayoutPanel);
|
||||
this.videoTrackGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.videoTrackGroupBox.Location = new System.Drawing.Point(3, 28);
|
||||
this.videoTrackGroupBox.Name = "videoTrackGroupBox";
|
||||
this.videoTrackGroupBox.Size = new System.Drawing.Size(165, 279);
|
||||
this.videoTrackGroupBox.TabIndex = 1;
|
||||
this.videoTrackGroupBox.TabStop = false;
|
||||
this.videoTrackGroupBox.Text = "Video Track";
|
||||
//
|
||||
// audioTrackGoupBox
|
||||
//
|
||||
this.audioTrackGoupBox.Controls.Add(this.audioFlowLayoutPanel);
|
||||
this.audioTrackGoupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.audioTrackGoupBox.Location = new System.Drawing.Point(174, 28);
|
||||
this.audioTrackGoupBox.Name = "audioTrackGoupBox";
|
||||
this.audioTrackGoupBox.Size = new System.Drawing.Size(165, 279);
|
||||
this.audioTrackGoupBox.TabIndex = 2;
|
||||
this.audioTrackGoupBox.TabStop = false;
|
||||
this.audioTrackGoupBox.Text = "Audio Tracks";
|
||||
//
|
||||
// subtitleTrackGroupBox
|
||||
//
|
||||
this.subtitleTrackGroupBox.Controls.Add(this.subtitleFlowLayoutPanel);
|
||||
this.subtitleTrackGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.subtitleTrackGroupBox.Location = new System.Drawing.Point(345, 28);
|
||||
this.subtitleTrackGroupBox.Name = "subtitleTrackGroupBox";
|
||||
this.subtitleTrackGroupBox.Size = new System.Drawing.Size(167, 279);
|
||||
this.subtitleTrackGroupBox.TabIndex = 3;
|
||||
this.subtitleTrackGroupBox.TabStop = false;
|
||||
this.subtitleTrackGroupBox.Text = "Subtitles";
|
||||
//
|
||||
// chapterTrackGroupBox
|
||||
//
|
||||
this.chapterTrackGroupBox.Location = new System.Drawing.Point(3, 313);
|
||||
this.chapterTrackGroupBox.Name = "chapterTrackGroupBox";
|
||||
this.chapterTrackGroupBox.Size = new System.Drawing.Size(165, 90);
|
||||
this.chapterTrackGroupBox.TabIndex = 4;
|
||||
this.chapterTrackGroupBox.TabStop = false;
|
||||
this.chapterTrackGroupBox.Text = "Chapter Markers";
|
||||
//
|
||||
// videoFlowLayoutPanel
|
||||
//
|
||||
this.videoFlowLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.videoFlowLayoutPanel.Location = new System.Drawing.Point(3, 16);
|
||||
this.videoFlowLayoutPanel.Name = "videoFlowLayoutPanel";
|
||||
this.videoFlowLayoutPanel.Size = new System.Drawing.Size(159, 260);
|
||||
this.videoFlowLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// audioFlowLayoutPanel
|
||||
//
|
||||
this.audioFlowLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.audioFlowLayoutPanel.Location = new System.Drawing.Point(3, 16);
|
||||
this.audioFlowLayoutPanel.Name = "audioFlowLayoutPanel";
|
||||
this.audioFlowLayoutPanel.Size = new System.Drawing.Size(159, 260);
|
||||
this.audioFlowLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// subtitleFlowLayoutPanel
|
||||
//
|
||||
this.subtitleFlowLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.subtitleFlowLayoutPanel.Location = new System.Drawing.Point(3, 16);
|
||||
this.subtitleFlowLayoutPanel.Name = "subtitleFlowLayoutPanel";
|
||||
this.subtitleFlowLayoutPanel.Size = new System.Drawing.Size(161, 260);
|
||||
this.subtitleFlowLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// FrmProperties
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(515, 406);
|
||||
this.Controls.Add(this.mainLayoutPanel);
|
||||
this.MainMenuStrip = this.mainMenu;
|
||||
this.Name = "FrmProperties";
|
||||
this.Text = "Properties";
|
||||
this.mainLayoutPanel.ResumeLayout(false);
|
||||
this.mainLayoutPanel.PerformLayout();
|
||||
this.mainMenu.ResumeLayout(false);
|
||||
this.mainMenu.PerformLayout();
|
||||
this.videoTrackGroupBox.ResumeLayout(false);
|
||||
this.audioTrackGoupBox.ResumeLayout(false);
|
||||
this.subtitleTrackGroupBox.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel mainLayoutPanel;
|
||||
private System.Windows.Forms.MenuStrip mainMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem fileMainMenu;
|
||||
private System.Windows.Forms.GroupBox videoTrackGroupBox;
|
||||
private System.Windows.Forms.GroupBox audioTrackGoupBox;
|
||||
private System.Windows.Forms.GroupBox subtitleTrackGroupBox;
|
||||
private System.Windows.Forms.GroupBox chapterTrackGroupBox;
|
||||
private System.Windows.Forms.FlowLayoutPanel videoFlowLayoutPanel;
|
||||
private System.Windows.Forms.FlowLayoutPanel audioFlowLayoutPanel;
|
||||
private System.Windows.Forms.FlowLayoutPanel subtitleFlowLayoutPanel;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user