Ejemplo n.º 1
0
 private void FindWin_Tick(object sender, EventArgs e)
 {
     if (ETConsoleHandler.GetParent() != IntPtr.Zero)
     {
         lblConFound.ForeColor = Color.LimeGreen;
         lblConFound.Text      = "Found";
         findWin.Stop();
         this.Hide();
     }
 }
Ejemplo n.º 2
0
 private void FindET_Tick(object sender, EventArgs e)
 {
     if (ETConsoleHandler.FindConsole())
     {
         lblFound.ForeColor = Color.LimeGreen;
         lblFound.Text      = "Found";
         findWin.Start();
         findET.Stop();
     }
 }
Ejemplo n.º 3
0
        private void btnGet_Click(object sender, EventArgs e)
        {
            if (cmbCmd.Text.ToLower() == "say")
            {
                MessageBox.Show("Can't use [GET] with a message.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
            List <string>   output    = ETConsoleHandler.ConsoleGet(txtCommand.Text);
            GetOutputWindow getWindow = new GetOutputWindow(ListToText(output));

            getWindow.ShowDialog();
        }
Ejemplo n.º 4
0
 private void btnSet_Click(object sender, EventArgs e)
 {
     ETConsoleHandler.SendToConsole(cmbCmd.Text.ToLower() == "say", txtCommand.Text);
 }
Ejemplo n.º 5
0
        private void RefreshConsole()
        {
            List <string> output = ETConsoleHandler.ConsoleToList(radioChat.Checked);

            txtConsole.Text = ListToText(output);
        }