Beispiel #1
0
        private void SpawnMarker(Rectangle bounds, Orientation orientation)
        {
            Verify.State.IsTrue(_splitterMarker == null);

            _splitterMarker = new SplitterMarker(bounds, orientation);
            _splitterMarker.Show();
        }
Beispiel #2
0
        /// <summary>Spawns the split marker.</summary>
        /// <param name="bounds">Split marker bounds.</param>
        private void SpawnSplitMarker(Rectangle bounds)
        {
            Verify.State.IsTrue(_movingSplitMarker == null);

            _movingSplitMarker = new SplitterMarker(bounds, _viewSplit.Orientation);
            _movingSplitMarker.Show();
        }
Beispiel #3
0
 /// <summary>Hide and dispose split marker.</summary>
 private void KillSplitMarker()
 {
     if (_movingSplitMarker != null)
     {
         _movingSplitMarker.Dispose();
         _movingSplitMarker = null;
     }
 }
Beispiel #4
0
 public void Dispose()
 {
     if (_splitterMarker != null)
     {
         _splitterMarker.Dispose();
         _splitterMarker = null;
     }
     _isActive = false;
 }
Beispiel #5
0
 private void KillMarker()
 {
     if (_splitterMarker != null)
     {
         _splitterMarker.Close();
         _splitterMarker.Dispose();
         _splitterMarker = null;
     }
 }
Beispiel #6
0
        private void SpawnMarker(Rectangle bounds, Orientation orientation)
        {
            Verify.State.IsTrue(_splitterMarker == null);

            _splitterMarker = new SplitterMarker(bounds, orientation);
            _splitterMarker.Show();
        }
Beispiel #7
0
 private void KillMarker()
 {
     if(_splitterMarker != null)
     {
         _splitterMarker.Close();
         _splitterMarker.Dispose();
         _splitterMarker = null;
     }
 }
Beispiel #8
0
 public void Dispose()
 {
     if(_splitterMarker != null)
     {
         _splitterMarker.Dispose();
         _splitterMarker = null;
     }
     _isActive = false;
 }