Пример #1
0
 private void Update_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Are you sure you want to Update all clients?", "Send Software Update", MessageBoxButtons.YesNoCancel) == DialogResult.Yes)
     {
         NetControl.SendCommand("UPDATE", "");
     }
 }
Пример #2
0
 private void RestartAll_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Are you sure you want to restart all clients?", "Restart all", MessageBoxButtons.YesNoCancel) == DialogResult.Yes)
     {
         NetControl.SendCommand("RESTART", "");
     }
 }
Пример #3
0
 private void shutdownAll_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Are you sure you want to shutdown all clients?", "Shutdown all", MessageBoxButtons.YesNoCancel) == DialogResult.Yes)
     {
         NetControl.SendCommand("SHUTDOWN", "");
     }
 }
Пример #4
0
 private void gammaB_Click(object sender, EventArgs e)
 {
     NetControl.SendCommand("GAMMA", Properties.Settings.Default.GammaB.ToString());
     // SetGamma(Properties.Settings.Default.GammaB);
 }
Пример #5
0
 private void Portrait270_Click(object sender, EventArgs e)
 {
     NetControl.SendCommand("ROTATE", "3");
 }
Пример #6
0
 private void UpsideDown180_Click(object sender, EventArgs e)
 {
     NetControl.SendCommand("ROTATE", "2");
 }
Пример #7
0
 private void Landscape0_Click(object sender, EventArgs e)
 {
     NetControl.SendCommand("ROTATE", "0");
 }
Пример #8
0
 private void runCommand_Click(object sender, EventArgs e)
 {
     NetControl.SendCommand("COMMAND", commandText.Text);
 }
Пример #9
0
 private void killAll_Click(object sender, EventArgs e)
 {
     NetControl.SendCommand("KILL", "");
 }
Пример #10
0
 private void launchAll_Click(object sender, EventArgs e)
 {
     NetControl.SendCommand("LAUNCH", "");
 }