private void bnLogout_Click(object sender, EventArgs e) { // XXX Logout button event handler try { BookShopControl.logoutCustomer(); updateLabel = "none"; } catch (BookShopException ex) { MessageBox.Show(this, ex.ErrorMessage); throw; } }