axWindowsMediaPlayer moving different location

Aug 23 2009 8:37 AM
hi this is my first time in writing this forum, i am having problems that when i move the panel to another location while the wmplayer is playing when viewing the movie the wmplayer is blinking how can i stop this from happening what is the code. I actually dont want it to blink while moving the movie hope you understand my problem my code public void panelmove() { axWindowsMediaPlayer1.URL = @"C:\A.AVI"; for (int i = 0; i < 450; i++) { System.Threading.Thread.Sleep(100); Application.DoEvents(); panel1.Location = new Point(100,i); if (i == 400) { panelmove(); }

Answers (2)