コード例 #1
0
        private void clsFMain_Load(object sender, EventArgs e)
        {
            //init misc variables in Program
            Program.localIP = getLocalIP();

            //set the form's caption text with the version number of the program
            this.Text = Program.APPLICATION_NAME + " " + Program.version;

            if (Program.settings.CheckVersion)
            {
                // check for new version
                // TODO need to make a checkbox for this -- done, phis
                VersionChecker versionChecker = new VersionChecker();
                versionChecker.CheckNewVersion();
            }
        }