/// <summary>
 /// Initializes a new instance of the <see cref="Import3DModelView" />
 /// </summary>
 /// <param name="viewModel">The view-model of the view</param>
 public Import3DModelView(WindowViewModelBase viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
     viewModel.CloseView += (s,e) => Close();
 }
 /// <summary>
 /// Creates a new oinstance of the EntityNameDialogView
 /// </summary>
 /// <param name="viewModel">The view-model to enter a name on the view</param>
 public EntityNameDialogView(WindowViewModelBase viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
     viewModel.CloseView += (s, e) => Close();
 }