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

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

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