private static void LaunchModalForm() { Thread.Sleep(1000); var modalForm = new ModalForm(); modalForm.ShowDialog(); }