register ytdl protocol with file associations

This commit is contained in:
stax76
2021-11-19 12:48:12 +01:00
parent 30b60a5b4e
commit 28f1c5c132
3 changed files with 21 additions and 24 deletions

View File

@@ -1,5 +1,4 @@

using mpvnet;
using System;
using System.ComponentModel;
using System.Drawing;
@@ -14,6 +13,8 @@ using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using mpvnet;
namespace MsgBoxEx
{
public partial class MessageBoxEx : Window, INotifyPropertyChanged
@@ -377,7 +378,7 @@ namespace MsgBoxEx
if (DelegateObj != null)
{
Style style = (Style)(this.FindResource("ImageOpacityChanger"));
Style style = (Style)(FindResource("ImageOpacityChanger"));
if (style != null)
{