Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
QuestionSetting an instance object equal to my empty string. Pin
Member 112838693-Dec-14 8:00
Member 112838693-Dec-14 8:00 
GeneralRe: Setting an instance object equal to my empty string. Pin
PIEBALDconsult3-Dec-14 8:07
mvePIEBALDconsult3-Dec-14 8:07 
GeneralRe: Setting an instance object equal to my empty string. Pin
Shweta N Mishra3-Dec-14 21:21
professionalShweta N Mishra3-Dec-14 21:21 
QuestionHow to send cell value from DataGrid to text file? Pin
Member 100245173-Dec-14 5:01
Member 100245173-Dec-14 5:01 
SuggestionRe: How to send cell value from DataGrid to text file? Pin
ZurdoDev3-Dec-14 5:14
professionalZurdoDev3-Dec-14 5:14 
AnswerRe: How to send cell value from DataGrid to text file? Pin
Richard MacCutchan3-Dec-14 6:31
mveRichard MacCutchan3-Dec-14 6:31 
GeneralRe: How to send cell value from DataGrid to text file? Pin
Member 100245173-Dec-14 7:41
Member 100245173-Dec-14 7:41 
QuestionCreate Hotel Room Booking Calendar Pin
KissGnv2-Dec-14 23:44
KissGnv2-Dec-14 23:44 
Could you recommend me a method how to create a hotel room booking calendar like this?
http://www.daypilot.org/tutorial/hotel/[^]

I have two ideas and I tried to create the calendar, but I have problems with it.

1. idea: Create a DataGridView. It is good because there are cells and header cells in it, it is scrollable, but I can't insert controls in the cells (button or panel) which would show the reservations through days (like in the example) because column span is not supported by the datagridview.

2. idea: Use a TableLayoutPanel. It supports column spanning and I can insert any type of Control in its cells, so I can insert controls which shows the interval, name, etc.. of the room reservation and it can overlap many cells. The only problem is that I have to create row headers and column headers. I created another tablelayoutpanel over the table, it would be the column header. The header would horizontally scroll simultaneously with the main table, but if I turn autoscroll on, the scollbar is visible and it is not good. If I turn off autoscroll, I can't scroll the panel from code. It would be good if I could create an independent hscrollbar and in it's scroll event I could set the header and main tablelayoutpanels scroll position simultaneously.

Have you any ideas?
AnswerRe: Create Hotel Room Booking Calendar Pin
ixilom3-Dec-14 1:35
ixilom3-Dec-14 1:35 
GeneralRe: Create Hotel Room Booking Calendar Pin
KissGnv3-Dec-14 3:05
KissGnv3-Dec-14 3:05 
AnswerRe: Create Hotel Room Booking Calendar Pin
BillWoodruff3-Dec-14 1:36
professionalBillWoodruff3-Dec-14 1:36 
GeneralRe: Create Hotel Room Booking Calendar Pin
KissGnv3-Dec-14 3:11
KissGnv3-Dec-14 3:11 
GeneralRe: Create Hotel Room Booking Calendar Pin
BillWoodruff3-Dec-14 12:47
professionalBillWoodruff3-Dec-14 12:47 
GeneralRe: Create Hotel Room Booking Calendar Pin
PIEBALDconsult3-Dec-14 9:25
mvePIEBALDconsult3-Dec-14 9:25 
GeneralRe: Create Hotel Room Booking Calendar Pin
KissGnv3-Dec-14 20:23
KissGnv3-Dec-14 20:23 
GeneralRe: Create Hotel Room Booking Calendar Pin
BillWoodruff4-Dec-14 4:33
professionalBillWoodruff4-Dec-14 4:33 
AnswerRe: Create Hotel Room Booking Calendar Pin
syed shanu3-Dec-14 19:10
mvasyed shanu3-Dec-14 19:10 
AnswerRe: Create Hotel Room Booking Calendar Pin
SledgeHammer013-Dec-14 19:30
SledgeHammer013-Dec-14 19:30 
QuestionCreate Empty Node (Containing Child Node) Pin
AmbiguousName2-Dec-14 23:35
AmbiguousName2-Dec-14 23:35 
AnswerRe: Create Empty Node (Containing Child Node) Pin
Richard MacCutchan3-Dec-14 0:27
mveRichard MacCutchan3-Dec-14 0:27 
QuestionPopulate specifc Registry keys in Combobox Pin
Jassim Rahma2-Dec-14 18:43
Jassim Rahma2-Dec-14 18:43 
AnswerRe: Populate specifc Registry keys in Combobox Pin
BillWoodruff2-Dec-14 18:48
professionalBillWoodruff2-Dec-14 18:48 
AnswerRe: Populate specifc Registry keys in Combobox Pin
OriginalGriff2-Dec-14 21:38
mveOriginalGriff2-Dec-14 21:38 
GeneralRe: Populate specifc Registry keys in Combobox Pin
Richard MacCutchan2-Dec-14 21:47
mveRichard MacCutchan2-Dec-14 21:47 
AnswerRe: Populate specifc Registry keys in Combobox Pin
Richard MacCutchan2-Dec-14 21:49
mveRichard MacCutchan2-Dec-14 21:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.