SetTitle() public static method

public static SetTitle ( Form f ) : void
f System.Windows.Forms.Form
return void
コード例 #1
0
ファイル: AboutForm.cs プロジェクト: ewin66/ispyconnect-2
        private void RenderResources()
        {
            _lblVersion.Text = string.Format("iSpy v{0}", Application.ProductVersion);
            if (Program.Platform != "x86")
            {
                _lblVersion.Text = string.Format("iSpy 64 v{0}", Application.ProductVersion);
            }

            Helper.SetTitle(this);

            _lblCopyright.Text = "Copyright " + Helper.Now.Year;

            linkLabel1.Visible = false;

            if (!String.IsNullOrEmpty(MainForm.Conf.Vendor))
            {
                linkLabel1.Visible = true;
                try
                {
                    linkLabel1.Text = MainForm.Conf.Vendor;
                }
                catch
                {
                }
            }
        }
コード例 #2
0
        private void RenderResources()
        {
            _lblVersion.Text = string.Format("{0}{1} v{2}",
                                             Application.ProductName, Program.Platform != "x86" ? " 64" : "",
                                             Application.ProductVersion);

            Helper.SetTitle(this);

            _lblCopyright.Text = "Copyright \u00a9 2007-" + Helper.Now.Year + " DeveloperInABox";
        }
コード例 #3
0
        private void RenderResources()
        {
            _lblVersion.Text = string.Format("{0}{1} v{2}",
                                             Application.ProductName, Program.Platform != "x86" ? " 64" : "",
                                             Application.ProductVersion);

            Helper.SetTitle(this);

            _lblCopyright.Text = "Copyright 2011-" + Helper.Now.Year;

            linkLabel1.Visible = false;

            if (!string.IsNullOrEmpty(MainForm.Conf.Vendor))
            {
                linkLabel1.Visible = true;
                try
                {
                    linkLabel1.Text = MainForm.Conf.Vendor;
                }
                catch
                {
                }
            }
        }
コード例 #4
0
ファイル: AboutForm.cs プロジェクト: Sirendium/IQ-VMS
 private void RenderResources()
 {
     Helper.SetTitle(this);
 }