Beispiel #1
0
 public static void Open(object obj)
 {
     if (m_Instance == null)
     {
         m_Instance = new GObjectEditor(obj);
         Gumps.Desktop.Children.Add(m_Instance);
         Gumps.Focus = m_Instance;
     }
 }
Beispiel #2
0
 protected internal override void OnDispose()
 {
     if (this.m_Object is CharData)
     {
         ((CharData)this.m_Object).Save();
     }
     if (Engine.TargetHandler is SetItemPropertyTarget)
     {
         Engine.TargetHandler = null;
     }
     m_Instance = null;
 }
Beispiel #3
0
 public static void Open(object obj)
 {
     if (m_Instance == null)
     {
         m_Instance = new GObjectEditor(obj);
         Gumps.Desktop.Children.Add(m_Instance);
         Gumps.Focus = m_Instance;
     }
 }
Beispiel #4
0
 protected internal override void OnDispose()
 {
     if (this.m_Object is CharData)
     {
         ((CharData) this.m_Object).Save();
     }
     if (Engine.TargetHandler is SetItemPropertyTarget)
     {
         Engine.TargetHandler = null;
     }
     m_Instance = null;
 }