private void BtnRenovationClick(object sender, RoutedEventArgs e) { RoomRenovation roomRenovationWindow = new RoomRenovation(mapObject.Id); roomRenovationWindow.ShowDialog(); this.Close(); }
public AlternativeRenovationAppointments(int roomId, RoomRenovation roomRenovation, SchedulingDto schedulingDto) { InitializeComponent(); this.roomId = roomId; this.roomRenovation = roomRenovation; this.roomId = roomId; this.schedulingDto = schedulingDto; givenRoom.Text = "Room with id: " + roomId.ToString() + " is unavailable in given time interval. " + "Click on 'Show appointments' " + "to see available appointments for renovation"; }