📄 mainform.designer.cs
字号:
namespace UsingSystemFont
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if(disposing && (components != null))
{
components.Dispose();
}
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()
{
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.m_lblFontFamily = new System.Windows.Forms.Label();
this.m_cmbFamilies = new System.Windows.Forms.ComboBox();
this.m_lblSize = new System.Windows.Forms.Label();
this.m_cmbSize = new System.Windows.Forms.ComboBox();
this.m_lblText = new System.Windows.Forms.Label();
this.m_txtText = new System.Windows.Forms.TextBox();
this.m_chkBold = new System.Windows.Forms.CheckBox();
this.m_chkItalic = new System.Windows.Forms.CheckBox();
this.m_chkStrikeout = new System.Windows.Forms.CheckBox();
this.m_chkUnderline = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// m_lblFontFamily
//
this.m_lblFontFamily.Location = new System.Drawing.Point(3, 32);
this.m_lblFontFamily.Name = "m_lblFontFamily";
this.m_lblFontFamily.Size = new System.Drawing.Size(78, 20);
this.m_lblFontFamily.Text = "Font Family:";
//
// m_cmbFamilies
//
this.m_cmbFamilies.Location = new System.Drawing.Point(87, 30);
this.m_cmbFamilies.Name = "m_cmbFamilies";
this.m_cmbFamilies.Size = new System.Drawing.Size(150, 22);
this.m_cmbFamilies.TabIndex = 1;
this.m_cmbFamilies.SelectedIndexChanged += new System.EventHandler(this.m_onNeedRedraw);
//
// m_lblSize
//
this.m_lblSize.Location = new System.Drawing.Point(3, 60);
this.m_lblSize.Name = "m_lblSize";
this.m_lblSize.Size = new System.Drawing.Size(78, 20);
this.m_lblSize.Text = "em Size:";
//
// m_cmbSize
//
this.m_cmbSize.Items.Add("8");
this.m_cmbSize.Items.Add("9");
this.m_cmbSize.Items.Add("10");
this.m_cmbSize.Items.Add("12");
this.m_cmbSize.Items.Add("14");
this.m_cmbSize.Items.Add("18");
this.m_cmbSize.Items.Add("20");
this.m_cmbSize.Items.Add("22");
this.m_cmbSize.Items.Add("24");
this.m_cmbSize.Items.Add("36");
this.m_cmbSize.Items.Add("48");
this.m_cmbSize.Location = new System.Drawing.Point(87, 58);
this.m_cmbSize.Name = "m_cmbSize";
this.m_cmbSize.Size = new System.Drawing.Size(150, 22);
this.m_cmbSize.TabIndex = 3;
this.m_cmbSize.SelectedIndexChanged += new System.EventHandler(this.m_onNeedRedraw);
//
// m_lblText
//
this.m_lblText.Location = new System.Drawing.Point(3, 4);
this.m_lblText.Name = "m_lblText";
this.m_lblText.Size = new System.Drawing.Size(78, 20);
this.m_lblText.Text = "Text:";
//
// m_txtText
//
this.m_txtText.Location = new System.Drawing.Point(87, 3);
this.m_txtText.Name = "m_txtText";
this.m_txtText.Size = new System.Drawing.Size(150, 21);
this.m_txtText.TabIndex = 7;
this.m_txtText.Text = "Mobile";
this.m_txtText.TextChanged += new System.EventHandler(this.m_onNeedRedraw);
//
// m_chkBold
//
this.m_chkBold.Location = new System.Drawing.Point(3, 86);
this.m_chkBold.Name = "m_chkBold";
this.m_chkBold.Size = new System.Drawing.Size(94, 20);
this.m_chkBold.TabIndex = 8;
this.m_chkBold.Text = "Bold";
this.m_chkBold.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
//
// m_chkItalic
//
this.m_chkItalic.Location = new System.Drawing.Point(103, 86);
this.m_chkItalic.Name = "m_chkItalic";
this.m_chkItalic.Size = new System.Drawing.Size(94, 20);
this.m_chkItalic.TabIndex = 8;
this.m_chkItalic.Text = "Italic";
this.m_chkItalic.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
//
// m_chkStrikeout
//
this.m_chkStrikeout.Location = new System.Drawing.Point(103, 112);
this.m_chkStrikeout.Name = "m_chkStrikeout";
this.m_chkStrikeout.Size = new System.Drawing.Size(94, 20);
this.m_chkStrikeout.TabIndex = 8;
this.m_chkStrikeout.Text = "Strikeout";
this.m_chkStrikeout.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
//
// m_chkUnderline
//
this.m_chkUnderline.Location = new System.Drawing.Point(3, 112);
this.m_chkUnderline.Name = "m_chkUnderline";
this.m_chkUnderline.Size = new System.Drawing.Size(94, 20);
this.m_chkUnderline.TabIndex = 8;
this.m_chkUnderline.Text = "Underline";
this.m_chkUnderline.CheckStateChanged += new System.EventHandler(this.m_onNeedRedraw);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.m_chkUnderline);
this.Controls.Add(this.m_chkStrikeout);
this.Controls.Add(this.m_chkItalic);
this.Controls.Add(this.m_chkBold);
this.Controls.Add(this.m_txtText);
this.Controls.Add(this.m_lblText);
this.Controls.Add(this.m_cmbSize);
this.Controls.Add(this.m_lblSize);
this.Controls.Add(this.m_cmbFamilies);
this.Controls.Add(this.m_lblFontFamily);
this.Menu = this.mainMenu1;
this.Name = "MainForm";
this.Text = "Using System Font";
this.Paint += new System.Windows.Forms.PaintEventHandler(this.MainForm_Paint);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label m_lblFontFamily;
private System.Windows.Forms.ComboBox m_cmbFamilies;
private System.Windows.Forms.Label m_lblSize;
private System.Windows.Forms.ComboBox m_cmbSize;
private System.Windows.Forms.Label m_lblText;
private System.Windows.Forms.TextBox m_txtText;
private System.Windows.Forms.CheckBox m_chkBold;
private System.Windows.Forms.CheckBox m_chkItalic;
private System.Windows.Forms.CheckBox m_chkStrikeout;
private System.Windows.Forms.CheckBox m_chkUnderline;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -