?? title.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using sanpack_rsa_csclass;
namespace sanpack_rsa_dotnet11
{
/// <summary>
/// title 的摘要說明。
/// </summary>
public class title : System.Windows.Forms.Form
{
/// <summary>
/// 必需的設計器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public title()
{
//
// Windows 窗體設計器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 調用后添加任何構造函數代碼
//
}
/// <summary>
/// 清理所有正在使用的資源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗體設計器生成的代碼
/// <summary>
/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
/// 此方法的內容。
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(title));
//
// title
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.BackColor = System.Drawing.Color.White;
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(420, 270);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "title";
this.Opacity = 0.8;
this.ShowInTaskbar = false;
this.Text = "歡迎使用";
this.Load += new System.EventHandler(this.title_Load);
}
#endregion
private void title_Load(object sender, System.EventArgs e)
{
this.SetDesktopLocation(Screen.PrimaryScreen.WorkingArea.Width/2-this.Size.Width/2,
Screen.PrimaryScreen.WorkingArea.Height/2-this.Size.Height/2);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -