开发者

Why isn't my revised .NET Windows Form not showing new changes after running the program again?

In my desktop application, previously I have designed the form and ten execute it but then I went for slight changes in my form.But even afte开发者_JAVA百科r changing, while I run the program now the previously created form is getting displayed.

What might be the problem...could anyone help me?


Try:

Delete all the \BIN directories in your solution

Build->Clean project

Rebuild All


Another place to check is the solution build configuration.

Make sure your project is being built. If it is not being built, then your changes wont show up.

  1. Right click solution.
  2. Configuration Manager.
  3. Verify your project is selected.


When you make changes to, say, Form1, in the visual designer, Visual Studio will reflect those in the code found in the file called Form1.Designer.cs, in the method called InitializeComponent(). That's one place you can check for errors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜