protected override void WndProc(ref Message m) { if (m.Msg == Win32Util.WM_COPYDATA) { if (WindowState == FormWindowState.Minimized) { Win32Util.ShowWindowAsync(Handle, Win32Util.SW_RESTORE); } TopMost = true; TopMost = false; String path = Win32Util.GetStringFromMessage(m); if (path.Length < 1 || !System.IO.File.Exists(path)) { return; } Program.FileManager.OpenFile(new EFEDiskFile(path)); return; } base.WndProc(ref m); }