예제 #1
0
        public void ShowAboutDialog(object DataContext)
        {
            var About = new View.About
            {
                DataContext = DataContext
            };

            About.ShowDialog();
        }
예제 #2
0
        public AboutViewModel(View.About aboutView)
        {
            _aboutView = aboutView;

            _aboutView.NavigateToSiteLink.RequestNavigate += NavigateToSiteLink_RequestNavigate;

            IsNewVersionAvailable = false;
            CheckForUpdate(GetCurrentVersion());
        }
예제 #3
0
 private void btnSobre_Click(object sender, RoutedEventArgs e)
 {
     View.About w = new View.About();
     w.ShowDialog();
 }
예제 #4
0
        private void smiAbout_Click(object sender, EventArgs e)
        {
            var about = new View.About();

            about.ShowDialog();
        }