summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:56:42 +0000
committerfcolin2007-02-01 09:56:42 +0000
commitaca86882d4ed5a9b972b88d45f4bff8fa4c149ba (patch)
treeb5e6aee863a9c2e21e0e1182aa752c9c14e30a13
parentcef0c8f2800b3eeb199bb53b357b89e5bb8b1724 (diff)
downloadivy-csharp-aca86882d4ed5a9b972b88d45f4bff8fa4c149ba.zip
ivy-csharp-aca86882d4ed5a9b972b88d45f4bff8fa4c149ba.tar.gz
ivy-csharp-aca86882d4ed5a9b972b88d45f4bff8fa4c149ba.tar.bz2
ivy-csharp-aca86882d4ed5a9b972b88d45f4bff8fa4c149ba.tar.xz
Utilisateur : Fcolin Date : 4/07/06 Heure : 14:04 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6)
-rw-r--r--CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs b/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs
index 5d5b3df..4fbc45c 100644
--- a/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs
+++ b/CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs
@@ -113,10 +113,12 @@ namespace IvyBus
// translate part of expression to object property
public void FormatExpression()
{
- if (Callback != null)
+ //// Safely :
+ EventHandler<IvyMessageEventArgs> temp = Callback;
+ if (temp != null)
{
//TODO Pocket PC doesn't have Target Member
- object target = Callback.Target;
+ object target = temp.Target;
if (args == null)
{
args = new object[arguments.Count];