2013-02-13 18 views
0

我'收到此錯誤她:分部聲明一定不能指定不同的基類的Windows Phone

public partial class MainPage : UserControl 
{ 

    public MainPage() 
    { 

     InitializeComponent(); 


    } 

} 

我的XAML是LILE這樣的:

<UserControl x:Class="GameMemory.MainPage"..../> 

除了它返回埃羅:電話是曖昧之間的以下方法或屬性:'GameMemory.MainPage.InitializeComponent()'和'GameMemory.MainPage.InitializeComponent()' 任何想法請嗎?

回答

-1

看來你引用的程序集中有一個名爲UserControl的類。 檢查您的使用聲明。

+0

你會解釋更多請,我沒有理解你想說什麼。謝謝 – 2013-02-14 09:06:14

相關問題