Inheritance: Smrf.AppLib.FormSettings
Ejemplo n.º 1
0
        //*************************************************************************
        //  Constructor: AboutDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="AboutDialog" /> class.
        /// </summary>
        //*************************************************************************

        public AboutDialog()
        {
            InitializeComponent();

            // Instantiate an object that retrieves and saves the location of this
            // dialog.  Note that the object automatically saves the settings when
            // the form closes.

            m_oAboutDialogUserSettings = new AboutDialogUserSettings(this);

            lnkSocialMediaResearchFoundation.Tag =
                ProjectInformation.SocialMediaResearchFoundationUrl;

            lnkNodeXLTeamMembers.Tag = ProjectInformation.NodeXLTeamMembersUrl;

            lnkDonate.Tag = ProjectInformation.DonateUrl;

            lblVersion.Text = String.Format(

                "Version {0}"
                ,
                AssemblyUtil2.GetFileVersion()
                );

            // AssertValid();
        }
Ejemplo n.º 2
0
    //*************************************************************************
    //  Constructor: AboutDialog()
    //
    /// <summary>
    /// Initializes a new instance of the <see cref="AboutDialog" /> class.
    /// </summary>
    //*************************************************************************

    public AboutDialog()
    {
        InitializeComponent();

        // Instantiate an object that retrieves and saves the location of this
        // dialog.  Note that the object automatically saves the settings when
        // the form closes.

        m_oAboutDialogUserSettings = new AboutDialogUserSettings(this);

        lnkSocialMediaResearchFoundation.Tag =
            ProjectInformation.SocialMediaResearchFoundationUrl;

        lnkNodeXLTeamMembers.Tag = ProjectInformation.NodeXLTeamMembersUrl;

        lnkDonate.Tag = ProjectInformation.DonateUrl;

        lblVersion.Text = String.Format(

            "Version {0}"
            ,
            AssemblyUtil2.GetFileVersion()
            );

        // AssertValid();
    }