Designer error ?!!

  • Thread starter Thread starter parslej
  • Start date Start date
P

parslej

Something strange happened with my solution.
If I made some changes on the form in the designer mode
(for example: if I change label's background color, I see changes in
IDE, in compiled app as well. But if I close form in designer, reopen
then, all changes in designer are lost! Althrough I see previously set
background color in code view - this doesnt reflect in form preview
mode)

How can I fix it?!

Thanx
Parsley

C#. VS2003
 
I would try deleting any *.resx files relating to the problem object.

Regards,

Tim Haughton
 
Thanx Tim,

I've removed resx file and now, while I'm switching from code preview
to form previrew I'm receiving an error:
The item form_name.rsx doesnt exist in the project directory....

What shall I do to recreate resx file ?

rgs,
Maciej Pietruszka
 
Delete the cs file (after making a backup), add it back in.

Regards,

Tim Haughton
 
Delete the cs file (after making a backup), add it back in.

I've did as folow:
1) I've excluded from project,
2) removed from SSafe
3) I deleted resx.
4) Added cs again to project
5) resx was recreated

But unfortunatelly still get the same error.

Any ideas ?
 
Don't just remove it from the project, obliterate it, delete shred and
destroy. Create a new control, make sure the designer works OK, paste your
backup *over the top* of your new control, then build.

Tim
 
Unfortunatelly it doesnt help as well :(

I recreated whole solution from begin and now it works
Thanks for effort

Rgs
Maciej
 
Back
Top