Пример #1
0
        public MainForm()
        {
            InitializeComponent();

            //Initialize a videoForm
            this.videoForm = new VideoForm();
            this.videoForm.MouseEnter += new System.EventHandler(Video_MouseEnter);
            this.videoForm.MouseLeave += new System.EventHandler(Video_MouseLeave);
            this.videoForm.panVideo.MouseEnter += new System.EventHandler(Video_MouseEnter);
            this.videoForm.panVideo.MouseLeave += new System.EventHandler(Video_MouseLeave);

            //Initialize the loadForm
            this.loadForm = new LoadForm();
            this.loadForm.Visible = false;

            //Initializing the configuration file
            InitializeConfiguration();

            //Initializing the MIDI input device and pauses its action
            InitializeInputDevice();
            TbBtnPauseClick(null, null);

            //Reading the default setlist XML
            ReadSetlistFile(this.xmlSetlistFilename);

            //Initialize the default setlist
            InitializeSetlist();
        }