hi..
i have some questions about media player article on codeproject
website......
http://www.codeproject.com/cs/media/...191#xx793428xx
i have a media player class..
and then call in Main Form ..like this..
Panel panScreen;
string fileName = "C:\example.avi";
MediaPlayer mp = new MediaPlayer( panel, filename);
Problem is this..
i was implemented some code to panScreen ..
when i click this panScreen , panScreen resize maximize
when i move panScreen , entire form move together...
and so on..
it does work before open media file ..
but after opennig some file ... it doen't work...
i don't know why? what's the reason?
MediaPlayer mp = new MediaPlayer(panScreen, filename);
after this code execution , all event of panScreen doesn't work...
i've already added this code..in MediaPlayer class.
m_objVideoWindow.MessageDrain = (int) panScreen.Handle;
how should i do?
best regards...
= Charles =