WindowsFormsApplication6/MainFrm.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BLL;
using System.Diagnostics;
namespace WindowsFormsApplication6
{
public partial class MainFrm : Form
{
#region 构造函数
public MainFrm()
{
InitializeComponent();
}
#endregion
#region 窗体加载
private void MainFrm_Load(object sender, EventArgs e)
{
this.txt_CardPwd.PasswordChar = '●';//动态设置密码框的屏蔽字符
this.MaximizeBox = false;//将窗体的最大化禁用
timer1.Interval = 1000;//设置时间控件的间隔
timer1.Start();//启动timer
}
#endregion
#region 更新时间
private void timer1_Tick(object sender, EventArgs e)
{
this.lb_gettime.Text = "当前时间:\n" + DateTime.Now.ToString();
}
#endregion
#region 登陆事件
private void bt_loggin_Click(object sender, EventArgs e)
{//下载于www.51aspx.com
try
{
if (this.lb_CardId.Text != "格式正确 .")
MessageBox.Show("格式不正确 禁止登陆 .");
else
{
long id = long.Parse(this.txt_CardId.Text);//获取卡号
string pwd = this.txt_CardPwd.Text;//获取密码
DataSet dsCardinfo = CardInfobll.GetSet(id, pwd);
try
{
DataSet dsNotes = CardInfobll.GetNotes(dsCardinfo.Tables[0].Rows[0]["CardName"].ToString());
if (dsCardinfo.Tables[0].Rows[0][0] == null || dsCardinfo.Tables[0].Rows[0]["CardPwd"].ToString() != txt_CardPwd.Text)
MessageBox.Show("密码错误 .");
else
{
System.Diagnostics.Process[] list = Process.GetProcesses();//获取任务管理器所有进程
bool flag = false;
foreach (System.Diagnostics.Process proc in list)//对任务管理器的进程进行循环
后面还有 59 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。