private static void Main(string[] args) { SplashScreenHelper.Splash = new SplashScreen(); SplashScreenHelper.ShowSplash(); App app = new App(); app.InitializeComponent(); if (args != null && args.Length > 0) { Constants.OnBehalfUser = args[0]; } app.Run(); }