// /// <summary> // /// Add the transmitting panel into the top of locked stack // /// </summary> public void AddLocker(IVRPanel panel) { // if (panel != null && !mLockStack.Contains(panel)) // mLockStack.Add(panel); }
// /// <summary> // /// If the transmitted panel is in locked stack, remove it from the stack // /// </summary> public void RemoveLocker(IVRPanel panel) { // if(panel!=null&&mLockStack.Contains(panel)) // mLockStack.Remove(panel); }
///// <summary> // /// Detect whether the input target is the last locked target ///// </summary> ///// <returns><c>true</c>, the panel is the last one locked <c>false</c> otherwise.</returns> public bool CheckTopLocker(IVRPanel panel) { return(false); // return mLockStack.Count > 0 ? mLockStack[mLockStack.Count - 1] == panel : false; }