예제 #1
0
파일: App.cs 프로젝트: xuhe/WGestures
 public virtual void ImportGestures(AbstractApp from)
 {
     foreach (var kv in from.GestureIntents)
     {
         GestureIntents.AddOrReplace(kv.Value);
     }
 }
예제 #2
0
파일: App.cs 프로젝트: xuhe/WGestures
        public override void Import(AbstractApp @from)
        {
            var asExeApp = @from as ExeApp;

            if (asExeApp != null)
            {
                InheritGlobalGestures = asExeApp.InheritGlobalGestures;
            }

            base.Import(@from);
        }
예제 #3
0
파일: App.cs 프로젝트: xuhe/WGestures
 public virtual void Import(AbstractApp from)
 {
     IsGesturingEnabled = from.IsGesturingEnabled;
     Name = from.Name;
     ImportGestures(from);
 }