Example #1
0
        private void btnLogOut_Click(object sender, EventArgs e)
        {
            libraryapp.GuestAccount();
            this.Hide();
            var login = new frmAuth();

            login.Show();
        }
Example #2
0
        private void btnGuest_Click(object sender, EventArgs e)
        {
            DBFactoryEnums db      = (DBFactoryEnums)cboDbOption.SelectedIndex + 1;
            LibraryProxy   library = LibraryProxy.GetInstance(db);

            library.GuestAccount();
            GoToMain();
        }