Example #1
0
 void realHost_ValueCached(ITarget host, ValueCachedEventArgs args)
 {
     if (mForm != null && mForm.IsHandleCreated)
     {
         mForm.BeginInvoke(new MethodInvoker(delegate()
         {
             if (this.ValueCached != null)
             {
                 this.ValueCached(this, args);
             }
         }));
     }
 }
Example #2
0
        void OnValueCached(LuaValue value, string desc)
        {
            ValueCachedEventArgs args = new ValueCachedEventArgs(value, desc);

            if (mForm != null && mForm.IsHandleCreated)
            {
                mForm.BeginInvoke(new MethodInvoker(delegate()
                {
                    if (this.ValueCached != null)
                    {
                        this.ValueCached(this, args);
                    }
                }));
            }
        }
Example #3
0
		void Target_ValueCached(Target target, ValueCachedEventArgs args)
		{
			mValueCache.Add(args.Value, args.Description);
		}
Example #4
0
		void realHost_ValueCached(ITarget host, ValueCachedEventArgs args)
		{
			if (mForm != null && mForm.IsHandleCreated)
				mForm.BeginInvoke(new MethodInvoker(delegate()
				{
					if (this.ValueCached != null)
						this.ValueCached(this, args);
				}));
		}
Example #5
0
		void OnValueCached(LuaValue value, string desc)
		{
			ValueCachedEventArgs args = new ValueCachedEventArgs(value, desc);
			if (mForm != null && mForm.IsHandleCreated)
				mForm.BeginInvoke(new MethodInvoker(delegate()
				{
					if (this.ValueCached != null)
						this.ValueCached(this, args);
				}));
		}
Example #6
0
 void Target_ValueCached(Target target, ValueCachedEventArgs args)
 {
     mValueCache.Add(args.Value, args.Description);
 }