Exemplo n.º 1
0
 void target_ExCommandResult(Target sender, ExMessageEventArgs args)
 {
     if (args.Command == "StartProfile")
     {
         mDebugger.ShowStatusMessage("Lua Profile Started...");
     }
     else if (args.Command == "StopProfile")
     {
         mDebugger.ShowStatusMessage("Lua Profile Stopped!");
     }
 }
Exemplo n.º 2
0
        void OnExMessage(string command, byte [] data)
        {
            ExMessageEventArgs args = new ExMessageEventArgs(command, data);

            if (mForm != null && mForm.IsHandleCreated)
            {
                mForm.BeginInvoke(new MethodInvoker(delegate()
                {
                    if (this.ExMessage != null)
                    {
                        this.ExMessage(this, args);
                    }
                }));
            }
        }
Exemplo n.º 3
0
		void target_ExCommandResult(Target sender, ExMessageEventArgs args)
		{
			if (args.Command == "StartProfile")
				mDebugger.ShowStatusMessage("Lua Profile Started...");
			else if (args.Command == "StopProfile")
				mDebugger.ShowStatusMessage("Lua Profile Stopped!");
		}
Exemplo n.º 4
0
		void OnExMessage(string command, byte [] data)
		{
			ExMessageEventArgs args = new ExMessageEventArgs(command, data);
			if (mForm != null && mForm.IsHandleCreated)
				mForm.BeginInvoke(new MethodInvoker(delegate()
				{
					if (this.ExMessage != null)
						this.ExMessage(this, args);
				}));
		}