namespace AsiaINFO.SMS.APPCMPP2
|
{
|
using AsiaINFO.SMS.APPCMPP2.Properties;
|
using System;
|
using System.ComponentModel;
|
using System.Diagnostics;
|
using System.Drawing;
|
using System.Windows.Forms;
|
|
public class AboutForm : Form
|
{
|
private IContainer components;
|
private Label label1;
|
private Label label3;
|
private Label label4;
|
private LinkLabel linkLabel1;
|
private PictureBox pictureBox1;
|
private TextBox textBox1;
|
|
public AboutForm()
|
{
|
this.InitializeComponent();
|
}
|
|
protected override void Dispose(bool disposing)
|
{
|
if (disposing && (this.components != null))
|
{
|
this.components.Dispose();
|
}
|
base.Dispose(disposing);
|
}
|
|
private void InitializeComponent()
|
{
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
this.label1 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
this.SuspendLayout();
|
//
|
// pictureBox1
|
//
|
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
|
this.pictureBox1.Name = "pictureBox1";
|
this.pictureBox1.Size = new System.Drawing.Size(212, 134);
|
this.pictureBox1.TabIndex = 0;
|
this.pictureBox1.TabStop = false;
|
//
|
// label1
|
//
|
this.label1.AutoSize = true;
|
this.label1.Font = new System.Drawing.Font("SimSun", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.label1.Location = new System.Drawing.Point(247, 12);
|
this.label1.Name = "label1";
|
this.label1.Size = new System.Drawing.Size(136, 16);
|
this.label1.TabIndex = 1;
|
this.label1.Text = "短消息网关客户端";
|
//
|
// label3
|
//
|
this.label3.AutoSize = true;
|
this.label3.Location = new System.Drawing.Point(248, 44);
|
this.label3.Name = "label3";
|
this.label3.Size = new System.Drawing.Size(41, 12);
|
this.label3.TabIndex = 3;
|
this.label3.Text = "版本:";
|
//
|
// label4
|
//
|
this.label4.AutoSize = true;
|
this.label4.ForeColor = System.Drawing.Color.Blue;
|
this.label4.Location = new System.Drawing.Point(288, 44);
|
this.label4.Name = "label4";
|
this.label4.Size = new System.Drawing.Size(95, 12);
|
this.label4.TabIndex = 4;
|
this.label4.Text = "V1.1 FOR DOTNET";
|
//
|
// textBox1
|
//
|
this.textBox1.Location = new System.Drawing.Point(250, 74);
|
this.textBox1.Multiline = true;
|
this.textBox1.Name = "textBox1";
|
this.textBox1.ReadOnly = true;
|
this.textBox1.Size = new System.Drawing.Size(133, 58);
|
this.textBox1.TabIndex = 6;
|
this.textBox1.Text = "描述信息: 本程序基于互联网短信网关接口协议CMPP2.0";
|
//
|
// linkLabel1
|
//
|
this.linkLabel1.AutoSize = true;
|
this.linkLabel1.LinkVisited = true;
|
this.linkLabel1.Location = new System.Drawing.Point(72, 162);
|
this.linkLabel1.Name = "linkLabel1";
|
this.linkLabel1.Size = new System.Drawing.Size(305, 12);
|
this.linkLabel1.TabIndex = 10;
|
this.linkLabel1.TabStop = true;
|
this.linkLabel1.Text = "Copyright (C) 2014 tengmedia. All rights reserved.";
|
//
|
// AboutForm
|
//
|
this.ClientSize = new System.Drawing.Size(400, 240);
|
this.Controls.Add(this.linkLabel1);
|
this.Controls.Add(this.textBox1);
|
this.Controls.Add(this.label4);
|
this.Controls.Add(this.label3);
|
this.Controls.Add(this.label1);
|
this.Controls.Add(this.pictureBox1);
|
this.MaximizeBox = false;
|
this.MinimizeBox = false;
|
this.Name = "AboutForm";
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.Text = "关于";
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
this.ResumeLayout(false);
|
this.PerformLayout();
|
|
}
|
|
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
{
|
Process.Start("iexplore.exe", "www.asiainfo.com.cn");
|
}
|
}
|
}
|