public OculusRiftPanel(OculusRiftTracker tracker) { InitializeComponent(); try { DataContext = tracker; } catch (Exception) { } }
public OculusRiftPanel(OculusRiftTracker tracker) { InitializeComponent(); try { DataContext = tracker; } catch (Exception exc) { } }
public OculusRiftPlugin() { try { Name = "Oculus Rift"; Content = new OculusRiftTracker(); Panel = null; } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }