Example #1
0
        private void BindGenericCommandEventHandler(BindCommandEventArgs inObj)
        {
            if (inObj.EventData is string order)
            {
                if (order == "ActivateWindow")
                {
                    Dispatcher.Invoke(() => Activate());
                    return;
                }
            }

            // This means that the given message will not be handled
            throw new NotImplementedException();
        }
Example #2
0
 private void BindBeginCommandEventHandler(BindCommandEventArgs inObj)
 {
     CustomOverlay.ShowOverlay();
 }
Example #3
0
 private void BindEndCommandEventHandler(BindCommandEventArgs inObj)
 {
     CustomOverlay.HideOverlayAndReset();
 }
Example #4
0
 private void BindBeginCommandEventHandler(BindCommandEventArgs inObj)
 {
 }