public void ShowAboutDialog(object DataContext) { var About = new View.About { DataContext = DataContext }; About.ShowDialog(); }
public AboutViewModel(View.About aboutView) { _aboutView = aboutView; _aboutView.NavigateToSiteLink.RequestNavigate += NavigateToSiteLink_RequestNavigate; IsNewVersionAvailable = false; CheckForUpdate(GetCurrentVersion()); }
private void btnSobre_Click(object sender, RoutedEventArgs e) { View.About w = new View.About(); w.ShowDialog(); }
private void smiAbout_Click(object sender, EventArgs e) { var about = new View.About(); about.ShowDialog(); }