Пример #1
0
 public bool Store()
 {
     if (nameEntry.Text.Length == 0)
     {
         MessageService.ShowError(GettextCatalog.GetString("Please enter a valid project name"));
         return(false);
     }
     project.Name = nameEntry.Text;
     if (!optionsWidget.ValidateChanges(project))
     {
         return(false);
     }
     optionsWidget.Store(project);
     return(true);
 }
 public override void ApplyChanges()
 {
     widget.Store(ConfiguredProject);
 }