diff --git a/ControlApp.csproj b/ControlApp.csproj
index f6684e1..dd7c30e 100644
--- a/ControlApp.csproj
+++ b/ControlApp.csproj
@@ -35,9 +35,6 @@
C:\ControlApp\System.Speech.dll
-
- C:\ControlApp\Emgu.CV.dll
-
C:\ControlApp\Emgu.CV.Bitmap.dll
diff --git a/ControlApp/PopUp.cs b/ControlApp/PopUp.cs
index 8762609..393e32c 100644
--- a/ControlApp/PopUp.cs
+++ b/ControlApp/PopUp.cs
@@ -81,18 +81,26 @@ public class PopUp : Form
});
Close();
}
+ else
+ {
+ run_url = url;
+ }
tmr = new Timer();
tmr.Tick += popup_tick;
Random rand = new Random();
- if (ConfigurationManager.AppSettings["PopSet"] != null && "Long" == ConfigurationManager.AppSettings["PopSet"].ToString())
+ if (ConfigurationManager.AppSettings["PopSet"] != null)
{
- int mins = rand.Next(11);
- tmr.Interval = (int)TimeSpan.FromMinutes(mins).TotalMilliseconds;
- }
- else
- {
- int mins2 = rand.Next(55) + 5;
- tmr.Interval = (int)TimeSpan.FromSeconds(mins2).TotalMilliseconds;
+ string lengthtime = ConfigurationManager.AppSettings["PopSet"].ToString();
+ if ("Long" == lengthtime)
+ {
+ int mins = rand.Next(11);
+ tmr.Interval = (int)TimeSpan.FromMinutes(mins).TotalMilliseconds;
+ }
+ else
+ {
+ int mins2 = rand.Next(55) + 5;
+ tmr.Interval = (int)TimeSpan.FromSeconds(mins2).TotalMilliseconds;
+ }
}
}