ورود

View Full Version : سوال: Error : The name 'InitializeComponent' does not exist in the current context



kia9372
پنج شنبه 04 شهریور 1395, 19:46 عصر
این خطا رو چطور بر طرف کنم ؟؟؟؟؟؟؟



Error** 1** The name 'InitializeComponent' does not exist in the current context*** E:\MyProject\PersonAccount\PersonAccount\WinDaryaf t.xaml.cs 24* 13* PersonAccount

ژیار رحیمی
پنج شنبه 04 شهریور 1395, 22:02 عصر
دوست گرامی نام کلاس در داخل فایل WinDaryaft.xaml با نام کلاس در فایل cs آن متفاوت هست و یا دارای مسیر namespace متفاوت میباشد. بهمین دلیل متد InitializeComponent برای کامپایلر قابل تشخیص نیست