예제 #1
0
파일: XamlTest.cs 프로젝트: dotnet/wpf-test
 private TestResult InitializeTestStep()
 {
     navigationWindow = WindowUtil.CreateNavigationWindow(this.filename, this.callingAssembly, new LoadCompletedEventHandler(navigationWindow_LoadCompleted));
     return(TestResult.Pass);
 }
예제 #2
0
 /// <summary>
 /// Creates the NavigationWindow and navigates to the xaml file passed in the constructor.
 /// Fires OnInitialize.
 /// </summary>
 public override bool Initialize()
 {
     navigationWindow = WindowUtil.CreateNavigationWindow(this.xamlFileName, this.callingAssembly);
     // base.Initialize fires the OnInitialize event.
     return(base.Initialize());
 }