...
This commit is contained in:
@@ -506,9 +506,20 @@ namespace Project
|
||||
|
||||
public static void RunExplorer(string arg)
|
||||
{
|
||||
System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer");
|
||||
si.Arguments = arg;
|
||||
System.Diagnostics.Process.Start(si);
|
||||
if(arg.StartsWith("http"))
|
||||
{
|
||||
System.Diagnostics.Process.Start(arg);
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
System.Diagnostics.ProcessStartInfo si = new ProcessStartInfo("explorer");
|
||||
si.Arguments = arg;
|
||||
System.Diagnostics.Process.Start(si);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#region "watchdog"
|
||||
|
||||
Reference in New Issue
Block a user