Ejemplo n.º 1
0
 public FullDomePanel(FullDomeProjection projection)
 {
     InitializeComponent();
     try
     {
         DataContext = projection;
     }
     catch (Exception exc)
     {
     }
 }
Ejemplo n.º 2
0
 public FullDomePanel(FullDomeProjection projection)
 {
     InitializeComponent();
     try
     {
         DataContext = projection;
     }
     catch (Exception exc)
     {
     }
 }
Ejemplo n.º 3
0
 public FullDomePlugin()
 {
     try
     {
         Name = "Full Dome";
         var projection = new FullDomeProjection();
         Content = projection;
         Panel   = new FullDomePanel(projection);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }