コード例 #1
0
        public VlcDotNetPanel(VlcDotNetMedia media)
        {
            _media = media;

            InitializeComponent();
            try
            {
                DataContext = media;
            }
            catch (Exception)
            {
            }
        }
コード例 #2
0
        public VlcDotNetPanel(VlcDotNetMedia media)
        {
            _media = media;

            InitializeComponent();
            try
            {
                DataContext = media;
            }
            catch (Exception exc)
            {
            }
        }
コード例 #3
0
 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);
     }
 }