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

📄 aboutform.cs

📁 以MS .NET 所寫的RSA程式
💻 CS
字号:
// Copyright (c) Mathew John Schlabaugh. 2005.

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.PictureBox iconPictureBox;
		private System.Windows.Forms.Label descriptionLabel;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.Label disclaimerLabel;
		private System.Windows.Forms.Label label1;
		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 );
		}

		#region Windows Form Designer generated code
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(aboutForm));
			this.iconPictureBox = new System.Windows.Forms.PictureBox();
			this.descriptionLabel = new System.Windows.Forms.Label();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.disclaimerLabel = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.groupBox1.SuspendLayout();
			this.SuspendLayout();
			// 
			// iconPictureBox
			// 
			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;
			// 
			// descriptionLabel
			// 
			this.descriptionLabel.Font = new System.Drawing.Font("Georgia", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.descriptionLabel.Location = new System.Drawing.Point(56, 8);
			this.descriptionLabel.Name = "descriptionLabel";
			this.descriptionLabel.Size = new System.Drawing.Size(304, 48);
			this.descriptionLabel.TabIndex = 0;
			this.descriptionLabel.Text = "RSACryptoPad is a RSA encryption tool. It implements RSA encryption specified in " +
				"PKCS #1 v2.1";
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.disclaimerLabel);
			this.groupBox1.Location = new System.Drawing.Point(8, 64);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(384, 112);
			this.groupBox1.TabIndex = 1;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Disclaimer";
			// 
			// disclaimerLabel
			// 
			this.disclaimerLabel.Font = new System.Drawing.Font("Georgia", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.disclaimerLabel.Location = new System.Drawing.Point(8, 24);
			this.disclaimerLabel.Name = "disclaimerLabel";
			this.disclaimerLabel.Size = new System.Drawing.Size(352, 80);
			this.disclaimerLabel.TabIndex = 0;
			this.disclaimerLabel.Text = @"The author of this software holds no responsibility for damages incidental or consequential of its use. Export of this software may be subject to compliance with the rules and regulations promulgated from time to time by the Bureau of Export Administration, U.S. Department of Commerce, which restrict the export and re-export of certain products and technical data.";
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("Georgia", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label1.Location = new System.Drawing.Point(8, 192);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(192, 16);
			this.label1.TabIndex = 2;
			this.label1.Text = " By: Mathew John Schlabaugh";
			// 
			// aboutForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
			this.BackColor = System.Drawing.Color.Black;
			this.ClientSize = new System.Drawing.Size(398, 228);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.groupBox1);
			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, ((System.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.CenterScreen;
			this.Text = "About RSACryptoPad";
			this.groupBox1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void imageLinkLabel_Click( object sender, System.EventArgs e )
		{System.Diagnostics.Process.Start( "http://www.rsasecurity.com" );}
	}
}

⌨️ 快捷键说明

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