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
Code:private void button1_Click(object sender, EventArgs e) { panelmove(); } private void Form1_Load(object sender, EventArgs e) { panel1.Location = new Point(x, y); } 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(); } } }




Reply With Quote