summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:45:15 +0000
committerfcolin2007-02-01 09:45:15 +0000
commitbc02d12897b29422c738fc97c27762f362cc8b02 (patch)
treed0c5cfae4e1c29ea2cd52e5b32c5ac0def481329 /CSharp/Ivy
parent6423c2e1427c7a6e4d25af7bb961058174069d1f (diff)
downloadivy-csharp-bc02d12897b29422c738fc97c27762f362cc8b02.zip
ivy-csharp-bc02d12897b29422c738fc97c27762f362cc8b02.tar.gz
ivy-csharp-bc02d12897b29422c738fc97c27762f362cc8b02.tar.bz2
ivy-csharp-bc02d12897b29422c738fc97c27762f362cc8b02.tar.xz
Utilisateur : Fcolin Date : 4/07/06 Heure : 14:04 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/Ivy/IvyApplicationBinding.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/CSharp/Ivy/Ivy/IvyApplicationBinding.cs b/CSharp/Ivy/Ivy/IvyApplicationBinding.cs
index 5d5b3df..4fbc45c 100644
--- a/CSharp/Ivy/Ivy/IvyApplicationBinding.cs
+++ b/CSharp/Ivy/Ivy/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];