Пример #1
0
        private void logout_Click(object sender, EventArgs e)
        {
            var confirmResult = MessageBox.Show("ログアウトしますか ?",
                                                "Confirm Logout !",
                                                MessageBoxButtons.YesNo);

            if (confirmResult == DialogResult.Yes)
            {
                frm_login frmlogin = new frm_login();
                this.Hide();
                frmlogin.Show();
            }
            else
            {
                this.Show();
            }
        }
Пример #2
0
 public frm_shaiinrisuto(frm_login frm_login)
 {
     this.frm_login = frm_login;
 }