Click here to Skip to main content
15,307,483 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: OpenFileDialog exceptions Pin
Richard MacCutchan5-Oct-11 6:16
mveRichard MacCutchan5-Oct-11 6:16 
GeneralRe: OpenFileDialog exceptions Pin
MannyTheMammoth5-Oct-11 19:21
MemberMannyTheMammoth5-Oct-11 19:21 
AnswerRe: OpenFileDialog exceptions Pin
Eddy Vluggen5-Oct-11 6:38
professionalEddy Vluggen5-Oct-11 6:38 
GeneralRe: OpenFileDialog exceptions Pin
MannyTheMammoth5-Oct-11 19:17
MemberMannyTheMammoth5-Oct-11 19:17 
AnswerRe: OpenFileDialog exceptions Pin
Luc Pattyn5-Oct-11 7:55
sitebuilderLuc Pattyn5-Oct-11 7:55 
GeneralRe: OpenFileDialog exceptions Pin
MannyTheMammoth5-Oct-11 19:29
MemberMannyTheMammoth5-Oct-11 19:29 
AnswerRe: OpenFileDialog exceptions Pin
Perić Željko5-Oct-11 9:29
professionalPerić Željko5-Oct-11 9:29 
GeneralOT Pin
DaveyM695-Oct-11 10:44
professionalDaveyM695-Oct-11 10:44 
GeneralRe: OpenFileDialog exceptions Pin
MannyTheMammoth5-Oct-11 19:53
MemberMannyTheMammoth5-Oct-11 19:53 
QuestionLinking two pages using Visual STudio Pin
Jomon T Jose26-Sep-11 16:53
MemberJomon T Jose26-Sep-11 16:53 
AnswerRe: Linking two pages using Visual STudio Pin
RobCroll10-Oct-11 12:11
MemberRobCroll10-Oct-11 12:11 
GeneralRe: Linking two pages using Visual STudio Pin
rajeevcapgeminiindia17-Nov-11 19:50
Memberrajeevcapgeminiindia17-Nov-11 19:50 
Questiondock a windows form into ppt application window Pin
shama_12325-Sep-11 21:18
Membershama_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
MemberWjousts22-Sep-11 4:05 
AnswerRe: Visual Studio insists my form has changed Pin
RobCroll24-Sep-11 12:01
MemberRobCroll24-Sep-11 12:01 
GeneralRe: Visual Studio insists my form has changed Pin
Wjousts27-Sep-11 11:41
MemberWjousts27-Sep-11 11:41 
AnswerRe: Visual Studio insists my form has changed Pin
Alan N24-Sep-11 20:59
MemberAlan 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
MemberWjousts27-Sep-11 11:43 
AnswerRe: Visual Studio insists my form has changed Pin
Wjousts27-Sep-11 11:41
MemberWjousts27-Sep-11 11:41 
QuestionWindows::Forms::ListView Repaint-Bug Pin
Allgaeuer9-Sep-11 1:14
MemberAllgaeuer9-Sep-11 1:14 
GeneralRe: Windows::Forms::ListView Repaint-Bug Pin
MicroVirus12-Sep-11 2:56
MemberMicroVirus12-Sep-11 2:56 
QuestionWaitCursor, again Pin
lukeer8-Sep-11 22:00
Memberlukeer8-Sep-11 22:00 
AnswerRe: WaitCursor, again Pin
GenJerDan9-Sep-11 4:02
MemberGenJerDan9-Sep-11 4:02 

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.