private async Task OnStartBackgroundWorker() { SetMsg(Printing.PrinterQueue, Printing.Message); if (!around.dialohHostPrinter.IsOpen) { around.dialohHostPrinter.IsOpen = true; } Printing.LaunchMonitor(); await Task.Delay(500); PrinterChecking().RunAsync(); }