public static void ProcessResponse() { // ResponseType.None is returned when the loop exits with no action (change dlg box visiblity) if (response == ResponseType.None) return; dialog.Destroy (); dialog = null; }
public static void Create(Project project) { if (dialog != null) dialog.Destroy (); dialog = new AddSlideDialog (project); }