Пример #1
0
 // Geometry pasted
 public override void OnPasteEnd(PasteOptions options)
 {
     if (dockerpanel != null)
     {
         dockerpanel.UpdateListSoon();
     }
 }
Пример #2
0
 // This is called after a map has been successfully opened
 public override void OnMapOpenEnd()
 {
     // If we just opened a UDMF format map, we want to create the Comments panel!
     if (General.Map.Config.FormatInterface == "UniversalMapSetIO")
     {
         dockerpanel    = new CommentsDocker();
         commentsdocker = new Docker("commentsdockerpanel", "Comments", dockerpanel);
         General.Interface.AddDocker(commentsdocker);
         dockerpanel.Setup();
         dockerpanel.UpdateListSoon();
     }
 }