Beispiel #1
0
        //Restart method
        private void Restart()
        {
            RestartShutdown rs = new RestartShutdown();

            rs.Restart();
        }
Beispiel #2
0
        //calles the restart method when pressed
        void IconRestart_click(object sender, EventArgs e)
        {
            RestartShutdown rs = new RestartShutdown();

            rs.Restart();
        }