public CodeGenerationWindow(ICodeGenerationVm iCodeGenerationVm) { viewModel = iCodeGenerationVm; DataContext = viewModel; InitializeComponent(); }