示例#1
0
        private void mnuLogout_Click(object sender, EventArgs e)
        {
            this.Hide();
            Relogin.Call(1);
            this.Close();

            // this.Dispose();
        }
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form frm = Relogin.Call();

            Application.Run(frm);
        }