Esempio n. 1
0
 public void InitMatrixEditor()
 {
     if (_formVRMatrixEditor == null || _formVRMatrixEditor.IsDisposed)
     {
         _formVRMatrixEditor = new FormVRMatrixEditor(_locatorOverlay);
     }
     else
     {
         _formVRMatrixEditor.SetOverlay(_locatorOverlay);
     }
 }
Esempio n. 2
0
        public void Hide(bool CloseMatrixWindow = true)
        {
            if (_locatorOverlay != null)
            {
                try
                {
                    _locatorOverlay.Hide();
                    _locatorOverlay.Destroy();
                    _locatorOverlay = null;
                }
                catch { }
            }

            if (CloseMatrixWindow)
            {
                if (_formVRMatrixEditor != null && !_formVRMatrixEditor.IsDisposed && _formVRMatrixEditor.Visible)
                {
                    _formVRMatrixEditor.Close();
                }
                _formVRMatrixEditor = null;
            }
        }