Click here to Skip to main content
15,914,608 members
Home / Discussions / C#
   

C#

 
GeneralRe: Open source Obfuscator for .Net Pin
Not Active19-Apr-10 15:30
mentorNot Active19-Apr-10 15:30 
GeneralRe: Open source Obfuscator for .Net Pin
PIEBALDconsult19-Apr-10 17:05
mvePIEBALDconsult19-Apr-10 17:05 
QuestionProblems With BinaryFormatter Pin
Richard Blythe19-Apr-10 10:26
Richard Blythe19-Apr-10 10:26 
AnswerRe: Problems With BinaryFormatter Pin
Super Lloyd19-Apr-10 13:20
Super Lloyd19-Apr-10 13:20 
AnswerRe: Problems With BinaryFormatter Pin
Alan Balkany21-Apr-10 4:04
Alan Balkany21-Apr-10 4:04 
QuestionIntegrating an unmanaged window into a managed C# app Pin
Keith Vitali19-Apr-10 10:15
Keith Vitali19-Apr-10 10:15 
AnswerRe: Integrating an unmanaged window into a managed C# app Pin
Super Lloyd19-Apr-10 14:21
Super Lloyd19-Apr-10 14:21 
QuestionPlaying multiple videos with AudioVideoPlayback (flickering) [modified] Pin
Caio198519-Apr-10 8:26
Caio198519-Apr-10 8:26 
When I have more than one video playing at same time they start flickering - on my desktop this behavior doesn't happen but only in my notebook, but I suppose this problem could also happen for other people's computer so I want to fix it. Do you know how can I do that?

Here is the code:

public partial class Form1 : Form
{
    Panel panel;
    Panel panel2;

    Video video;
    Video video2;

    public Form1()
    {
        InitializeComponent();

        //LOAD AND PLAY FIRST VIDEO
        panel = new Panel();
        Controls.Add(panel);
        video = new Video("VIDEO1.MPG");
        video.Owner = panel;
        video.Play();
        panel.Size = new Size(128, 128);

        //LOAD AND PLAY SECOND VIDEO
        panel2 = new Panel();
        Controls.Add(panel2);
        video2 = new Video("VIDEO2.MPG");
        video2.Owner = panel2;
        video2.Play();
        panel2.Size = new Size(128, 128);
        panel2.Location = new Point(panel.Location.X + panel.Width, panel.Location.Y);
    }
}


Just to remember that if just one video and panel is used, the video is played normally, smoothly, the problem happens when the second video is also added with its respective panel.

Thanks in advance,
modified on Thursday, April 22, 2010 12:21 PM

QuestionModeless dialog issue Pin
aei_totten19-Apr-10 7:52
aei_totten19-Apr-10 7:52 
AnswerRe: Modeless dialog issue Pin
Luc Pattyn19-Apr-10 8:03
sitebuilderLuc Pattyn19-Apr-10 8:03 
GeneralRe: Modeless dialog issue Pin
aei_totten19-Apr-10 8:09
aei_totten19-Apr-10 8:09 
GeneralRe: Modeless dialog issue Pin
Richard Blythe19-Apr-10 9:59
Richard Blythe19-Apr-10 9:59 
GeneralRe: Modeless dialog issue Pin
aei_totten19-Apr-10 10:54
aei_totten19-Apr-10 10:54 
GeneralRe: Modeless dialog issue Pin
Richard Blythe19-Apr-10 11:25
Richard Blythe19-Apr-10 11:25 
GeneralRe: Modeless dialog issue Pin
aei_totten20-Apr-10 3:09
aei_totten20-Apr-10 3:09 
GeneralRe: Modeless dialog issue Pin
aei_totten20-Apr-10 3:50
aei_totten20-Apr-10 3:50 
AnswerRe: Modeless dialog issue Pin
Gregory Gadow19-Apr-10 11:05
Gregory Gadow19-Apr-10 11:05 
GeneralRe: Modeless dialog issue Pin
aei_totten20-Apr-10 2:11
aei_totten20-Apr-10 2:11 
GeneralRe: Modeless dialog issue Pin
aei_totten20-Apr-10 3:33
aei_totten20-Apr-10 3:33 
GeneralRe: Modeless dialog issue Pin
Richard Blythe20-Apr-10 5:48
Richard Blythe20-Apr-10 5:48 
GeneralRe: Modeless dialog issue Pin
aei_totten20-Apr-10 6:11
aei_totten20-Apr-10 6:11 
GeneralRe: Modeless dialog issue Pin
Richard Blythe20-Apr-10 7:10
Richard Blythe20-Apr-10 7:10 
GeneralRe: Modeless dialog issue Pin
aei_totten20-Apr-10 7:31
aei_totten20-Apr-10 7:31 
GeneralRe: Modeless dialog issue Pin
Richard Blythe20-Apr-10 8:00
Richard Blythe20-Apr-10 8:00 
QuestionEject a remote computers CD rom Pin
Jacob Dixon19-Apr-10 7:46
Jacob Dixon19-Apr-10 7:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.