📄 mobileemailapplyform.cs
字号:
namespace Imps.Client.Pc.Options
{
using Imps.Client.Pc;
using Imps.Client.Pc.BizControls;
using Imps.Client.Pc.Controls;
using Imps.Client.Resource;
using Imps.Client.Utils;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
public class MobileEmailApplyForm : XIMDialog
{
private IFrameworkWindow _iFramework;
private IContainer components;
private Label label1;
private LinkLabel linkLabApply;
private Panel panel1;
private PictureBox pictureBox1;
private XButton xbOK;
public MobileEmailApplyForm()
{
this.InitializeComponent();
base.Controls.SetChildIndex(this.panel1, 0);
base.Text = AppDictionary.CurrentClientName;
this.pictureBox1.Image = ImpsIcons.InfoImage;
}
public MobileEmailApplyForm(IFrameworkWindow iFramework) : this()
{
this._iFramework = iFramework;
}
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(MobileEmailApplyForm));
this.label1 = new Label();
this.xbOK = new XButton();
this.pictureBox1 = new PictureBox();
this.panel1 = new Panel();
this.linkLabApply = new LinkLabel();
this.pictureBox1.BeginInit();
this.panel1.SuspendLayout();
base.SuspendLayout();
this.label1.set_AutoSize(true);
this.label1.BackColor = Color.Transparent;
this.label1.Location = new System.Drawing.Point(0x61, 14);
this.label1.Name = "label1";
this.label1.Size = new Size(0xd6, 13);
this.label1.TabIndex = 0;
this.label1.Text = "您的手机邮箱尚未开通,无法进行绑定!";
this.xbOK.AutoArrangementX = true;
this.xbOK.AutoSizeToImage = false;
this.xbOK.BackColor = Color.Transparent;
this.xbOK.BackgroundImageDisable = null;
this.xbOK.BackgroundImageDown = null;
this.xbOK.BackgroundImageHover = null;
this.xbOK.ChangeSkin = true;
this.xbOK.Location = new System.Drawing.Point(0xcc, 0x94);
this.xbOK.Name = "xbOK";
this.xbOK.Size = new Size(0x4b, 0x17);
this.xbOK.TabIndex = 7;
this.xbOK.Text = "确定";
this.xbOK.set_UseVisualStyleBackColor(false);
this.xbOK.Click += new EventHandler(this.xbOK_Click);
this.pictureBox1.BackColor = Color.Transparent;
this.pictureBox1.Location = new System.Drawing.Point(13, 14);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new Size(0x4e, 0x42);
this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 14;
this.pictureBox1.TabStop = false;
this.panel1.BackColor = Color.Transparent;
this.panel1.Controls.Add(this.linkLabApply);
this.panel1.Controls.Add(this.pictureBox1);
this.panel1.Controls.Add(this.label1);
this.panel1.Location = new System.Drawing.Point(0x18, 12);
this.panel1.Name = "panel1";
this.panel1.Size = new Size(0x13d, 0x61);
this.panel1.TabIndex = 15;
this.linkLabApply.set_AutoSize(true);
this.linkLabApply.Location = new System.Drawing.Point(0x61, 0x2a);
this.linkLabApply.Name = "linkLabApply";
this.linkLabApply.Size = new Size(0x7f, 13);
this.linkLabApply.TabIndex = 15;
this.linkLabApply.TabStop = true;
this.linkLabApply.Text = "点击这里开通手机邮箱";
this.linkLabApply.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabApply_LinkClicked);
base.set_AutoScaleDimensions(new SizeF(6f, 13f));
base.set_AutoScaleMode(1);
base.BaseHeight = 0xe9;
base.BaseWidth = 0x17f;
base.ClientSize = new Size(0x17f, 0xe9);
base.ControlBox = false;
base.Controls.Add(this.panel1);
base.Controls.Add(this.xbOK);
base.DisplayLocation = new System.Drawing.Point(0x12, 0x26);
base.DisplaySize = new Size(0x17f, 0xe9);
base.Icon = (Icon) manager.GetObject("$this.Icon");
base.MinimizeBox = false;
base.Name = "MobileEmailApplyForm";
base.set_Padding(new Padding(1, 0x16, 13, 4));
base.StartPosition = FormStartPosition.CenterParent;
base.Text = "Fetion";
this.pictureBox1.EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
base.ResumeLayout(false);
}
private void linkLabApply_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
FunctionHelper.StartFunc(WebFunction.MobilEmailApply, string.Empty);
}
private void xbCancel_Click(object sender, EventArgs e)
{
base.DialogResult = DialogResult.Cancel;
base.Close();
}
private void xbOK_Click(object sender, EventArgs e)
{
base.DialogResult = DialogResult.OK;
base.Close();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -