summaryrefslogtreecommitdiffstats
path: root/win/C#
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-09-19 12:40:04 +0000
committersr55 <[email protected]>2010-09-19 12:40:04 +0000
commit23ab1d79d43d78fb61ece173458f16e5b75088fd (patch)
tree60e7df7aab8f907f53daef4edee51dab17a549f7 /win/C#
parent887618850f6d872913aed0bb6c8888d09c82e626 (diff)
WinGui:
- Move the "Scanning x of x" text to the Source Label. Similar to the Lin/Mac gui's. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3546 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r--win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj2
-rw-r--r--win/C#/HandBrake.Framework/HandBrake.Framework.csproj2
-rw-r--r--win/C#/frmMain.Designer.cs40
-rw-r--r--win/C#/frmMain.cs8
4 files changed, 26 insertions, 26 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
index 8a806e594..ba0e3a64e 100644
--- a/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
+++ b/win/C#/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
@@ -25,7 +25,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <PlatformTarget>x86</PlatformTarget>
+ <PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
diff --git a/win/C#/HandBrake.Framework/HandBrake.Framework.csproj b/win/C#/HandBrake.Framework/HandBrake.Framework.csproj
index 2cc2cf311..9ef6a51c6 100644
--- a/win/C#/HandBrake.Framework/HandBrake.Framework.csproj
+++ b/win/C#/HandBrake.Framework/HandBrake.Framework.csproj
@@ -25,7 +25,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <PlatformTarget>x86</PlatformTarget>
+ <PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs
index abb397c54..f4dee1681 100644
--- a/win/C#/frmMain.Designer.cs
+++ b/win/C#/frmMain.Designer.cs
@@ -39,7 +39,7 @@ namespace Handbrake
this.components = new System.ComponentModel.Container();
System.Windows.Forms.ContextMenuStrip notifyIconMenu;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.btn_restore = new System.Windows.Forms.ToolStripMenuItem();
this.DVD_Save = new System.Windows.Forms.SaveFileDialog();
this.ToolTip = new System.Windows.Forms.ToolTip(this.components);
@@ -176,7 +176,7 @@ namespace Handbrake
this.labelPreset = new System.Windows.Forms.Label();
this.labelSource = new System.Windows.Forms.Label();
this.labelStaticSource = new System.Windows.Forms.Label();
- this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.SourceLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
this.openPreset = new System.Windows.Forms.OpenFileDialog();
this.File_ChapterImport = new System.Windows.Forms.OpenFileDialog();
notifyIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
@@ -204,7 +204,7 @@ namespace Handbrake
this.tableLayoutPanel2.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
- this.flowLayoutPanel1.SuspendLayout();
+ this.SourceLayoutPanel.SuspendLayout();
this.SuspendLayout();
//
// notifyIconMenu
@@ -407,9 +407,9 @@ namespace Handbrake
//
// number
//
- dataGridViewCellStyle1.Format = "N0";
- dataGridViewCellStyle1.NullValue = null;
- this.number.DefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle2.Format = "N0";
+ dataGridViewCellStyle2.NullValue = null;
+ this.number.DefaultCellStyle = dataGridViewCellStyle2;
this.number.Frozen = true;
this.number.HeaderText = "Chapter Number";
this.number.MaxInputLength = 3;
@@ -1685,17 +1685,17 @@ namespace Handbrake
this.labelStaticSource.TabIndex = 51;
this.labelStaticSource.Text = "Source:";
//
- // flowLayoutPanel1
+ // SourceLayoutPanel
//
- this.flowLayoutPanel1.AutoSize = true;
- this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.flowLayoutPanel1.Controls.Add(this.labelStaticSource);
- this.flowLayoutPanel1.Controls.Add(this.labelSource);
- this.flowLayoutPanel1.Location = new System.Drawing.Point(9, 70);
- this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
- this.flowLayoutPanel1.Name = "flowLayoutPanel1";
- this.flowLayoutPanel1.Size = new System.Drawing.Size(195, 13);
- this.flowLayoutPanel1.TabIndex = 55;
+ this.SourceLayoutPanel.AutoSize = true;
+ this.SourceLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.SourceLayoutPanel.Controls.Add(this.labelStaticSource);
+ this.SourceLayoutPanel.Controls.Add(this.labelSource);
+ this.SourceLayoutPanel.Location = new System.Drawing.Point(9, 70);
+ this.SourceLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
+ this.SourceLayoutPanel.Name = "SourceLayoutPanel";
+ this.SourceLayoutPanel.Size = new System.Drawing.Size(195, 13);
+ this.SourceLayoutPanel.TabIndex = 55;
//
// openPreset
//
@@ -1715,7 +1715,7 @@ namespace Handbrake
this.ClientSize = new System.Drawing.Size(1002, 583);
this.Controls.Add(this.tableLayoutPanel3);
this.Controls.Add(this.toolStrip1);
- this.Controls.Add(this.flowLayoutPanel1);
+ this.Controls.Add(this.SourceLayoutPanel);
this.Controls.Add(this.frmMainMenu);
this.Controls.Add(this.tableLayoutPanel2);
this.Controls.Add(this.labelPreset);
@@ -1765,8 +1765,8 @@ namespace Handbrake
this.tableLayoutPanel3.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
- this.flowLayoutPanel1.ResumeLayout(false);
- this.flowLayoutPanel1.PerformLayout();
+ this.SourceLayoutPanel.ResumeLayout(false);
+ this.SourceLayoutPanel.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1894,7 +1894,7 @@ namespace Handbrake
internal ComboBox drp_dvdtitle;
internal Label Label10;
private Label labelStaticSource;
- private FlowLayoutPanel flowLayoutPanel1;
+ private FlowLayoutPanel SourceLayoutPanel;
private ToolStripMenuItem mnu_importMacPreset;
private OpenFileDialog openPreset;
private Button btn_importChapters;
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 2c72afafd..453b48a39 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -2050,7 +2050,7 @@ namespace Handbrake
BeginInvoke(new UpdateWindowHandler(UpdateScanStatusLabel));
return;
}
- lbl_encode.Text = SourceScan.ScanStatus;
+ labelSource.Text = SourceScan.ScanStatus;
}
/// <summary>
@@ -2131,7 +2131,6 @@ namespace Handbrake
{
if (InvokeRequired)
BeginInvoke(new UpdateWindowHandler(EnableGUI));
- lbl_encode.Text = "Scan Completed";
foreach (Control ctrl in Controls)
ctrl.Enabled = true;
btn_start.Enabled = true;
@@ -2156,8 +2155,9 @@ namespace Handbrake
if (!(ctrl is StatusStrip || ctrl is MenuStrip || ctrl is ToolStrip))
ctrl.Enabled = false;
- lbl_encode.Visible = true;
- lbl_encode.Text = "Scanning ...";
+ labelSource.Enabled = true;
+ labelStaticSource.Enabled = true;
+ SourceLayoutPanel.Enabled = true;
btn_source.Enabled = false;
btn_start.Enabled = false;
btn_showQueue.Enabled = false;