Exemple #1
0
 /// <summary>
 /// 销毁方法
 /// </summary>
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         if (m_window != null)
         {
             m_invokeEvent = null;
             m_window.Close();
             m_window.Dispose();
             m_window = null;
         }
         base.Dispose();
     }
 }
Exemple #2
0
 /// <summary>
 /// 关闭窗体
 /// </summary>
 public override void Close()
 {
     m_window.Close();
     m_window.Dispose();
     m_native.Invalidate();
 }