c# - GUI designer claims undeclared variables -
i decompiled executable lost source code sometime ago. code wasn't same i've written has variables guess added automatically compiler. far, ok. when opened gui designer error:
i don't understand why erros since variables declared , code compile fine. can't use gui designer. how fix this?
when use designer design user interface, corresponding code put in separate file warning should not manually edit file, otherwise designer stop working.
the decompiler doesn't take account designer @ all, you'll end code compiles , functions should - designer wouldn't able read properly.
perhaps easiest solution create , design new form, , copy in code decompiled files afterwards (unless else has great idea not know of, of course).
Comments
Post a Comment