Ejemplo n.º 1
0
 private void Reservationbtn_Click(object sender, EventArgs e)
 {
     Sidepanel1.Height = BookingButton.Height;
     Sidepanel1.Top    = BookingButton.Top;
     bookingActivityusercontrol1.BringToFront();
     Reservationbtn.BringToFront();
     Cancelbookingbtn.Visible = false;
     Reservationbtn.Visible   = false;
 }
Ejemplo n.º 2
0
 private void BookingButton_Click(object sender, EventArgs e)
 {
     if (Reservationbtn.Visible == false && Cancelbookingbtn.Visible == false)
     {
         Cancelbookingbtn.Visible = true;
         Reservationbtn.Visible   = true;
         Cancelbookingbtn.BringToFront();
         Reservationbtn.BringToFront();
     }
     else
     {
         Reservationbtn.Visible   = false;
         Cancelbookingbtn.Visible = false;
     }
 }