Form1.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CRM_Login
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        double dou = 0.05;
        Form_Show show = new Form_Show();
        private void timer1_Tick(object sender, EventArgs e)
        {
                this.Opacity += dou;
                if (this.Opacity == 1)
                {
                    timer1.Stop();
                    dou = -0.05;
                    timer2.Start();
                }else if (this.Opacity == 0)
                {
                    timer1.Stop();
                    Form2 form = new Form2();
                    show.Get_Show(form);
                }
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            this.AcceptButton = btn_Login;
            this.CancelButton = btn_Cancel;
            skinEngine1.SkinFile = "CalmnessColor2.ssk";
            this.Opacity = 0;
            timer1.Start();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (txt_LoginName.Text.Equals("51aspx") && txt_LoginPwd.Text.Equals("51aspx"))
                timer1.Start();
            else
                //MessageBox.Show("登陆失败,如果你不知道登陆名跟密码请使用" + "\r51aspx" + "\r51aspx" + "\r尝试登陆", "温馨提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            MessageBox.Show("默认登陆名密码均为51aspx");


        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            show.Get_Close(this);
        }

后面还有 29 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。