<Application.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Assets/Styles.xaml"/>
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </Application.Resources>
[TestClass]
    public class MainPageTest :SilverlightTest
    {
        [TestMethod]
        public void TestMethod()
        {
            
        }

        [TestMethod]
        public void setMenuIsEnabledTest()
        {
            MainPage mainPage = new MainPage();
            mainPage.setMenuIsEnabled();

            TestPanel.Children.Add(mainPage);
        }
    }
posted on 2011-01-26 10:03  visi  阅读(163)  评论(0编辑  收藏  举报