Esempio n. 1
0
        /// <summary>
        /// Form load... nothing to say
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
            //this.Cursor.
            Cursor.Hide();

            _Joystick = new com.CouchPotato.GameController.Joystick();
            _Joystick.JoystickPressed += new com.CouchPotato.GameController.Joystick.JoystickPressedEventHandler(Joystick_JoystickPressed);
            //_Joystick.JoystickTrace += new com.CouchPotato.GameController.Joystick.JoystickTraceEventHandler(Joystick_JoystickTrace);
            _Joystick.Initialize();

            osdChannelList1.ChannelList = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\ChannelList.xml";
            osdChannelList1.ThumbnailPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\Thumbnails\\" ;
            osdChannelList1.initChannelList();

            axVLCPlugin21.volume = 100;
            label1.Text = "";
        }
Esempio n. 2
0
        /// <summary>
        /// Form load... nothing to say
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
            //this.Cursor.
            Cursor.Hide();

            _Joystick = new com.CouchPotato.GameController.Joystick();
            _Joystick.JoystickPressed += new com.CouchPotato.GameController.Joystick.JoystickPressedEventHandler(j_JoystickPressed);
            _Joystick.Initialize();

            osdChannelList1.ChannelList = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\ChannelList.xml";
            osdChannelList1.initChannelList();
        }