예제 #1
0
        private void btnLogout_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            this.Hide();

            ForecastHome userHome = new ForecastHome();

            userHome.Show();
        }
예제 #2
0
        private void btnDashboard_Click_1(object sender, EventArgs e)
        {
            ForecastHome home = new ForecastHome();

            home.Visible = false;
            this.Hide();

            using (LoginForm login = new LoginForm())
            {
                login.ShowDialog();
            }
        }