From 34ec0f7cfb452f851cd2e59278b19ba724c50fa6 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 18 Jul 2007 19:59:10 +0000 Subject: WinGui: - Many more little design tweaks. - Updated frmSelectDVD for "All Supported Files" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@714 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmAbout.Designer.cs | 3 +++ win/C#/frmDvdInfo.Designer.cs | 5 ++++- win/C#/frmOptions.Designer.cs | 3 +++ win/C#/frmQueue.Designer.cs | 1 + win/C#/frmReadDVD.Designer.cs | 27 +++++++++++++++------------ win/C#/frmSelectDVD.Designer.cs | 17 ++++++++++------- win/C#/frmUpdate.Designer.cs | 3 +++ 7 files changed, 39 insertions(+), 20 deletions(-) (limited to 'win/C#') diff --git a/win/C#/frmAbout.Designer.cs b/win/C#/frmAbout.Designer.cs index e0123aeb4..a918afd9a 100644 --- a/win/C#/frmAbout.Designer.cs +++ b/win/C#/frmAbout.Designer.cs @@ -129,6 +129,9 @@ namespace Handbrake this.Controls.Add(this.Label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MaximumSize = new System.Drawing.Size(532, 284); + this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(532, 284); this.Name = "frmAbout"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "About Handbrake"; diff --git a/win/C#/frmDvdInfo.Designer.cs b/win/C#/frmDvdInfo.Designer.cs index 75e058a5d..d172a5540 100644 --- a/win/C#/frmDvdInfo.Designer.cs +++ b/win/C#/frmDvdInfo.Designer.cs @@ -37,7 +37,7 @@ namespace Handbrake // Label2 // this.Label2.AutoSize = true; - this.Label2.Location = new System.Drawing.Point(13, 8); + this.Label2.Location = new System.Drawing.Point(13, 14); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(518, 26); this.Label2.TabIndex = 30; @@ -79,6 +79,9 @@ namespace Handbrake this.Controls.Add(this.rtf_dvdInfo); this.Controls.Add(this.btn_close); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MaximizeBox = false; + this.MaximumSize = new System.Drawing.Size(553, 520); + this.MinimumSize = new System.Drawing.Size(553, 520); this.Name = "frmDvdInfo"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Read DVD"; diff --git a/win/C#/frmOptions.Designer.cs b/win/C#/frmOptions.Designer.cs index eb78a6591..f0583e53a 100644 --- a/win/C#/frmOptions.Designer.cs +++ b/win/C#/frmOptions.Designer.cs @@ -255,6 +255,9 @@ namespace Handbrake this.Controls.Add(this.GroupBox1); this.Controls.Add(this.btn_close); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MaximizeBox = false; + this.MaximumSize = new System.Drawing.Size(419, 462); + this.MinimumSize = new System.Drawing.Size(419, 462); this.Name = "frmOptions"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Options"; diff --git a/win/C#/frmQueue.Designer.cs b/win/C#/frmQueue.Designer.cs index 3e170d95f..3235428c8 100644 --- a/win/C#/frmQueue.Designer.cs +++ b/win/C#/frmQueue.Designer.cs @@ -181,6 +181,7 @@ namespace Handbrake this.Controls.Add(this.list_queue); this.Controls.Add(this.btn_Close); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MinimumSize = new System.Drawing.Size(659, 431); this.Name = "frmQueue"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Queue"; diff --git a/win/C#/frmReadDVD.Designer.cs b/win/C#/frmReadDVD.Designer.cs index 0e361a20d..c92eb44ff 100644 --- a/win/C#/frmReadDVD.Designer.cs +++ b/win/C#/frmReadDVD.Designer.cs @@ -41,7 +41,7 @@ namespace Handbrake // this.lbl_pressOk.AutoSize = true; this.lbl_pressOk.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbl_pressOk.Location = new System.Drawing.Point(66, 61); + this.lbl_pressOk.Location = new System.Drawing.Point(77, 61); this.lbl_pressOk.Name = "lbl_pressOk"; this.lbl_pressOk.Size = new System.Drawing.Size(178, 13); this.lbl_pressOk.TabIndex = 29; @@ -54,9 +54,9 @@ namespace Handbrake this.btn_ok.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_ok.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_ok.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_ok.Location = new System.Drawing.Point(400, 56); + this.btn_ok.Location = new System.Drawing.Point(418, 56); this.btn_ok.Name = "btn_ok"; - this.btn_ok.Size = new System.Drawing.Size(61, 22); + this.btn_ok.Size = new System.Drawing.Size(71, 22); this.btn_ok.TabIndex = 28; this.btn_ok.TabStop = false; this.btn_ok.Text = "OK"; @@ -67,7 +67,7 @@ namespace Handbrake // this.Label3.AutoSize = true; this.Label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label3.Location = new System.Drawing.Point(66, 9); + this.Label3.Location = new System.Drawing.Point(77, 9); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(222, 26); this.Label3.TabIndex = 27; @@ -77,7 +77,7 @@ namespace Handbrake // this.Label2.AutoSize = true; this.Label2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label2.Location = new System.Drawing.Point(8, 8); + this.Label2.Location = new System.Drawing.Point(9, 8); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(52, 13); this.Label2.TabIndex = 26; @@ -87,7 +87,7 @@ namespace Handbrake // this.lbl_status.AutoSize = true; this.lbl_status.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbl_status.Location = new System.Drawing.Point(66, 41); + this.lbl_status.Location = new System.Drawing.Point(77, 41); this.lbl_status.Name = "lbl_status"; this.lbl_status.Size = new System.Drawing.Size(178, 13); this.lbl_status.TabIndex = 31; @@ -97,29 +97,32 @@ namespace Handbrake // lbl_progress // this.lbl_progress.AutoSize = true; - this.lbl_progress.Location = new System.Drawing.Point(365, 61); + this.lbl_progress.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbl_progress.Location = new System.Drawing.Point(285, 41); this.lbl_progress.Name = "lbl_progress"; - this.lbl_progress.Size = new System.Drawing.Size(29, 13); + this.lbl_progress.Size = new System.Drawing.Size(45, 13); this.lbl_progress.TabIndex = 32; this.lbl_progress.Text = "{ % }"; this.lbl_progress.Visible = false; // // frmReadDVD // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(473, 86); + this.ClientSize = new System.Drawing.Size(499, 86); + this.ControlBox = false; this.Controls.Add(this.lbl_progress); this.Controls.Add(this.lbl_status); this.Controls.Add(this.lbl_pressOk); this.Controls.Add(this.btn_ok); this.Controls.Add(this.Label3); this.Controls.Add(this.Label2); + this.Font = new System.Drawing.Font("Verdana", 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.MaximumSize = new System.Drawing.Size(479, 111); - this.MinimumSize = new System.Drawing.Size(479, 111); + this.MaximumSize = new System.Drawing.Size(505, 111); + this.MinimumSize = new System.Drawing.Size(505, 111); this.Name = "frmReadDVD"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; diff --git a/win/C#/frmSelectDVD.Designer.cs b/win/C#/frmSelectDVD.Designer.cs index 44853d5bd..299800b2b 100644 --- a/win/C#/frmSelectDVD.Designer.cs +++ b/win/C#/frmSelectDVD.Designer.cs @@ -45,7 +45,7 @@ namespace Handbrake this.btn_close.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_close.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_close.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_close.Location = new System.Drawing.Point(317, 76); + this.btn_close.Location = new System.Drawing.Point(317, 65); this.btn_close.Name = "btn_close"; this.btn_close.Size = new System.Drawing.Size(78, 22); this.btn_close.TabIndex = 54; @@ -65,7 +65,7 @@ namespace Handbrake // ISO_Open // this.ISO_Open.DefaultExt = "iso"; - this.ISO_Open.Filter = "iso|*.iso"; + this.ISO_Open.Filter = "All Supported Files|*.iso;*.mpg;*.mpeg;*.vob"; // // RadioDVD // @@ -86,9 +86,9 @@ namespace Handbrake this.RadioISO.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.RadioISO.Location = new System.Drawing.Point(261, 45); this.RadioISO.Name = "RadioISO"; - this.RadioISO.Size = new System.Drawing.Size(47, 17); + this.RadioISO.Size = new System.Drawing.Size(44, 17); this.RadioISO.TabIndex = 51; - this.RadioISO.Text = "ISO"; + this.RadioISO.Text = "File"; this.RadioISO.UseVisualStyleBackColor = true; // // btn_Browse @@ -113,11 +113,11 @@ namespace Handbrake this.text_source.Size = new System.Drawing.Size(242, 21); this.text_source.TabIndex = 48; // - // SelectDVD + // frmSelectDVD // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(418, 111); + this.ClientSize = new System.Drawing.Size(402, 94); this.Controls.Add(this.btn_close); this.Controls.Add(this.Label1); this.Controls.Add(this.RadioDVD); @@ -125,7 +125,10 @@ namespace Handbrake this.Controls.Add(this.btn_Browse); this.Controls.Add(this.text_source); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Name = "SelectDVD"; + this.MaximizeBox = false; + this.MaximumSize = new System.Drawing.Size(410, 121); + this.MinimumSize = new System.Drawing.Size(410, 121); + this.Name = "frmSelectDVD"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Read DVD"; this.ResumeLayout(false); diff --git a/win/C#/frmUpdate.Designer.cs b/win/C#/frmUpdate.Designer.cs index e4e59c3d8..8406700cb 100644 --- a/win/C#/frmUpdate.Designer.cs +++ b/win/C#/frmUpdate.Designer.cs @@ -223,6 +223,9 @@ namespace Handbrake this.Controls.Add(this.Label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MaximizeBox = false; + this.MaximumSize = new System.Drawing.Size(504, 164); + this.MinimumSize = new System.Drawing.Size(504, 164); this.Name = "frmUpdate"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Update Check"; -- cgit v1.2.3