protected override void DefWndProc(ref Message m) { if (m.Msg == 0x4a) { System.Type cls = new TaskBrowser.COPYDATASTRUCT().GetType(); TaskBrowser.COPYDATASTRUCT lParam = (TaskBrowser.COPYDATASTRUCT)m.GetLParam(cls); this.ParseMessage((int)lParam.dwData, ref lParam.lpData); } else { base.DefWndProc(ref m); } }
protected override void DefWndProc(ref Message m) { if (m.Msg == 0x4a) { System.Type cls = new TaskBrowser.COPYDATASTRUCT().GetType(); TaskBrowser.COPYDATASTRUCT lParam = (TaskBrowser.COPYDATASTRUCT) m.GetLParam(cls); this.ParseMessage((int) lParam.dwData, ref lParam.lpData); } else { base.DefWndProc(ref m); } }