Beispiel #1
0
 public void CollectMyPanes()
 {
     for (int i = m_MyPanes.Count - 1; i >= 0; i--)
     {
         if (m_MyPanes[i].Window == null)
         {
             m_MyPanes.RemoveAt(i);
         }
     }
 }
        public void CloseAllTaskpanes()
        {
            int count = m_tpc.Count;

            for (int i = 0; i < count; i++)
            {
                m_tpc[0].Visible = false;
                m_tpc[0].Dispose();
                m_tpc.RemoveAt(0);
            }
        }