summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/Scan.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-02-25 20:45:44 +0000
committersr55 <[email protected]>2010-02-25 20:45:44 +0000
commit8c3709d289a996567d459a92d64378ddebb7d2f9 (patch)
tree13936b652aee6a05466e1c2d14b9b4a62bf263e9 /win/C#/Functions/Scan.cs
parent4de954484ea3b2bac3d48e502acb616e2b6779c1 (diff)
WinGui:
- Make the picture settings panel work more like the macgui. No longer uses -X Max Width but instead does all the logic in-gui so it's less confusing to the user. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3139 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/Scan.cs')
-rw-r--r--win/C#/Functions/Scan.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/C#/Functions/Scan.cs b/win/C#/Functions/Scan.cs
index 78d158564..8532b353c 100644
--- a/win/C#/Functions/Scan.cs
+++ b/win/C#/Functions/Scan.cs
@@ -53,6 +53,11 @@ namespace Handbrake.Functions
public event EventHandler ScanStatusChanged;
/// <summary>
+ /// Gets or sets a value indicating whether IsScanning.
+ /// </summary>
+ public bool IsScanning { get; set; }
+
+ /// <summary>
/// Scan a Source Path.
/// Title 0: scan all
/// </summary>
@@ -109,6 +114,7 @@ namespace Handbrake.Functions
{
try
{
+ IsScanning = true;
if (this.ScanStared != null)
this.ScanStared(this, new EventArgs());
@@ -152,6 +158,7 @@ namespace Handbrake.Functions
if (this.ScanCompleted != null)
this.ScanCompleted(this, new EventArgs());
+ IsScanning = false;
}
catch (Exception exc)
{