public CombineView(CombineFilesViewModel model, IPathUtilities utilties, ISettings settings) { InitializeComponent(); _utilities = utilties; _settings = settings; this.DataContext = _model = model; }
void ClearForm(object send, EventArgs args) { this.DataContext = _model = Ioc.Get<CombineFilesViewModel>(); }