Пример #1
0
 public override void ApplyChanges()
 {
     if (solution != null)
     {
         solution.LocalAuthorInformation = widget.Get();
     }
 }
Пример #2
0
 public override void ApplyChanges()
 {
     if (solution != null)
     {
         AuthorInformation ainfo = widget.Get();
         if (ainfo != null)
         {
             solution.UserProperties.SetValue <AuthorInformation> ("AuthorInfo", ainfo);
         }
         else if (solution.UserProperties.HasValue("AuthorInfo"))
         {
             solution.UserProperties.RemoveValue("AuthorInfo");
         }
     }
 }