/// <summary> /// Creates an instance of the class /// </summary> public OfficeUIControl() { InitializeComponent(); NetOffice.DebugConsole.Default.Mode = DebugConsoleMode.Console; _waitControl = new WaitControl(1033); _waitControl.Visible = false; this.Controls.Add(_waitControl); }
/// <summary> /// Creates an instance of the class /// </summary> public OfficeUIControl() { InitializeComponent(); NetOffice.DebugConsole.Default.Mode = DebugConsoleMode.Console; NetOffice.Settings.Default.UseExceptionMessage = ExceptionMessageHandling.CopyAllInnerExceptionMessagesToTopLevelException; _waitControl = new WaitControl(1033); _waitControl.Visible = false; this.Controls.Add(_waitControl); }