コード例 #1
0
    public void ToXmlTest()
    {
      ScenarioViewModel target = new ScenarioViewModel(); // TODO: Initialize to an appropriate value

     
      XElement expected = null; // TODO: Initialize to an appropriate value
      XElement actual;
    
    
    }
コード例 #2
0
    public MainWindow()
    {
      InitializeComponent();
      //register for unhandled exceptions
      Application.Current.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(Current_DispatcherUnhandledException);
      AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);

      svm = new ScenarioViewModel();
      DataContext = svm;
      svm.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(svm_PropertyChanged);
    }