mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
CTDB2.0: coverart search
This commit is contained in:
@@ -302,4 +302,26 @@ namespace AudioDataPlugIn
|
||||
return sw.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
//private NativeWindow GetWindowFromHost(int hwnd)
|
||||
//{
|
||||
// IntPtr handle = new IntPtr(hwnd);
|
||||
// NativeWindow nativeWindow = new NativeWindow();
|
||||
// nativeWindow.AssignHandle(handle);
|
||||
// return window;
|
||||
//}
|
||||
//NativeWindow parentWindow = GetWindowFromHwnd(hwnd);
|
||||
//try
|
||||
//{
|
||||
// launchTarget.ShowDialog(parentWindow);
|
||||
//}
|
||||
//finally
|
||||
//{
|
||||
// parentWindow.ReleaseHandle();
|
||||
//}
|
||||
//internal class WindowWrapper : System.Windows.Forms.IWin32Window
|
||||
//{
|
||||
// public IntPtr Handle { get; private set; }
|
||||
// public WindowWrapper(IntPtr hwnd) { Handle = hwnd; }
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user