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