예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            var login = new startup();

            login.Closed += (s, args) => this.Close();
            login.Show();
        }
예제 #2
0
        internal static void logout(Form close)
        {
            valid  = false;
            UserID = "";
            dp     = "";
            pos    = "";

            close.Hide();
            var home = new startup();

            home.Closed += (s, args) => close.Close();
            home.Show();
        }