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

📄 aboutframe.cs

📁 是用c#实现的一个有关于报表设计的程序代码
💻 CS
字号:
#region License
/*
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)
any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to
the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
*/
#endregion

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;


namespace daReportDesigner
{
	/// <summary>
	/// Summary description for AboutFrame.
	/// </summary>
	public class AboutFrame : System.Windows.Forms.Form
	{
		#region Declarations
		private System.Windows.Forms.Label lblPredrag;
		private System.Windows.Forms.Label lblImage;
		private System.Windows.Forms.Label lblProducetTitle;
		private System.Windows.Forms.Label lblProductVersion;
		private System.Windows.Forms.LinkLabel linkHomePage;

		private System.ComponentModel.Container components = null;
		#endregion

		#region Form and Object Event Handlers 

		private void AboutFrame_Load(object sender, System.EventArgs e)
		{
			this.lblProductVersion.Text = "v " + this.ProductVersion;
		}


		private void linkHomePage_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
		{
			System.Diagnostics.Process.Start(this.linkHomePage.Text);
		}


		#endregion

		#region Creator

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

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		
		/// <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()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AboutFrame));
			this.lblPredrag = new System.Windows.Forms.Label();
			this.lblImage = new System.Windows.Forms.Label();
			this.lblProducetTitle = new System.Windows.Forms.Label();
			this.lblProductVersion = new System.Windows.Forms.Label();
			this.linkHomePage = new System.Windows.Forms.LinkLabel();
			this.SuspendLayout();
			// 
			// lblPredrag
			// 
			this.lblPredrag.Location = new System.Drawing.Point(96, 84);
			this.lblPredrag.Name = "lblPredrag";
			this.lblPredrag.Size = new System.Drawing.Size(116, 28);
			this.lblPredrag.TabIndex = 0;
			this.lblPredrag.Text = "Initial code by Predrag Dukanac";
			this.lblPredrag.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// lblImage
			// 
			this.lblImage.Image = ((System.Drawing.Image)(resources.GetObject("lblImage.Image")));
			this.lblImage.Location = new System.Drawing.Point(16, 12);
			this.lblImage.Name = "lblImage";
			this.lblImage.Size = new System.Drawing.Size(48, 48);
			this.lblImage.TabIndex = 3;
			// 
			// lblProducetTitle
			// 
			this.lblProducetTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblProducetTitle.Location = new System.Drawing.Point(92, 12);
			this.lblProducetTitle.Name = "lblProducetTitle";
			this.lblProducetTitle.Size = new System.Drawing.Size(132, 16);
			this.lblProducetTitle.TabIndex = 4;
			this.lblProducetTitle.Text = "DaReport Designer";
			this.lblProducetTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// lblProductVersion
			// 
			this.lblProductVersion.Location = new System.Drawing.Point(100, 28);
			this.lblProductVersion.Name = "lblProductVersion";
			this.lblProductVersion.Size = new System.Drawing.Size(116, 16);
			this.lblProductVersion.TabIndex = 5;
			this.lblProductVersion.Text = "v. 0.9.0";
			this.lblProductVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// linkHomePage
			// 
			this.linkHomePage.Location = new System.Drawing.Point(84, 56);
			this.linkHomePage.Name = "linkHomePage";
			this.linkHomePage.Size = new System.Drawing.Size(160, 16);
			this.linkHomePage.TabIndex = 6;
			this.linkHomePage.TabStop = true;
			this.linkHomePage.Text = "http://dareport.sourceforge.net";
			this.linkHomePage.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkHomePage_LinkClicked);
			// 
			// AboutFrame
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(282, 119);
			this.Controls.Add(this.linkHomePage);
			this.Controls.Add(this.lblProductVersion);
			this.Controls.Add(this.lblProducetTitle);
			this.Controls.Add(this.lblImage);
			this.Controls.Add(this.lblPredrag);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "AboutFrame";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "About DaReport Designer";
			this.Load += new System.EventHandler(this.AboutFrame_Load);
			this.ResumeLayout(false);

		}
		#endregion

		#endregion
	}
}

⌨️ 快捷键说明

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