public VlcDotNetPanel(VlcDotNetMedia media) { _media = media; InitializeComponent(); try { DataContext = media; } catch (Exception) { } }
public VlcDotNetPanel(VlcDotNetMedia media) { _media = media; InitializeComponent(); try { DataContext = media; } catch (Exception exc) { } }
public VlcDotNetPlugin() { try { Name = "VLC"; var media = new VlcDotNetMedia(); Content = media; Panel = new VlcDotNetPanel(media); InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }