📄 ucoptionsenviroments.cs
字号:
namespace Codematic.UserControls
{
using Codematic.Properties;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
public class UcOptionsEnviroments : UserControl
{
private Container components;
private Label label1;
private Label label2;
private Label label3;
private Label label4;
private Label label5;
private Label label6;
private Label label7;
private Label label8;
private Label lblDescription;
private Label lblProductName;
private Label lblVersion;
private LinkLabel linkLabel1;
private LinkLabel linkLabel2;
private LinkLabel linkLabel3;
private LinkLabel linkLabel4;
private PictureBox pictureBox1;
private PictureBox pictureBox2;
private TabControl tabControl1;
private TabPage tabPage1;
private TabPage tabPage2;
public UcOptionsEnviroments()
{
this.InitializeComponent();
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
ComponentResourceManager manager = new ComponentResourceManager(typeof(UcOptionsEnviroments));
this.linkLabel2 = new LinkLabel();
this.label1 = new Label();
this.tabControl1 = new TabControl();
this.tabPage1 = new TabPage();
this.pictureBox1 = new PictureBox();
this.lblDescription = new Label();
this.lblVersion = new Label();
this.lblProductName = new Label();
this.label6 = new Label();
this.label5 = new Label();
this.label4 = new Label();
this.tabPage2 = new TabPage();
this.linkLabel3 = new LinkLabel();
this.label2 = new Label();
this.pictureBox2 = new PictureBox();
this.label3 = new Label();
this.linkLabel1 = new LinkLabel();
this.label7 = new Label();
this.linkLabel4 = new LinkLabel();
this.label8 = new Label();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
((ISupportInitialize) this.pictureBox1).BeginInit();
this.tabPage2.SuspendLayout();
((ISupportInitialize) this.pictureBox2).BeginInit();
base.SuspendLayout();
this.linkLabel2.Location = new Point(0, 0);
this.linkLabel2.Name = "linkLabel2";
this.linkLabel2.Size = new Size(100, 0x17);
this.linkLabel2.TabIndex = 0;
this.label1.Location = new Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new Size(100, 0x17);
this.label1.TabIndex = 0;
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Dock = DockStyle.Fill;
this.tabControl1.Location = new Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new Size(0x174, 0x10b);
this.tabControl1.TabIndex = 8;
this.tabPage1.BackColor = Color.WhiteSmoke;
this.tabPage1.Controls.Add(this.pictureBox1);
this.tabPage1.Controls.Add(this.lblDescription);
this.tabPage1.Controls.Add(this.lblVersion);
this.tabPage1.Controls.Add(this.lblProductName);
this.tabPage1.Controls.Add(this.label6);
this.tabPage1.Controls.Add(this.label5);
this.tabPage1.Controls.Add(this.label4);
this.tabPage1.Location = new Point(4, 0x15);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new Size(0x16c, 0xf2);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "软件信息";
this.pictureBox1.Image = Resources.option;
this.pictureBox1.Location = new Point(0x67, 0x7a);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new Size(0x30, 0x30);
this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 12;
this.pictureBox1.TabStop = false;
this.lblDescription.Location = new Point(0x5f, 0x40);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new Size(0xc9, 0x37);
this.lblDescription.TabIndex = 11;
this.lblDescription.Text = "用智慧改变世界,用创造改变生活。其实,工作也很快乐! 着力打造第一智能化软件开发利器!创造软件开发快乐生活!";
this.lblVersion.Location = new Point(0x60, 40);
this.lblVersion.Name = "lblVersion";
this.lblVersion.Size = new Size(0xc0, 0x10);
this.lblVersion.TabIndex = 10;
this.lblVersion.Text = "...";
this.lblProductName.Location = new Point(0x60, 0x10);
this.lblProductName.Name = "lblProductName";
this.lblProductName.Size = new Size(0xc0, 0x10);
this.lblProductName.TabIndex = 9;
this.lblProductName.Text = "...";
this.label6.AutoSize = true;
this.label6.Location = new Point(8, 0x40);
this.label6.Name = "label6";
this.label6.Size = new Size(0x41, 12);
this.label6.TabIndex = 8;
this.label6.Text = "创作理念:";
this.label5.AutoSize = true;
this.label5.Location = new Point(8, 40);
this.label5.Name = "label5";
this.label5.Size = new Size(0x41, 12);
this.label5.TabIndex = 7;
this.label5.Text = "软件版本:";
this.label4.AutoSize = true;
this.label4.Location = new Point(8, 0x10);
this.label4.Name = "label4";
this.label4.Size = new Size(0x41, 12);
this.label4.TabIndex = 6;
this.label4.Text = "软件名称:";
this.tabPage2.BackColor = Color.WhiteSmoke;
this.tabPage2.Controls.Add(this.linkLabel3);
this.tabPage2.Controls.Add(this.label2);
this.tabPage2.Controls.Add(this.pictureBox2);
this.tabPage2.Controls.Add(this.label3);
this.tabPage2.Controls.Add(this.linkLabel1);
this.tabPage2.Controls.Add(this.label7);
this.tabPage2.Controls.Add(this.linkLabel4);
this.tabPage2.Controls.Add(this.label8);
this.tabPage2.Location = new Point(4, 0x15);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new Size(0x16c, 0xf2);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "关于作者";
this.linkLabel3.LinkBehavior = LinkBehavior.HoverUnderline;
this.linkLabel3.Location = new Point(0x72, 40);
this.linkLabel3.Name = "linkLabel3";
this.linkLabel3.Size = new Size(0x88, 0x10);
this.linkLabel3.TabIndex = 0x13;
this.linkLabel3.TabStop = true;
this.linkLabel3.Text = "动软中国";
this.linkLabel3.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel3_LinkClicked);
this.label2.AutoSize = true;
this.label2.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold);
this.label2.Location = new Point(0x10, 0x5b);
this.label2.Name = "label2";
this.label2.Size = new Size(0, 13);
this.label2.TabIndex = 0x12;
this.pictureBox2.Image = (Image) manager.GetObject("pictureBox2.Image");
this.pictureBox2.Location = new Point(0x74, 0x5b);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new Size(0x8e, 0x38);
this.pictureBox2.SizeMode = PictureBoxSizeMode.AutoSize;
this.pictureBox2.TabIndex = 0x11;
this.pictureBox2.TabStop = false;
this.label3.AutoSize = true;
this.label3.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold);
this.label3.Location = new Point(0x10, 40);
this.label3.Name = "label3";
this.label3.Size = new Size(0x48, 13);
this.label3.TabIndex = 0x10;
this.label3.Text = "开发团队:";
this.linkLabel1.AutoSize = true;
this.linkLabel1.LinkBehavior = LinkBehavior.HoverUnderline;
this.linkLabel1.Location = new Point(0x72, 0x40);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new Size(0x95, 12);
this.linkLabel1.TabIndex = 15;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "http://www.maticsoft.com";
this.linkLabel1.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
this.label7.AutoSize = true;
this.label7.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
this.label7.Location = new Point(0x10, 0x40);
this.label7.Name = "label7";
this.label7.Size = new Size(0x48, 13);
this.label7.TabIndex = 14;
this.label7.Text = "官方网站:";
this.linkLabel4.LinkBehavior = LinkBehavior.NeverUnderline;
this.linkLabel4.LinkColor = Color.Black;
this.linkLabel4.Location = new Point(0x72, 0x10);
this.linkLabel4.Name = "linkLabel4";
this.linkLabel4.Size = new Size(0x88, 0x10);
this.linkLabel4.TabIndex = 13;
this.linkLabel4.TabStop = true;
this.linkLabel4.Text = "李天平";
this.linkLabel4.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel4_LinkClicked);
this.label8.AutoSize = true;
this.label8.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
this.label8.Location = new Point(0x2a, 0x10);
this.label8.Name = "label8";
this.label8.Size = new Size(0x2e, 13);
this.label8.TabIndex = 12;
this.label8.Text = "作者:";
base.Controls.Add(this.tabControl1);
base.Name = "UcOptionsEnviroments";
base.Size = new Size(0x174, 0x10b);
base.Load += new EventHandler(this.UcOptionsEnviroments_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
((ISupportInitialize) this.pictureBox1).EndInit();
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
((ISupportInitialize) this.pictureBox2).EndInit();
base.ResumeLayout(false);
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
string fileName = "http://www.maticsoft.com";
Process.Start(fileName);
}
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
string fileName = "http://www.maticsoft.com";
Process.Start(fileName);
}
private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
string fileName = "http://www.litianping.com";
Process.Start(fileName);
}
private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
}
private void UcOptionsEnviroments_Load(object sender, EventArgs e)
{
this.lblProductName.Text = Application.ProductName;
this.lblVersion.Text = Application.ProductVersion;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -