コード例 #1
0
        private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form2 = new PappyjoeMVC.View.Login();

            form2.Closed += (sender1, args) => this.Close();
            this.Hide();
            form2.Show();
        }