Exemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            Joy                       = new IO.Joy(this);
            Joy.DeviceFound          += new DeviceFoundEventHandler(Joy_DeviceFound);
            Joy.JoystickStateChanged += new JoystickStateEventHandler(Joy_JoystickStateChanged);
            richTextBox1.Text         = Strings.General;
            this.Text                += " " + Assembly.GetExecutingAssembly().GetName().Version;
        }
Exemplo n.º 2
0
Arquivo: MainForm.cs Projeto: kmpm/MoJ
        public MainForm()
        {
            InitializeComponent();

            Joy = new IO.Joy(this);
            Joy.DeviceFound += new DeviceFoundEventHandler(Joy_DeviceFound);
            Joy.JoystickStateChanged += new JoystickStateEventHandler(Joy_JoystickStateChanged);
            richTextBox1.Text = Strings.General;
            this.Text += " " + Assembly.GetExecutingAssembly().GetName().Version;
        }