Ejemplo n.º 1
0
 public TrackIrPanel(TrackIrTracker tracker)
 {
     InitializeComponent();
     try
     {
         DataContext = tracker;
     }
     catch (Exception exc)
     {
     }
 }
 public TrackIrPanel(TrackIrTracker tracker)
 {
     InitializeComponent();
     try
     {
         DataContext = tracker;
     }
     catch (Exception exc)
     {
     }
 }
Ejemplo n.º 3
0
 public TrackIrPlugin()
 {
     try
     {
         Name = "NaturalPoint TrackIR";
         var tracker = new TrackIrTracker();
         Content = tracker;
         Panel   = new TrackIrPanel(tracker);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }