From aca86882d4ed5a9b972b88d45f4bff8fa4c149ba Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:56:42 +0000 Subject: Utilisateur : Fcolin Date : 4/07/06 Heure : 14:04 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6) --- CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CSharp/Ivy/IvyPPC/IvyApplicationBinding.cs') 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 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]; -- cgit v1.1