Skip to content

Instantly share code, notes, and snippets.

@jfromaniello
Created November 17, 2009 13:52
Show Gist options
  • Save jfromaniello/236909 to your computer and use it in GitHub Desktop.
Save jfromaniello/236909 to your computer and use it in GitHub Desktop.
public void CreateNewView(Type viewModelType)
{
using(new WaitCursor()){
var viewModel = _viewModelFactory.CreateBrowseViewModel(viewModelType);
AddNewViewModel(viewModel);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment