Exemplo n.º 1
0
        public T CreateWindow <T>() where T : Octave3DEditorWindow
        {
            T window = Octave3DEditorWindow.Create <T>();

            if (window != null)
            {
                _allWindows.Add(window);
            }

            return(window);
        }
Exemplo n.º 2
0
 public void DestroyAllWindows()
 {
     foreach (var window in _allWindows)
     {
         if (window != null)
         {
             Octave3DEditorWindow.Destroy(window);
         }
     }
     _allWindows.Clear();
 }