35 lines
700 B
C#
35 lines
700 B
C#
|
using System.ComponentModel;
|
|||
|
using System.Windows;
|
|||
|
using System.Windows.Interop;
|
|||
|
|
|||
|
namespace unison
|
|||
|
{
|
|||
|
public partial class Shuffle : Window
|
|||
|
{
|
|||
|
//private MPDHandler _mpd;
|
|||
|
|
|||
|
public Shuffle()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
}
|
|||
|
|
|||
|
private void Window_Closing(object sender, CancelEventArgs e)
|
|||
|
{
|
|||
|
e.Cancel = true;
|
|||
|
WindowState = WindowState.Minimized;
|
|||
|
Hide();
|
|||
|
}
|
|||
|
|
|||
|
public void InitHwnd()
|
|||
|
{
|
|||
|
WindowInteropHelper helper = new(this);
|
|||
|
helper.EnsureHandle();
|
|||
|
}
|
|||
|
|
|||
|
private void AddToQueue_Clicked(object sender, RoutedEventArgs e)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|