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