예제 #1
0
        public override void ConfigureFramework(FrameworkConfiguration config)
        {
            if (!(config is MouseConfiguration)) throw new ArgumentException("Config must be MouseConfiguration");
            mouseConfig = config as MouseConfiguration;

            base.ConfigureFramework(config);
        }
예제 #2
0
 internal static FrameworkConfiguration GetMouseConfig(FrameworkElement uiParent)
 {
     var conf = new MouseConfiguration
     {
         Owner = uiParent,
         UIManagedThreadId = Thread.CurrentThread.ManagedThreadId,
         EventWindow = uiParent
     };
     return conf;
 }
예제 #3
0
        public override void ConfigureFramework(FrameworkConfiguration config)
        {
            if (!(config is MouseConfiguration))
            {
                throw new ArgumentException("Config must be MouseConfiguration");
            }
            mouseConfig = config as MouseConfiguration;

            base.ConfigureFramework(config);
        }