public Run ( LoaderFinished finished ) : void | ||
finished | LoaderFinished | |
return | void |
public void Run (LoaderFinished finished)
{
AppDomain current = AppDomain.CurrentDomain;
string baseDir = Path.GetDirectoryName (Assembly.GetCallingAssembly().Location);
string commonDir = Path.Combine (baseDir, "Common");
string [] files = Directory.GetFiles (Path.Combine (commonDir, "test-object"), "*.dll");
foreach (string file in files) {
string path = Path.GetDirectoryName (file);
current.AppendPrivatePath (path);
}
if (finished != null)
finished ();
}
}
public void Run() { UpdateSensitivity(); mainWindow.Hide(); loader.Run(); Application.Run(); }