sm

立即登录 | 账号注册

积分: 0 |用户组: 游客

搜索
服务器租用 传奇3一条龙 支付平台源码 无法下载点击此处反馈
查看: 1735|回复: 8

[传奇3源码] Zircon传奇3源代码仿韩版黑龙逆向代码C#传奇3源码

[复制链接]

826

主题

36

回帖

23万

积分

霸王教主

积分
235297
发表于 2023-4-6 00:07:52 | 显示全部楼层 |阅读模式
  1. public LoginDialog() {
  2.     Class235.lOGA49LzdKkMJ();
  3.     base..ctor();
  4.     this.Size = new Size(785, 110);
  5.     base.Opacity = 0 f;
  6.     base.HasTitle = false;
  7.     base.HasFooter = false;
  8.     base.HasTopBorder = false;
  9.     base.TitleLabel.Visible = false;
  10.     base.CloseButton.Visible = false;
  11.     this.LoginImage = new DXImageControl {
  12.         Parent = this,
  13.             LibraryFile = LibraryFile.const_1,
  14.             Index = 2,
  15.             Location = new Point(0, 0)
  16.     };
  17.     this.EMailTextBox = new DXTextBox {
  18.         Parent = this,
  19.             Location = new Point(67, 64),
  20.             Size = new Size(190, 20)
  21.     };
  22.     this.EMailTextBox.SetFocus();
  23.     this.EMailTextBox.TextBox.TextChanged += new EventHandler(this.method_8);
  24.     this.EMailTextBox.TextBox.GotFocus += new EventHandler(this.method_13);
  25.     this.EMailTextBox.TextBox.LostFocus += new EventHandler(this.method_14);
  26.     this.EMailTextBox.TextBox.KeyPress += new KeyPressEventHandler(this.method_7);
  27.     this.PasswordTextBox = new DXTextBox {
  28.         Parent = this,
  29.             Location = new Point(350, 64),
  30.             Size = new Size(190, 16),
  31.             Password = true
  32.     };
  33.     this.PasswordTextBox.TextBox.TextChanged += new EventHandler(this.method_9);
  34.     this.PasswordTextBox.TextBox.GotFocus += new EventHandler(this.method_15);
  35.     this.PasswordTextBox.TextBox.LostFocus += new EventHandler(this.method_16);
  36.     this.PasswordTextBox.TextBox.KeyPress += new KeyPressEventHandler(this.method_7);
  37.     this.TipsLabel = new DXLabel {
  38.         Parent = this,
  39.             Location = new Point(320, 39),
  40.             Text = "请输入你的邮箱账号和密码",
  41.             ForeColour = Color.Gainsboro
  42.     };
  43.     DXLabel dXLabel = new DXLabel {
  44.         Parent = this,
  45.             Font = new Font(Config.FontName, CEnvir.FontSize(10 f), FontStyle.Bold),
  46.             Text = "E-Mail:"
  47.     };

  48.     dXLabel.Location = new Point(this.EMailTextBox.Location.X -
  49.         dXLabel.Size.Width + 4, (this.EMailTextBox.Size.Height -
  50.             dXLabel.Size.Height) / 2 + this.EMailTextBox.Location.Y);
  51.     dXLabel = new DXLabel {
  52.         Parent = this,
  53.             Font = new Font(Config.FontName, CEnvir.FontSize(10 f), FontStyle.Bold),
  54.             Text = "密码:"
  55.     };

  56.     dXLabel.Location = new Point(this.PasswordTextBox.Location.X -
  57.         dXLabel.Size.Width + 4, (this.PasswordTextBox.Size.Height -
  58.             dXLabel.Size.Height) / 2 + this.PasswordTextBox.Location.Y);
  59.     this.EMailHelpLabel = new DXLabel {
  60.         Visible = false,
  61.             Parent = this,
  62.             Text = "[?]",
  63.             Hint = string.Format("E-Mail 地址\n格式: Example@Example.Com\n最大长度: {0} 字符", 50)
  64.     };

  65.     this.EMailHelpLabel.Location = new
  66.     Point(this.EMailTextBox.Location.X + this.EMailTextBox.Size.Width + 2, (this.EMailTextBox.Size.Height - this.EMailHelpLabel.Size.Height) / 2 +
  67.         this.EMailTextBox.Location.Y);
  68.     this.PasswordHelpLabel = new DXLabel {
  69.         Visible = false,
  70.             Parent = this,
  71.             Text = "[?]",
  72.             Hint = string.Format("密码\n允许非空格字符\n长度: 处于 {0} 和 {1} 之间", 5, 15)
  73.     };

  74.     this.PasswordHelpLabel.Location = new
  75.     Point(this.PasswordTextBox.Location.X + this.PasswordTextBox.Size.Width +
  76.         2, (this.PasswordTextBox.Size.Height -
  77.             this.PasswordHelpLabel.Size.Height) / 2 +
  78.         this.PasswordTextBox.Location.Y);
  79.     this.RememberCheckBox = new DXCheckBox {
  80.         Label = {
  81.                 Text = "记住账号"
  82.             },
  83.             Parent = this,
  84.             Checked = Config.RememberDetails
  85.     };

  86.     this.RememberCheckBox.Location = new
  87.     Point(this.PasswordTextBox.Location.X + this.PasswordTextBox.Size.Width -
  88.         this.RememberCheckBox.Size.Width + 80, 39);
  89.     this.RememberCheckBox.CheckedChanged += new EventHandler < EventArgs > (this.method_17);
  90.     this.LoginButton = new DXButton {
  91.         Parent = this,
  92.             Location = new Point(560, 60),
  93.             Size = new Size(100, DXControl.DefaultHeight),
  94.             Label = {
  95.                 Text = "登录"
  96.             },
  97.             Enabled = false
  98.     };
  99.     this.LoginButton.MouseClick += new EventHandler < MouseEventArgs > (this.method_18);
  100.     this.QuitButton = new DXButton {
  101.         Parent = this,
  102.             Location = new Point(665, 60),
  103.             Size = new Size(100, DXControl.DefaultHeight),
  104.             Label = {
  105.                 Text = "退出"
  106.             }
  107.     };
  108.     DXControl arg_616_0 = this.QuitButton;
  109.     EventHandler < MouseEventArgs > arg_616_1;
  110.     if ((arg_616_1 = LoginScene.LoginDialog.Class16.eventHandler_0) == null) {

  111.         arg_616_1 = (LoginScene.LoginDialog.Class16.eventHandler_0 = new EventHandler < MouseEventArgs > (LoginScene.LoginDialog.Class16.class16_0.method_0));
  112.     }
  113.     arg_616_0.MouseClick += arg_616_1;
  114.     this.ChangePasswordImage = new DXButton {
  115.         Parent = this,
  116.             LibraryFile = LibraryFile.const_1,
  117.             Index = 11,
  118.             Location = new Point(643, 0),
  119.             Size = new Size(150, DXControl.DefaultHeight)
  120.     };
  121.     this.ChangePasswordImage.MouseClick += new EventHandler < MouseEventArgs > (this.method_10);
  122.     this.ForgotPasswordLabel = new DXLabel {
  123.         Parent = this,
  124.             Text = "忘记密码?",
  125.             Sound = SoundIndex.ButtonC
  126.     };
  127.     this.ForgotPasswordLabel.MouseEnter += new EventHandler < EventArgs > (this.method_19);
  128.     this.ForgotPasswordLabel.MouseLeave += new EventHandler < EventArgs > (this.method_20);
  129.     this.ForgotPasswordLabel.Location = new Point(650, 39);
  130.     this.ForgotPasswordLabel.MouseClick += new EventHandler < MouseEventArgs > (this.method_11);
  131.     this.NewAccountImage = new DXButton {
  132.         Parent = this,
  133.             LibraryFile = LibraryFile.const_1,
  134.             Index = 10,
  135.             Location = new Point(505, 0),
  136.             Size = new Size(150, DXControl.DefaultHeight)
  137.     };
  138.     this.NewAccountImage.MouseClick += new EventHandler < MouseEventArgs > (this.method_12);
  139.     DXControl arg_77D_0 = base.CloseButton;
  140.     EventHandler < MouseEventArgs > arg_77D_1;
  141.     if ((arg_77D_1 = LoginScene.LoginDialog.Class16.eventHandler_1) == null) {

  142.         arg_77D_1 = (LoginScene.LoginDialog.Class16.eventHandler_1 = new EventHandler < MouseEventArgs > (LoginScene.LoginDialog.Class16.class16_0.method_1));
  143.     }
  144.     arg_77D_0.MouseClick += arg_77D_1;
  145.     if (Config.RememberDetails) {
  146.         this.EMailTextBox.TextBox.Text = Config.RememberedEMail;
  147.         this.PasswordTextBox.TextBox.Text = Config.RememberedPassword;
  148.     }
  149. }

  150. public void Login() {
  151.     this.LoginAttempted = true;
  152.     Login packet = new Login {
  153.         EMailAddress = this.EMailTextBox.TextBox.Text,
  154.             Password = this.PasswordTextBox.TextBox.Text,
  155.             CheckSum = CEnvir.C
  156.     };
  157.     CEnvir.Enqueue(packet);
  158. }

  159. private void method_7(object sender, KeyPressEventArgs e) {
  160.     if (e.KeyChar == '\r') {
  161.         e.Handled = true;
  162.         if (!this.Boolean_0) {
  163.             this.EMailTextBox.SetFocus();
  164.         } else if (!this.PasswordValid) {
  165.             this.PasswordTextBox.SetFocus();
  166.         } else if (this.LoginButton.IsEnabled) {
  167.             this.Login();
  168.         }
  169.     }
  170. }

  171. private void method_8(object sender, EventArgs e) {

  172.     this.Boolean_0 =
  173.         (!string.IsNullOrEmpty(this.EMailTextBox.TextBox.Text) &&
  174.             this.EMailTextBox.TextBox.Text.Length >= 2);
  175.     if (string.IsNullOrEmpty(this.EMailTextBox.TextBox.Text)) {
  176.         this.EMailTextBox.BorderColour = Color.FromArgb(141, 125, 109);
  177.     } else {
  178.         this.EMailTextBox.BorderColour = (this.Boolean_0 ? Color.Green : Color.Red);
  179.     }
  180. }

  181. private void method_9(object sender, EventArgs e) {

  182.     this.PasswordValid =
  183.         (!string.IsNullOrEmpty(this.PasswordTextBox.TextBox.Text) &&
  184.             Globals.PasswordRegex.IsMatch(this.PasswordTextBox.TextBox.Text));
  185.     if (string.IsNullOrEmpty(this.PasswordTextBox.TextBox.Text)) {
  186.         this.PasswordTextBox.BorderColour = Color.FromArgb(141, 125, 109);
  187.     } else {
  188.         this.PasswordTextBox.BorderColour = (this.PasswordValid ? Color.Green : Color.Red);
  189.     }
  190. }

  191. private void method_10(object sender, MouseEventArgs e) {
  192.     LoginScene loginScene = DXControl.ActiveScene as LoginScene;
  193.     if (loginScene != null) {
  194.         base.Visible = false;
  195.         loginScene.ChangeBox.Visible = true;
  196.         loginScene.ChangeBox.EMailTextBox.SetFocus();
  197.     }
  198. }

  199. private void method_11(object sender, MouseEventArgs e) {
  200.     LoginScene loginScene = DXControl.ActiveScene as LoginScene;
  201.     if (loginScene != null) {
  202.         base.Visible = false;
  203.         loginScene.RequestPassswordBox.Visible = true;
  204.         loginScene.RequestPassswordBox.EMailTextBox.SetFocus();
  205.     }
  206. }

  207. private void method_12(object sender, MouseEventArgs e) {
  208.     LoginScene loginScene = DXControl.ActiveScene as LoginScene;
  209.     if (loginScene != null) {
  210.         base.Visible = false;
  211.         loginScene.AccountBox.Visible = true;
  212.         loginScene.AccountBox.EMailTextBox.SetFocus();
  213.     }
  214. }

  215. protected override void Dispose(bool disposing) {
  216.     base.Dispose(disposing);
  217.     if (disposing) {
  218.         if (this.EMailTextBox != null) {
  219.             if (!this.EMailTextBox.IsDisposed) {
  220.                 this.EMailTextBox.Dispose();
  221.             }
  222.             this.EMailTextBox = null;
  223.         }
  224.         if (this.PasswordTextBox != null) {
  225.             if (!this.PasswordTextBox.IsDisposed) {
  226.                 this.PasswordTextBox.Dispose();
  227.             }
  228.             this.PasswordTextBox = null;
  229.         }
  230.         if (this.EMailHelpLabel != null) {
  231.             if (!this.EMailHelpLabel.IsDisposed) {
  232.                 this.EMailHelpLabel.Dispose();
  233.             }
  234.             this.EMailHelpLabel = null;
  235.         }
  236.         if (this.PasswordHelpLabel != null) {
  237.             if (!this.PasswordHelpLabel.IsDisposed) {
  238.                 this.PasswordHelpLabel.Dispose();
  239.             }
  240.             this.PasswordHelpLabel = null;
  241.         }
  242.         if (this.RememberCheckBox != null) {
  243.             if (!this.RememberCheckBox.IsDisposed) {
  244.                 this.RememberCheckBox.Dispose();
  245.             }
  246.             this.RememberCheckBox = null;
  247.         }
  248.         if (this.LoginButton != null) {
  249.             if (!this.LoginButton.IsDisposed) {
  250.                 this.LoginButton.Dispose();
  251.             }
  252.             this.LoginButton = null;
  253.         }
  254.         if (this.NewAccountImage != null) {
  255.             if (!this.NewAccountImage.IsDisposed) {
  256.                 this.NewAccountImage.Dispose();
  257.             }
  258.             this.NewAccountImage = null;
  259.         }
  260.         if (this.ChangePasswordImage != null) {
  261.             if (!this.ChangePasswordImage.IsDisposed) {
  262.                 this.ChangePasswordImage.Dispose();
  263.             }
  264.             this.ChangePasswordImage = null;
  265.         }
  266.         if (this.ForgotPasswordLabel != null) {
  267.             if (!this.ForgotPasswordLabel.IsDisposed) {
  268.                 this.ForgotPasswordLabel.Dispose();
  269.             }
  270.             this.ForgotPasswordLabel = null;
  271.         }
  272.         this.bool_29 = false;
  273.         this.bool_30 = false;
  274.         this.bool_31 = false;
  275.     }
  276. }
复制代码
1.jpg 2.jpg 3.jpg 4.jpg
文件名:黑龙仿韩服逆向代码.zip( 售价: 1000积分 )
访问密码:z3e31




上一篇:Delphi传奇地图平滑移动代码
下一篇:传奇3G2005源代码C# 逆向Zircon传奇3G源码
回复

使用道具 举报

0

主题

14

回帖

1237

积分

旋风流星刀

积分
1237
发表于 2023-8-1 08:49:05 | 显示全部楼层
看看,感谢分享。。。
回复 支持 反对

使用道具 举报

0

主题

2

回帖

226

积分

旋风流星刀

积分
226
发表于 2023-8-31 09:05:06 | 显示全部楼层
加油加油,坚持就是胜利
回复 支持 反对

使用道具 举报

0

主题

19

回帖

647

积分

旋风流星刀

积分
647
发表于 2023-11-4 20:08:39 来自手机 | 显示全部楼层
低调低调低调低调
回复 支持 反对

使用道具 举报

3

主题

44

回帖

40

积分

旋风流星刀

积分
40
发表于 2023-11-28 23:58:33 来自手机 | 显示全部楼层
不错哦,来看看。
回复 支持 反对

使用道具 举报

0

主题

2

回帖

101

积分

旋风流星刀

积分
101
发表于 2023-12-9 12:05:21 | 显示全部楼层
感谢分享
回复

使用道具 举报

0

主题

18

回帖

103

积分

旋风流星刀

积分
103
发表于 2023-12-12 09:14:44 | 显示全部楼层
看看先,看看咋样
回复 支持 反对

使用道具 举报

3

主题

44

回帖

40

积分

旋风流星刀

积分
40
发表于 2023-12-12 16:22:42 | 显示全部楼层
老大,我买了那个反代码。请问客户端地址有吗?
回复 支持 反对

使用道具 举报

0

主题

2

回帖

1

积分

旋风流星刀

积分
1
发表于 2024-1-14 20:18:12 | 显示全部楼层
下来看看先
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|美林GM论坛 ( 蜀ICP备2020030293号-2 )|网站地图

禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.如遇版权问题,请及时QQ联系

GMT+8, 2024-4-28 01:45 , Processed in 0.346711 second(s), 91 queries .

Powered by Discuz! X3.5

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表