コード例 #1
0
 public DualDomePanel(DualDomeProjection projection)
 {
     InitializeComponent();
     try
     {
         DataContext = projection;
     }
     catch (Exception)
     {
     }
 }
コード例 #2
0
 public DualDomePanel(DualDomeProjection projection)
 {
     InitializeComponent();
     try
     {
         DataContext = projection;
     }
     catch (Exception exc)
     {
     }
 }
コード例 #3
0
 public DualDomePlugin()
 {
     try
     {
         Name = "Dual dome";
         var projection = new DualDomeProjection();
         Content = projection;
         Panel   = new DualDomePanel(projection);
         InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings));
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }