private void buttonAddLibrarian_Click(object sender, EventArgs e)
 {
     if (!adminprivilege) {
         MessageBox.Show("Sorry! You cannot add new librarian account!");
     } else {
         AddLibrarian addlibrarian = new AddLibrarian();
         addlibrarian.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 private void buttonAddLibrarian_Click(object sender, EventArgs e)
 {
     if (!adminprivilege)
     {
         MessageBox.Show("Sorry! You cannot add new librarian account!");
     }
     else
     {
         AddLibrarian addlibrarian = new AddLibrarian();
         addlibrarian.ShowDialog();
     }
 }