winforms - Windows form has disappeared in Visual Studio form designer -
yesterday edited form in visual studio's form designer. when returned today, designer shows nothing. can open properties window, select different constituent components , edit properties, not show up. application builds fine , form can run usual.
i've tried couple of different solutions, such checking .csproj file has form.designer.cs included, nothing has worked.
strangely, did see problem earlier in week, fixed when unlocked computer after returning coffee break.
any suggestions?
weird, after trying hour ended solving issue 30 seconds after posting this!
i edited size property of item on form using properties tab, saved form, , reverted form.cs, form.designer.cs, , form.resx files latest source control version.
at point form jollily re-appeared.
edit: fwiw, didn't work form exhibiting same problem.
edit 2: other form has fixed after coming lunch , unlocking pc... might how affects display - shifts on right hand monitor when that.
edit 3: ok, seems modifying display dpi fixes it. on windows 10 go system settings -> display, , move "change size of text: 100%" option 200%. once changes on screen, move 100%.
this seems quite foolproof, although have jimmy around lot before works. know has worked when both vertical , horizontal scrollbar; form further down page.
Comments
Post a Comment