Click here to Skip to main content
15,880,796 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Linking two pages using Visual STudio Pin
RobCroll10-Oct-11 12:11
RobCroll10-Oct-11 12:11 
GeneralRe: Linking two pages using Visual STudio Pin
rajeevcapgeminiindia17-Nov-11 19:50
rajeevcapgeminiindia17-Nov-11 19:50 
Questiondock a windows form into ppt application window Pin
shama_12325-Sep-11 21:18
shama_12325-Sep-11 21:18 
AnswerRe: dock a windows form into ppt application window Pin
Dave Kreskowiak26-Sep-11 3:40
mveDave Kreskowiak26-Sep-11 3:40 
QuestionVisual Studio insists my form has changed Pin
Wjousts22-Sep-11 4:05
Wjousts22-Sep-11 4:05 
AnswerRe: Visual Studio insists my form has changed Pin
RobCroll24-Sep-11 12:01
RobCroll24-Sep-11 12:01 
GeneralRe: Visual Studio insists my form has changed Pin
Wjousts27-Sep-11 11:41
Wjousts27-Sep-11 11:41 
AnswerRe: Visual Studio insists my form has changed Pin
Alan N24-Sep-11 20:59
Alan N24-Sep-11 20:59 
I've seen this too and it is damned annoying! Last week I built a form from scratch and found that the problem occurred when I set the docking property of a MonthCalendar. I didn't pursue that any further as I already knew that the form.cs, .designer.cs and .resx were not changing.

As for stuff disappearing I think you just have to accept that the designer will occasionally get it wrong. I've seen the error message
Code generation for property 'Items' failed. Error was: 'An item with the same key has already been added'

presented on a message box with a nice OK button to click. No it is not OK to remove the items from my toolstrip would be my answer but by then it's too late and usually the line of code that adds the individual items to the container has been deleted.
e.g.
toolStrip1.Items.AddRange(new ToolStripItem[]{....})


I've got a note in the comments on one form that says "WTF - added Load event handler, toolstrip items wiped".

My solution to these designer problems was an automated hourly backup of changed source code. I know that this works as the problem reoccurs only when the backup has failed!

Good luck, Alan.

modified 25-Sep-11 3:42am.

AnswerRe: Visual Studio insists my form has changed Pin
Eddy Vluggen26-Sep-11 8:33
professionalEddy Vluggen26-Sep-11 8:33 
GeneralRe: Visual Studio insists my form has changed Pin
Wjousts27-Sep-11 11:43
Wjousts27-Sep-11 11:43 
AnswerRe: Visual Studio insists my form has changed Pin
Wjousts27-Sep-11 11:41
Wjousts27-Sep-11 11:41 
QuestionWindows::Forms::ListView Repaint-Bug Pin
Allgaeuer9-Sep-11 1:14
Allgaeuer9-Sep-11 1:14 
GeneralRe: Windows::Forms::ListView Repaint-Bug Pin
MicroVirus12-Sep-11 2:56
MicroVirus12-Sep-11 2:56 
QuestionWaitCursor, again Pin
lukeer8-Sep-11 22:00
lukeer8-Sep-11 22:00 
AnswerRe: WaitCursor, again Pin
GenJerDan9-Sep-11 4:02
GenJerDan9-Sep-11 4:02 
GeneralRe: WaitCursor, again Pin
lukeer11-Sep-11 22:40
lukeer11-Sep-11 22:40 
GeneralRe: WaitCursor, again Pin
GenJerDan12-Sep-11 3:10
GenJerDan12-Sep-11 3:10 
AnswerRe: WaitCursor, again Pin
MicroVirus9-Sep-11 13:30
MicroVirus9-Sep-11 13:30 
GeneralRe: WaitCursor, again Pin
BillWoodruff9-Sep-11 14:55
professionalBillWoodruff9-Sep-11 14:55 
GeneralRe: WaitCursor, again Pin
lukeer11-Sep-11 23:58
lukeer11-Sep-11 23:58 
GeneralRe: WaitCursor, again Pin
BillWoodruff12-Sep-11 2:04
professionalBillWoodruff12-Sep-11 2:04 
AnswerRe: WaitCursor, again Pin
MicroVirus12-Sep-11 2:51
MicroVirus12-Sep-11 2:51 
AnswerRe: WaitCursor, again Pin
MikeTheFid12-Jan-12 9:12
MikeTheFid12-Jan-12 9:12 
GeneralRe: WaitCursor, again Pin
lukeer16-Jan-12 12:15
lukeer16-Jan-12 12:15 
GeneralRe: WaitCursor, again Pin
MikeTheFid18-Jan-12 9:16
MikeTheFid18-Jan-12 9:16 

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.