public Autodesk.Revit.UI.Result OnStartup(UIControlledApplication application) { String version = application.ControlledApplication.VersionName; //display splash window for 10 seconds SplashWindow.StartSplash(); SplashWindow.ShowVersion(version); System.Threading.Thread.Sleep(10000); SplashWindow.StopSplash(); return(Autodesk.Revit.UI.Result.Succeeded); }