예제 #1
0
        private void OnNextSuggestedMessage(XenMessage msg)
        {
            if (msg.Is <GetVisualTreeRequest>())
            {
                Designer.GetVisualTree();
            }

            if (msg.Is <GetWidgetPropertiesRequest>())
            {
                var r = msg as GetWidgetPropertiesRequest;
                GetWidgetProperties(r?.WidgetId);
            }
        }
예제 #2
0
 protected override void OnExecute(XenMessage message)
 {
     if (message.Is <ObjectResponse>())
     {
         HandleObject(message as ObjectResponse);
     }
 }