private void ViewModel_EditMetadataDialogRequested(object sender, MetadataDialogEventArgs e) { MetadataWindow w = new MetadataWindow(new MetadataViewModel(e.Metadata)) { Owner = this }; w.ShowDialog(); }
protected void OnEditMetadataDialogRequested(MetadataDialogEventArgs e) { EditMetadataDialogRequested?.Invoke(this, e); }