Пример #1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="serial"></param>
 public UOEntity(Serial serial)
 {
     ContextMenu = new ContextMenu(this);
     Serial      = serial;
     Tooltip     = string.Empty;
     Properties  = new List <ClilocItemRec>();
 }
Пример #2
0
 /// <summary>
 /// Performs attachment of object to context menu system.
 /// </summary>
 /// <returns></returns>
 public virtual bool AttachContextMenu()
 {
     ContextMenu = new ContextMenu(this);
     return(ContextMenu.Parse());
 }