예제 #1
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            formCommands = new FormCommands();
            formCommands.Show();

            this.WriteConsole("F10: globale Start/Stop");

            string game     = Properties.Settings.Default.game;
            string server   = Properties.Settings.Default.server;
            string room     = Properties.Settings.Default.room;
            string user     = Properties.Settings.Default.user;
            string password = Properties.Settings.Default.password;
            string nickserv = Properties.Settings.Default.nickserv;

            wait                       = Properties.Settings.Default.keyWait;
            textBoxGame.Text           = game;
            textBoxServer.Text         = server;
            textBoxRoom.Text           = room;
            textBoxUser.Text           = user;
            textBoxPassword.Text       = password;
            textBoxNickserv.Text       = nickserv;
            numericUpDownKeyWait.Value = wait;

            interceptKeys = new InterceptKeys(this);
            interceptKeys.Start();
            ReloadKeybinds();
        }
예제 #2
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            formCommands = new FormCommands();
            formCommands.Show();

            this.WriteConsole("F10: globale Start/Stop");

            string game = Properties.Settings.Default.game;
            string server = Properties.Settings.Default.server;
            string room = Properties.Settings.Default.room;
            string user = Properties.Settings.Default.user;
            string password = Properties.Settings.Default.password;
            string nickserv = Properties.Settings.Default.nickserv;
            wait = Properties.Settings.Default.keyWait;
            textBoxGame.Text = game;
            textBoxServer.Text = server;
            textBoxRoom.Text = room;
            textBoxUser.Text = user;
            textBoxPassword.Text = password;
            textBoxNickserv.Text = nickserv;
            numericUpDownKeyWait.Value = wait;

            interceptKeys = new InterceptKeys(this);
            interceptKeys.Start();
            ReloadKeybinds();
        }