static void MonitorStep(ProgressMonitor mon, string?msg, int work1) { mon.OnStep(msg, work1); mon.ReportProgressChanged(); }