Inheritance: Smrf.AppLib.FormSettings
コード例 #1
0
ファイル: AboutDialog.cs プロジェクト: yesbb12/ParallelBFS
        //*************************************************************************
        //  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();
        }
コード例 #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();
    }