summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs b/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs
index ff8b2a4..5d5b3df 100644
--- a/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs
+++ b/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs
@@ -115,9 +115,9 @@ namespace IvyBus
{
if (Callback != null)
{
- //TODO object target = Callback.Target;
- object target = Site.Component;
- if (args == null)
+ //TODO Pocket PC doesn't have Target Member
+ object target = Callback.Target;
+ if (args == null)
{
args = new object[arguments.Count];
for (int i = 0; i < arguments.Count; i++)
@@ -170,7 +170,7 @@ namespace IvyBus
IvyMessageEventArgs args = (IvyMessageEventArgs)state;
temp(this, args);
};
- syncContext.Send(update, e);
+ syncContext.Post(update, e);
}
else
temp(this, e);