Better way of handling minimization of windows

This commit is contained in:
2025-06-07 00:45:05 +02:00
parent 0c0809c111
commit ff9f92424e
3 changed files with 39 additions and 36 deletions

View File

@ -32,11 +32,15 @@ namespace unison
public Shuffle()
{
InitializeComponent();
InitHwnd();
GenreList = new();
FolderList = new();
Filters = new();
SongFilterNumber.Text = "0";
WindowState = WindowState.Minimized;
_mpd = (MPDHandler)Application.Current.Properties["mpd"];
_shuffle = (ShuffleHandler)Application.Current.Properties["shuffle"];
}