Exemple #1
0
        private void RebootComputer(object sender, EventArgs e)
        {
            try
            {
                _computerName = dataGridView1.SelectedCells[1].Value.ToString();
                _computerBl   = new BusinessComputer();
                _computerBl.RebootComputer(_computerName);
            }

            catch (ArgumentOutOfRangeException)
            {
                MessageBox.Show("Lütfen tüm satırı seçiniz", "Uyarı", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }