📄 successpage.cs
字号:
namespace Imps.Client.Pc.Password
{
using Imps.Client.Pc.Controls;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
public class SuccessPage : StepPageBase
{
private IContainer components;
private XLabel lbMessageTip;
private PictureBox pictureBox1;
public SuccessPage(SetPasswordWizard host) : base(host)
{
this.InitializeComponent();
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
public override bool GetValidData()
{
return true;
}
private void InitializeComponent()
{
ComponentResourceManager manager = new ComponentResourceManager(typeof(SuccessPage));
this.lbMessageTip = new XLabel();
this.pictureBox1 = new PictureBox();
this.pictureBox1.BeginInit();
base.SuspendLayout();
this.lbMessageTip.BorderColor = Color.Empty;
this.lbMessageTip.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbMessageTip.Font = new Font("Microsoft Sans Serif", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
this.lbMessageTip.Location = new Point(0x7f, 0x86);
this.lbMessageTip.Name = "lbMessageTip";
this.lbMessageTip.Size = new Size(0x93, 0x16);
this.lbMessageTip.TabIndex = 0x15;
this.lbMessageTip.Text = "密码修改成功";
this.lbMessageTip.UseMnemonic = false;
this.pictureBox1.Image = (Image) manager.GetObject("pictureBox1.Image");
this.pictureBox1.Location = new Point(0x3d, 0x67);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new Size(60, 0x3e);
this.pictureBox1.TabIndex = 0x16;
this.pictureBox1.TabStop = false;
base.set_AutoScaleDimensions(new SizeF(6f, 12f));
base.set_AutoScaleMode(1);
base.Controls.Add(this.pictureBox1);
base.Controls.Add(this.lbMessageTip);
base.Name = "SuccessPage";
base.Size = new Size(380, 300);
this.pictureBox1.EndInit();
base.ResumeLayout(false);
}
public override void MoveToNextStage()
{
base._host.Close();
}
public override string CancelConfirmMsg
{
get
{
return string.Empty;
}
}
public override bool CanMovePrivious
{
get
{
return false;
}
}
public override string NextStepText
{
get
{
return "完成(&F)";
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -