コード例 #1
0
 private void signOutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //sign out the current user
     //set the main menu to not visible
     Menu.Visible = false;
     //invoke the sign out method
     Sec.SignOut();
     //set the links
     SetLinks(Sec.Authenticated, Sec.Admin);
 }