5.4.9.7 Beta

This commit is contained in:
Frank Skare
2021-08-28 12:47:24 +02:00
parent d3c1e2ab56
commit 42c623c8ca
4 changed files with 18 additions and 3 deletions

View File

@@ -1148,6 +1148,15 @@ namespace mpvnet
}
}
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
try {
return base.ProcessCmdKey(ref msg, keyData);
} catch (Exception) {
return true;
}
}
[DllImport("user32.dll")]
public static extern bool SetLayeredWindowAttributes(IntPtr hWnd, int crKey, byte alpha, int dwFlags);
}

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.9.6")]
[assembly: AssemblyFileVersion("5.4.9.6")]
[assembly: AssemblyVersion("5.4.9.7")]
[assembly: AssemblyFileVersion("5.4.9.7")]

View File

@@ -30,6 +30,7 @@ namespace mpvnet
EscapeCommand = new RelayCommand(OnEscapeCommand);
ExecuteCommand = new RelayCommand(OnExecuteCommand);
SearchControl.SearchTextBox.PreviewKeyDown += SearchTextBox_PreviewKeyDown;
SearchControl.SearchTextBox.TextChanged += SearchTextBox_TextChanged;
SearchControl.HideClearButton = true;