public void ResourceGroupScriptingStarted( string groupName, int scriptCount ) { loadInc = groupInitProportion / scriptCount; LoadBar.Caption = "Parsing..."; mWindow.Update(); // allow OS events to process (if the platform requires it if ( WindowEventMonitor.Instance.MessagePump != null ) { WindowEventMonitor.Instance.MessagePump(); } }