public static void AppMain() { FrmSplash frmSplash = new FrmSplash(AppGlobal_Init); AppGlobal.winfromMain = frmSplash as ILoading; Application.Run(frmSplash); }