src/FingersDance.Control.Menu/CustomSurfaceButton.cs
changeset 81 6b991b7e8046
parent 62 cbe5b01679a3
--- a/src/FingersDance.Control.Menu/CustomSurfaceButton.cs	Wed Sep 23 09:59:30 2009 +0200
+++ b/src/FingersDance.Control.Menu/CustomSurfaceButton.cs	Wed Sep 23 12:01:23 2009 +0200
@@ -26,24 +26,6 @@
         }
 
         public CustomSurfaceButton()
-        {
-            this.ContactDown += GenerateAction;
-            this.Click += GenerateAction;
-        }
-
-        private void GenerateAction(Object sender, EventArgs Event)
-        {
-            try
-            {
-                ActionFactory.ActionGenerator AG = (new ActionFactory.ActionFactory()).GetGenerator();
-                FingersDance.Actions.ActionBase action = AG.GetAction("Action" + ((CustomSurfaceButton)sender).Content, null);
-                if (action != null)
-                {
-                    //action.Execute();
-                    //this.debug.addToList(action.GetType().ToString());
-                }
-            }
-            catch (Exception e) { }
-        }
+        { }
     }
 }