public void ClearButtonMap() { ButtonMap.Clear(); if (App.IsDebug) { return; } LoadCapabilitiesMapping(); }
public override void Dispose() { ButtonMap.Clear(); ButtonMap = null; SwitchMap.Clear(); SwitchMap = null; TextMap.Clear(); TextMap = null; Desktop = null; _Compiled = null; _Buffer = null; _TypeID = -1; _Handler = null; base.Dispose(); }
public void CalculateSegmentRange(int segments) { RemoveSegmentBoundaryHandlers(); Segments.Clear(); if (segments == 0) { ButtonMap.Clear(); ReverseButtonMap.Clear(); return; } if (!IsDirectional) { ReverseButtonMap.Clear(); } CreateSegments(segments); CreateActionMapList(); AddSegmentBoundaryHandlers(); }