public OfficeUIControl() { InitializeComponent(); NetOffice.DebugConsole.Default.Mode = DebugConsoleMode.Console; NetOffice.Settings.Default.UseExceptionMessage = ExceptionMessageHandling.CopyAllInnerExceptionMessagesToTopLevelException; _waitControl = new WaitControl(_currentLanguageID); _waitControl.Visible = false; this.Controls.Add(_waitControl); }