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

            rs.Shutdown();
        }
Beispiel #2
0
        //called the shutdown method when pressed
        void IconShutdown_click(object sender, EventArgs e)
        {
            RestartShutdown rs = new RestartShutdown();

            rs.Shutdown();
        }