public event EventHandler ScanStatusChanged;\r
\r
/// <summary>\r
+ /// Gets or sets a value indicating whether IsScanning.\r
+ /// </summary>\r
+ public bool IsScanning { get; set; }\r
+\r
+ /// <summary>\r
/// Scan a Source Path.\r
/// Title 0: scan all\r
/// </summary>\r
{\r
try\r
{\r
+ IsScanning = true;\r
if (this.ScanStared != null)\r
this.ScanStared(this, new EventArgs());\r
\r
\r
if (this.ScanCompleted != null)\r
this.ScanCompleted(this, new EventArgs());\r
+ IsScanning = false;\r
}\r
catch (Exception exc)\r
{\r