public static void Toast(String message, int timeout = 2000) { var toast = new ToastForm(message, timeout); var panel = Context.AppPanelManager.GetCurrentPanel() as Form; toast.StartPosition = FormStartPosition.CenterParent; toast.ShowDialog(panel); }