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; }