Ejemplo n.º 1
0
 private void listBox2_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (ordersListBox.SelectedItem != null)
     {
         EditReservationButton.Show();
     }
     else
     {
         EditReservationButton.Hide();
     }
 }
Ejemplo n.º 2
0
 public Dashboard(int adminID)
 {
     globalAdminID = adminID;
     InitializeComponent();
     CenterToScreen();
     fillChart(DateTime.Now);
     fillListBox();
     fillReservationListBox(DateTime.Now);
     fillAdminInfo(adminID);
     EditReservationButton.Hide();
     //WindowState = FormWindowState.Maximized;
 }