I am doing in Hotel booking system use WPF, and I search for some control which satify my bussiness like this, I think that maybe a grid with following :
- The grid have 2 axes,
top horizontal axis for time line to display day for 5 year (scrollbar allow user navigate from current day to 2 previous years and next 3 years)
left vertical axis for Room Type and Room No which is display all RoomNo in database according with it's Room Type beside which are data in database
-Allow mouse drag horizontal only to verify the begin date and the end date of booking ticket.
-Each row in datagrid is standfor a room, when user drag from cell A to cell B in the same row, it highlight the cover items and display the value of horizontal axis and at cell A and cell B (Actually I need to get the from date and the end date of booking)
-2 textbox follow the value of user dragging, it display the date of begin dragging date ,end of dragging date, the room number of dragging row
- The grid have 2 axes,
top horizontal axis for time line to display day for 5 year (scrollbar allow user navigate from current day to 2 previous years and next 3 years)
left vertical axis for Room Type and Room No which is display all RoomNo in database according with it's Room Type beside which are data in database
-Allow mouse drag horizontal only to verify the begin date and the end date of booking ticket.
-Each row in datagrid is standfor a room, when user drag from cell A to cell B in the same row, it highlight the cover items and display the value of horizontal axis and at cell A and cell B (Actually I need to get the from date and the end date of booking)
-2 textbox follow the value of user dragging, it display the date of begin dragging date ,end of dragging date, the room number of dragging row
From: 25 Nov 10 RoomType: Lux
To : 27 Nov 10 RoomNo: 100300
...-2years |
24 Nov 10 |
25 Nov 10 |
26 Nov 10 |
27 Nov 10 |
….. + 3years |
||
Room Type |
RoomNo |
||||||
Del |
100100 |
||||||
Del |
100200 |
||||||
Lux |
100300 |
||||||
Lux |
100301 |
||||||
Eco |
20100 |
||||||
Eco |
20100 |
||||||
Eco |
20100 |