просто создал страницу(Page) в WPF проекте и мне сразу прилетает ошибка CS0103. Вот ее текст: CS0103 The name 'InitializeComponent' does not exist in the current context
вот код
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace QuizApplication.Source.Code.Pages.TestsPages.RussianTests.MorphologyTests.NounTests.NotWithNounsTest
{
/// <summary>
/// Interaction logic for NotWithNounTestFirstPage.xaml
/// </summary>
public partial class NotWithNounTestFirstPage : Page
{
public NotWithNounTestFirstPage()
{
InitializeComponent(); // вот здесь ошибка
}
private void ButFirstPage_Click(object sender, RoutedEventArgs e)
{
}
private void NextButFirstPage_Click(object sender, RoutedEventArgs e)
{
}
}
}