Example #1
0
        private void btn_room_no_click(object sender, EventArgs e)
        {
            room_id = ((BunifuFlatButton)sender).Name;
            room_no = ((BunifuFlatButton)sender).Text;

            if (room_id != "")
            {
                HotelRoomStatus hr = new HotelRoomStatus();
                hr.ShowDialog();
                roomManagement();
            }
        }
Example #2
0
        private void btn_check_in_out_click(object sender, EventArgs e)
        {
            room_id    = ((BunifuFlatButton)sender).Name;
            room_no    = ((BunifuFlatButton)sender).AccessibleName;
            buttonText = ((BunifuFlatButton)sender).Text;

            if (room_no != "")
            {
                HotelRoomStatus hr = new HotelRoomStatus();
                hr.ShowDialog();
                roomManagement();
            }
        }
Example #3
0
        private void mainPanel_click(object sender, EventArgs e)
        {
            room_id = ((Panel)sender).Name;

            room_no = ((Panel)sender).Text;

            if (room_id != "")
            {
                HotelRoomStatus hr = new HotelRoomStatus();
                hr.ShowDialog();
                roomManagement();
            }
        }