Esempio n. 1
0
 public KinectPanel(KinectTracker tracker)
 {
     InitializeComponent();
     try
     {
         DataContext = tracker;
     }
     catch (Exception exc)
     {
     }
 }
Esempio n. 2
0
 public KinectPanel(KinectTracker tracker)
 {
     InitializeComponent();
     try
     {
         DataContext = tracker;
     }
     catch (Exception)
     {
     }
 }
Esempio n. 3
0
 public KinectPlugin()
 {
     try
     {
         Name = "Microsoft Kinect";
         var tracker = new KinectTracker();
         Content = tracker;
         Panel   = new KinectPanel(tracker);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }