client/src/Iri.Modernisation.BaseMVVM/Commands/Commands.cs
changeset 35 43bb1b8ed555
parent 29 5f8d275750e7
child 38 bd33267300aa
--- a/client/src/Iri.Modernisation.BaseMVVM/Commands/Commands.cs	Tue Jan 19 09:49:56 2010 +0100
+++ b/client/src/Iri.Modernisation.BaseMVVM/Commands/Commands.cs	Mon Jan 25 09:30:22 2010 +0100
@@ -293,62 +293,13 @@
         {
             static HeaderProduction()
             {
-                Chap01EditingOkClick = new Command("Chap01EditingOkClick");
-                Chap01IndexingOkClick = new Command("Chap01IndexingOkClick");
-
-                Chap02EditingOkClick = new Command("Chap02EditingOkClick");
-                Chap02IndexingOkClick = new Command("Chap02IndexingOkClick");
-
-                Chap03EditingOkClick = new Command("Chap03EditingOkClick");
-                Chap03IndexingOkClick = new Command("Chap03IndexingOkClick");
-
-                Chap04EditingOkClick = new Command("Chap04EditingOkClick");
-                Chap04IndexingOkClick = new Command("Chap04IndexingOkClick");
+              
 
                 PublishClick = new Command("PublishClick");
                 SaveClick = new Command("SaveClick");
 
             }
-            public static Command Chap01EditingOkClick
-            {
-                get;
-                private set;
-            }
-            public static Command Chap01IndexingOkClick
-            {
-                get;
-                private set;
-            }
-            public static Command Chap02EditingOkClick
-            {
-                get;
-                private set;
-            }
-            public static Command Chap02IndexingOkClick
-            {
-                get;
-                private set;
-            }
-            public static Command Chap03EditingOkClick
-            {
-                get;
-                private set;
-            }
-            public static Command Chap03IndexingOkClick
-            {
-                get;
-                private set;
-            }
-            public static Command Chap04EditingOkClick
-            {
-                get;
-                private set;
-            }
-            public static Command Chap04IndexingOkClick
-            {
-                get;
-                private set;
-            }
+            
             public static Command PublishClick
             {
                 get;
@@ -460,11 +411,17 @@
             FlipView = new Command("FlipView");
             GoToTime = new Command("GoToTime");
             ActivePart = new Command("ActivePart");
-            
+            EscapeKeyPressed = new Command("EscapeKeyPressed");
            // VideoPositionTimer.Tick += new EventHandler(Each_Tick);
            
            
         }
+        public static Command EscapeKeyPressed
+        {
+            get;
+            private set;
+        }
+
         public static Command ActivePart
         {
             get;