Beispiel #1
0
        private void RunCfgSelectedButton_Click(object sender, EventArgs e)
        {
            if (FilterSelected != null)
            {
                foreach (string Line in CfgFileLines)
                {
                    AppendConsoleNormally("[Local] Sent command: " + Line);
                    FilterSelected.SendMessage(Line);
                }

                MessageBox.Show("Ran CFG On " + FilterSelected.ToString() + " successfully.");
            }
        }
Beispiel #2
0
 private void CmdSelectedButton_Click(object sender, EventArgs e)
 {
     if (ListenerListBox.SelectedItem != null && VirtualConsoleRichTextBox.Text != "")
     {
         CsgoListenerObject Selected = (CsgoListenerObject)ListenerListBox.SelectedItem;
         string[]           Lines    = VirtualConsoleRichTextBox.Lines;
         foreach (string Line in Lines)
         {
             AppendConsoleNormally("[Local] Sent command: " + Line);
             Selected.SendMessage(Line);
         }
     }
 }