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); } })); } }
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); } })); } }
void Target_ValueCached(Target target, ValueCachedEventArgs args) { mValueCache.Add(args.Value, args.Description); }
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); })); }
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); })); }