📄 aboutform.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows.Forms;
namespace RSACryptoPad
{
public class AboutForm : System.Windows.Forms.Form
{
private System.Windows.Forms.Label descriptionLabel;
private System.Windows.Forms.Label disclaimerLabel;
private System.Windows.Forms.Label nameLabel;
private System.Windows.Forms.GroupBox disclaimerGroupBox;
private System.Windows.Forms.PictureBox iconPictureBox;
private System.ComponentModel.Container components = null;
public AboutForm()
{InitializeComponent();}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if( components != null )
{components.Dispose();}
}
base.Dispose( disposing );
}
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager( typeof( AboutForm ) );
this.iconPictureBox = new System.Windows.Forms.PictureBox();
this.descriptionLabel = new System.Windows.Forms.Label();
this.disclaimerGroupBox = new System.Windows.Forms.GroupBox();
this.disclaimerLabel = new System.Windows.Forms.Label();
this.nameLabel = new System.Windows.Forms.Label();
( ( System.ComponentModel.ISupportInitialize )( this.iconPictureBox ) ).BeginInit();
this.disclaimerGroupBox.SuspendLayout();
this.SuspendLayout();
this.iconPictureBox.Image = ( ( System.Drawing.Image )( resources.GetObject( "iconPictureBox.Image" ) ) );
this.iconPictureBox.Location = new System.Drawing.Point( 8, 16 );
this.iconPictureBox.Name = "iconPictureBox";
this.iconPictureBox.Size = new System.Drawing.Size( 32, 34 );
this.iconPictureBox.TabIndex = 0;
this.iconPictureBox.TabStop = false;
this.descriptionLabel.Font = new System.Drawing.Font( "Georgia", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ( ( byte )( 0 ) ) );
this.descriptionLabel.Location = new System.Drawing.Point( 56, 23 );
this.descriptionLabel.Name = "descriptionLabel";
this.descriptionLabel.Size = new System.Drawing.Size( 258, 22 );
this.descriptionLabel.TabIndex = 0;
this.descriptionLabel.Text = "RSACryptoPad is a RSA encryption tool.";
this.disclaimerGroupBox.Controls.Add( this.disclaimerLabel );
this.disclaimerGroupBox.Location = new System.Drawing.Point( 8, 59 );
this.disclaimerGroupBox.Name = "disclaimerGroupBox";
this.disclaimerGroupBox.Size = new System.Drawing.Size( 384, 112 );
this.disclaimerGroupBox.TabIndex = 1;
this.disclaimerGroupBox.TabStop = false;
this.disclaimerGroupBox.Text = "Disclaimer";
this.disclaimerLabel.Font = new System.Drawing.Font( "Georgia", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ( ( byte )( 0 ) ) );
this.disclaimerLabel.Location = new System.Drawing.Point( 6, 21 );
this.disclaimerLabel.Name = "disclaimerLabel";
this.disclaimerLabel.Size = new System.Drawing.Size( 376, 88 );
this.disclaimerLabel.TabIndex = 0;
this.disclaimerLabel.Text = resources.GetString( "disclaimerLabel.Text" );
this.nameLabel.Font = new System.Drawing.Font( "Georgia", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ( ( byte )( 0 ) ) );
this.nameLabel.Location = new System.Drawing.Point( 8, 187 );
this.nameLabel.Name = "nameLabel";
this.nameLabel.Size = new System.Drawing.Size( 192, 16 );
this.nameLabel.TabIndex = 2;
this.nameLabel.Text = " By: Mathew John Schlabaugh";
this.AutoScaleBaseSize = new System.Drawing.Size( 8, 19 );
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size( 398, 216 );
this.Controls.Add( this.nameLabel );
this.Controls.Add( this.disclaimerGroupBox );
this.Controls.Add( this.descriptionLabel );
this.Controls.Add( this.iconPictureBox );
this.Font = new System.Drawing.Font( "Georgia", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ( ( byte )( 0 ) ) );
this.ForeColor = System.Drawing.Color.LightGreen;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ( ( System.Drawing.Icon )( resources.GetObject( "$this.Icon" ) ) );
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
this.ShowInTaskbar = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About RSACryptoPad";
( ( System.ComponentModel.ISupportInitialize )( this.iconPictureBox ) ).EndInit();
this.disclaimerGroupBox.ResumeLayout( false );
this.ResumeLayout( false );
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -