public WpfHarnessWindow(ServiceViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }
 public static void Run(IWindowsService serviceToRun)
 {
     var app = new Application();
     var vm = new ServiceViewModel(serviceToRun);
     app.Run(new WpfHarnessWindow(vm));
 }