예제 #1
0
        /// <summary>
        /// Opens the About TraceLab Dialog.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="System.Windows.Input.MouseButtonEventArgs"/> instance containing the event data.</param>
        private void AboutTraceLabMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            AboutTraceLabContent info = new AboutTraceLabContent(TraceLab.Core.ViewModels.ApplicationViewModel.Version,
                                                                 TraceLab.Core.ViewModels.ApplicationViewModel.RegisteredUser);
            AboutTraceLabDialog dialog = new AboutTraceLabDialog(this);

            dialog.DataContext           = info;
            dialog.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            dialog.ShowDialog();
        }
 /// <summary>
 /// Opens the About TraceLab Dialog.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="System.Windows.Input.MouseButtonEventArgs"/> instance containing the event data.</param>
 private void AboutTraceLabMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     AboutTraceLabContent info = new AboutTraceLabContent(TraceLab.Core.ViewModels.ApplicationViewModel.Version,
                                                         TraceLab.Core.ViewModels.ApplicationViewModel.RegisteredUser);
     AboutTraceLabDialog dialog = new AboutTraceLabDialog(this);
     dialog.DataContext = info;
     dialog.WindowStartupLocation = WindowStartupLocation.CenterScreen;
     dialog.ShowDialog();
 }