Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Cannot Modify Class and Constructor Name

$
0
0

Hello Everyone,

I have just created a new WPF Application. Login.xaml and tried to rename the Form as Login.xaml and also the code behind as Login.xaml.cs.

However when I am trying to rename the Class and Constructor in the code behind file. I am getting an error.

Error 1 The name 'InitializeComponent' does not exist in the current context.

The project example was illustrated under Visual Studio 2008. I am using Visual Studio 2010.


Anurag Das


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>