⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formaboutpocketearth.cs

📁 在windows mobile 5上的地图查看器
💻 CS
字号:
// Copyright (c) Jason Fuller. 
//
// Use of this source code is subject to the terms of the license found in the
// file License.txt.  If you did not accept the terms of that license, you are
// not authorized to use this source code.

#region Using directives

using System;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using System.Data;

#endregion

namespace PocketEarth
{
    /// <summary>
    /// Summary description for FormAboutPocketEarth.
    /// </summary>
    public class FormAboutPocketEarth : System.Windows.Forms.Form
    {
        private Label label1;
        private Label labelCopyright;
        private Label label3;
        private Label label4;
        private MenuItem menuDone;
        private PictureBox pictureBox1;
        /// <summary>
        /// Main menu for the form.
        /// </summary>
        private System.Windows.Forms.MainMenu mainMenu1;

        public FormAboutPocketEarth()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAboutPocketEarth));
            this.mainMenu1 = new System.Windows.Forms.MainMenu();
            this.menuDone = new System.Windows.Forms.MenuItem();
            this.label1 = new System.Windows.Forms.Label();
            this.labelCopyright = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            // 
            // mainMenu1
            // 
            this.mainMenu1.MenuItems.Add(this.menuDone);
            // 
            // menuDone
            // 
            this.menuDone.Text = "Done";
            this.menuDone.Click += new System.EventHandler(this.menuDone_Click);
            // 
            // label1
            // 
            this.label1.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Bold);
            this.label1.ForeColor = System.Drawing.Color.Blue;
            this.label1.Location = new System.Drawing.Point(4, 18);
            this.label1.Size = new System.Drawing.Size(130, 64);
            this.label1.Text = "Virtual Earth Mobile";
            // 
            // labelCopyright
            // 
            this.labelCopyright.Font = new System.Drawing.Font("Segoe Condensed", 10F, System.Drawing.FontStyle.Bold);
            this.labelCopyright.Location = new System.Drawing.Point(4, 138);
            this.labelCopyright.Size = new System.Drawing.Size(162, 22);
            this.labelCopyright.Text = "Copyright (c) Jason Fuller";
            // 
            // label3
            // 
            this.label3.Location = new System.Drawing.Point(4, 82);
            this.label3.Size = new System.Drawing.Size(152, 22);
            this.label3.Text = "Powered by:";
            // 
            // label4
            // 
            this.label4.Location = new System.Drawing.Point(4, 104);
            this.label4.Size = new System.Drawing.Size(152, 22);
            this.label4.Text = "MSN Virtual Earth";
            // 
            // pictureBox1
            // 
            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(134, 16);
            this.pictureBox1.Size = new System.Drawing.Size(32, 32);
            // 
            // FormAboutPocketEarth
            // 
            this.ClientSize = new System.Drawing.Size(176, 180);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.labelCopyright);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label4);
            this.Menu = this.mainMenu1;
            this.Text = "About Virtual Earth Mobile";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.FormAboutPocketEarth_Load);

        }

        #endregion

        private void menuDone_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void FormAboutPocketEarth_Load(object sender, EventArgs e)
        {
            this.Text = "About " + FormPocketEarth.AppName;
            this.label1.Text = FormPocketEarth.AppName;
            this.labelCopyright.Width = this.Width - 8;
            DpiHelper.AdjustAllControls(this);
        }

    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -