Ejemplo n.º 1
0
        public AboutPresenter(IAboutView _view)
        {
            this._view = _view;

            _view.SetVersion("v. " + Utils.GetAppVersion());

            _view.Web  += _view_Web;
            _view.Mail += _view_Mail;
        }
Ejemplo n.º 2
0
        public static void PopulateFromVersionInfo(this IAboutView view, AssemblyVersionInfo verInfo)
        {
            view.SetProgramName(verInfo.Name);

            view.SetVersion(verInfo.VersionBuild);

            view.SetDescription(verInfo.Description);

            view.SetCopyright(verInfo.Copyright);

            if (verInfo.VersionHistory != null)
            {
                view.SetVersionHistory(verInfo.VersionHistory);
            }
        }