public static void ShowPackageSettings (Package package) { using (EditPackageDialog dlg = new EditPackageDialog (package)) { if (MessageService.ShowCustomDialog (dlg) == (int)Gtk.ResponseType.Ok) IdeApp.ProjectOperations.SaveAsync (package.ParentProject); } }
public static void ShowPackageSettings(Package package) { EditPackageDialog dlg = new EditPackageDialog(package); if (MessageService.ShowCustomDialog(dlg) == (int)Gtk.ResponseType.Ok) { IdeApp.ProjectOperations.Save(package.ParentProject); } }