Exemplo n.º 1
0
        /// <summary>
        /// Displays the change log to the user if there has been a recent update
        /// </summary>
        private void DisplayChangeLog()
        {
            try
            {
                if (!ApplicationDeployment.IsNetworkDeployed || !ApplicationDeployment.CurrentDeployment.IsFirstRun)
                {
                    return;
                }
            }
            catch
            {
                return;
            }

            View.ChangeLog changeLog = new View.ChangeLog();
            changeLog.Owner = Application.Current.MainWindow;
            changeLog.ShowDialog();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Displays the change log to the user if there has been a recent update.
        /// </summary>
        public void DisplayChangeLog()
        {
            try
            {
                if (!ApplicationDeployment.IsNetworkDeployed || !ApplicationDeployment.CurrentDeployment.IsFirstRun)
                {
                    return;
                }
            }
            catch (Exception ex)
            {
                OutputViewModel.GetInstance().Log(OutputViewModel.LogLevel.Warn, "Error displaying change log", ex);
                return;
            }

            View.ChangeLog changeLog = new View.ChangeLog();
            changeLog.Owner = Application.Current.MainWindow;
            changeLog.ShowDialog();
        }
Exemplo n.º 3
0
        /// <summary>
        /// Displays the change log to the user if there has been a recent update.
        /// </summary>
        public void DisplayChangeLog(String changeLogText)
        {
            try
            {
                if (!ApplicationDeployment.IsNetworkDeployed || !ApplicationDeployment.CurrentDeployment.IsFirstRun)
                {
                    return;
                }
            }
            catch (Exception ex)
            {
                Logger.Log(LogLevel.Warn, "Error displaying change log", ex);
                return;
            }

            this.ChangeLog = changeLogText;
            View.ChangeLog changeLog = new View.ChangeLog();
            changeLog.Owner = Application.Current.MainWindow;
            changeLog.ShowDialog();
        }