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

📄 aboutdialog.cs

📁 一个C#加上flowchart控件的例程
💻 CS
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace FlowCharter
{
	/// <summary>
	/// Summary description for AboutDialog.
	/// </summary>
	public class AboutDialog : System.Windows.Forms.Form
	{
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.ImageList _anchorStyleImageList;
		private System.Windows.Forms.Button _closeBtn;
		private System.Windows.Forms.PictureBox _ico;
		private System.Windows.Forms.Label _titleLabel;
		private System.Windows.Forms.Label _text1Label;
		private System.Windows.Forms.Label _text2Label;
		private System.Windows.Forms.LinkLabel _linkLabel;
		private System.ComponentModel.IContainer components;

		public AboutDialog()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(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.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AboutDialog));
			this._anchorStyleImageList = new System.Windows.Forms.ImageList(this.components);
			this._closeBtn = new System.Windows.Forms.Button();
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this._ico = new System.Windows.Forms.PictureBox();
			this._titleLabel = new System.Windows.Forms.Label();
			this._text1Label = new System.Windows.Forms.Label();
			this._text2Label = new System.Windows.Forms.Label();
			this._linkLabel = new System.Windows.Forms.LinkLabel();
			this.SuspendLayout();
			// 
			// _anchorStyleImageList
			// 
			this._anchorStyleImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
			this._anchorStyleImageList.ImageSize = new System.Drawing.Size(16, 16);
			this._anchorStyleImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_anchorStyleImageList.ImageStream")));
			this._anchorStyleImageList.TransparentColor = System.Drawing.Color.Transparent;
			// 
			// _closeBtn
			// 
			this._closeBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this._closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this._closeBtn.Location = new System.Drawing.Point(248, 184);
			this._closeBtn.Name = "_closeBtn";
			this._closeBtn.TabIndex = 0;
			this._closeBtn.Text = "Close";
			// 
			// pictureBox1
			// 
			this.pictureBox1.BackColor = System.Drawing.SystemColors.ControlDark;
			this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.pictureBox1.Location = new System.Drawing.Point(8, 176);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(320, 40);
			this.pictureBox1.TabIndex = 7;
			this.pictureBox1.TabStop = false;
			// 
			// _ico
			// 
			this._ico.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this._ico.Image = ((System.Drawing.Bitmap)(resources.GetObject("_ico.Image")));
			this._ico.Location = new System.Drawing.Point(8, 80);
			this._ico.Name = "_ico";
			this._ico.Size = new System.Drawing.Size(34, 33);
			this._ico.TabIndex = 8;
			this._ico.TabStop = false;
			// 
			// _titleLabel
			// 
			this._titleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
			this._titleLabel.Location = new System.Drawing.Point(64, 24);
			this._titleLabel.Name = "_titleLabel";
			this._titleLabel.Size = new System.Drawing.Size(240, 24);
			this._titleLabel.TabIndex = 9;
			this._titleLabel.Text = "FlowCharter Demo Program 1.0";
			// 
			// _text1Label
			// 
			this._text1Label.Location = new System.Drawing.Point(64, 56);
			this._text1Label.Name = "_text1Label";
			this._text1Label.Size = new System.Drawing.Size(256, 48);
			this._text1Label.TabIndex = 10;
			this._text1Label.Text = "This program illustrates some of the flowcharting capabilities of FlowChart.NET.";
			// 
			// _text2Label
			// 
			this._text2Label.Location = new System.Drawing.Point(64, 112);
			this._text2Label.Name = "_text2Label";
			this._text2Label.Size = new System.Drawing.Size(256, 16);
			this._text2Label.TabIndex = 10;
			this._text2Label.Text = "Copyright 

⌨️ 快捷键说明

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