public MainForm()
        {
            this.InitializeComponent();
            this.InitExterns = false;
            this.InitExterns = this.InitializeExternals();
            RegistryData registryData = new RegistryData();

            Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(registryData.LCID);
            InputConfiguration value = new InputConfiguration();

            this.TabWindow.TabPages[0].Controls.Add(value);
            GraphicsConfiguration value2 = new GraphicsConfiguration();

            this.TabWindow.TabPages[1].Controls.Add(value2);
            StatsConfiguration value3 = new StatsConfiguration();

            this.TabWindow.TabPages[2].Controls.Add(value3);
            AudioConfiguration value4 = new AudioConfiguration();

            this.TabWindow.TabPages[3].Controls.Add(value4);
            FileHandler fileHandler = new FileHandler();

            fileHandler.LoadGraphicsFile();
            if (!fileHandler.LoadAudioConfiguration())
            {
                GlobalDefs.OutputAudio.description = "Default";
                GlobalDefs.OutputAudio.AudioGuid   = new Guid("FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF");
            }
            this.TabWindow.SelectedIndex = 3;
        }
 protected override void WndProc(ref Message m)
 {
     if (m.Msg == 537)
     {
         IntPtr value = new IntPtr(7);
         if (m.WParam == value)
         {
             InputConfiguration inputConfiguration = (InputConfiguration)this.TabWindow.TabPages[0].Controls[0];
             inputConfiguration.ResetPadListData();
             AudioConfiguration audioConfiguration = (AudioConfiguration)this.TabWindow.TabPages[3].Controls[0];
             audioConfiguration.ResetAudioListData();
         }
     }
     base.WndProc(ref m);
 }