Exemplo n.º 1
0
        /// <summary>
        /// Signals FLEx that the bridge sent a jump URL to process.
        /// </summary>
        public void SendJumpUrlToFlex(object sender, JumpEventArgs e)
        {
#if DEBUG
            if (_runStandAlone)
            {
                MessageBox.Show("SendJumpUrlToFlex " + e.JumpUrl ?? "");
                return;
            }
#endif
            if (_client == null)
            {
                return;
            }
            if (!_client.RemoteCall("BridgeSentJumpUrl", new object[] { e.JumpUrl ?? "" }))
            {
                Console.WriteLine(CommonResources.kFlexNotListening);                 //It isn't fatal if FLEx isn't listening to us.
            }
        }
Exemplo n.º 2
0
		/// <summary>
		/// Signals FLEx that the bridge sent a jump URL to process.
		/// </summary>
		public void SendJumpUrlToFlex(object sender, JumpEventArgs e)
		{
#if DEBUG
			if (_runStandAlone)
			{
				MessageBox.Show ("SendJumpUrlToFlex " + e.JumpUrl ?? "");
				return;
			}
#endif
			if (_client == null)
				return;
			if (!_client.RemoteCall("BridgeSentJumpUrl", new object[] { e.JumpUrl ?? "" }))
				Console.WriteLine(CommonResources.kFlexNotListening); //It isn't fatal if FLEx isn't listening to us.
		}