Esempio n. 1
0
 private void SetShortDescription()
 {
     // TODO: check uniqueness. It's now handled by the database constraint but that is not
     // too descriptive.
     if (ActiveNode.Id > 0)
     {
         ActiveNode.ShortDescription = txtShortDescription.Text;
     }
     else
     {
         // Generate the short description for new nodes.
         string title = ActiveNode.Title;
         //VnFontConverter vnFontConverter = new VnFontConverter();
         //vnFontConverter.Convert(ref title, FontIndex.iUNI, FontIndex.iNOSIGN);
         ActiveNode.CreateShortDescription(title);
     }
 }