Esempio n. 1
0
 private void buttonMenu11_Click(object sender, EventArgs e)
 {
     if (UserInfo.SuperUser == 1)
     {
         Form floorplanForm = new Floorplan();
         DisplayChildForm(floorplanForm);
         this.labelHeading.Text = "Floorplan";
     }
     else
     {
         new StatusMessage("This area requires superuser access.");
     }
 }