public DualFullDomePanel(DualFullDomeProjection projection) { InitializeComponent(); try { DataContext = projection; } catch (Exception exc) { } }
public DualFullDomePanel(DualFullDomeProjection projection) { InitializeComponent(); try { DataContext = projection; } catch (Exception exc) { } }
public DualFullDomePlugin() { try { Name = "Dual full dome"; var projection = new DualFullDomeProjection(); Content = projection; Panel = new DualFullDomePanel(projection); InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }