In Visual Studio 2010, if I create a new project that is a WPF application, the subclass is MainWindow Windowprovided as the first default window. The steps that I took to rename MainWindoware as follows:
MainWindow
Window
MainWindow.xaml
MainWindow.xaml.cs
StartupUri
App.xaml
Is there a better way ?:-)
ReSharperRename????Profit
Visual # 2010 Express . , "", "" "Refactor". , , (Calculater ) . Refactor "Rename". , , .
. , , , StartupUri .
It is up to you whether you want to save MainWindow or delete it (which makes sense if you don't use it at all).
So I do it: