• 大小: 539KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-07
  • 语言: C#
  • 标签: C#  

资源简介

北大青鸟软件组成员开发的一套客户关系系统时所采用的登录界面,还带有动画效果,登录框淅入渐出,感觉很酷!

资源截图

代码片段和文件信息

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(“admin“) && txt_LoginPwd.Text.Equals(“admin“))
                timer1.Start();
            else
                MessageBox.Show(“登陆失败,如果你不知道登陆名跟密码请使用“+“\radmin“+“\radmin“+“\r尝试登陆““温馨提示“MessageBoxButtons.OKMessageBoxIcon.Warning);

        }

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

        private void btn_Cancel_Click(object sender EventArgs e)
        {
            txt_LoginName.Text = ““;
            txt_LoginPwd.Text = ““;
        }
        int heigh = 0;
        private void timer2_Tick(object sender EventArgs e)
        {
            if (heigh <= 160)
            {
                this.panel1.Size = new System.Drawing.Size(311 heigh);
                heigh += 3;
            }
            else
            {
                timer2.Stop();
            }
        }

        private void pictureBox1_MouseEnter(object sender EventArgs e)
        {
        }

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      20208  2006-03-22 10:15  CRM_Login\bin\Debug\CalmnessColor2.ssk

     文件     131072  2007-12-30 22:36  CRM_Login\bin\Debug\CRM_Login.exe

     文件      38400  2007-12-30 22:36  CRM_Login\bin\Debug\CRM_Login.pdb

     文件       5632  2005-12-08 14:51  CRM_Login\bin\Debug\CRM_Login.vshost.exe

     文件     516096  2006-08-18 11:50  CRM_Login\bin\Debug\IrisSkin2.dll

     文件       4209  2007-12-30 21:36  CRM_Login\CRM_Login.csproj

     文件        906  2007-12-28 14:22  CRM_Login\CRM_Login.sln

     文件       2502  2007-12-30 20:02  CRM_Login\Form1.cs

     文件      10205  2007-12-30 13:50  CRM_Login\Form1.Designer.cs

     文件      82305  2007-12-30 13:50  CRM_Login\Form1.resx

     文件       1290  2007-12-30 21:37  CRM_Login\Form2.cs

     文件      23517  2007-12-30 21:37  CRM_Login\Form2.Designer.cs

     文件      63800  2007-12-30 21:37  CRM_Login\Form2.resx

     文件       1331  2007-12-30 22:35  CRM_Login\Form3.cs

     文件       2560  2007-12-30 22:15  CRM_Login\Form3.Designer.cs

     文件      15030  2007-12-30 22:15  CRM_Login\Form3.resx

     文件       1163  2007-12-28 17:04  CRM_Login\Form_Show.cs

     文件        766  2007-12-28 15:23  CRM_Login\ie4power.ico

     文件       1193  2007-12-30 20:35  CRM_Login\Images\1.jpg

     文件       1308  2007-12-30 20:35  CRM_Login\Images\2.jpg

     文件       1211  2007-12-30 20:35  CRM_Login\Images\3.jpg

     文件       1172  2007-12-30 20:35  CRM_Login\Images\4.jpg

     文件       1194  2007-12-30 20:35  CRM_Login\Images\5.jpg

     文件       3728  2008-01-04 16:57  CRM_Login\Images\Add_Rizhi.jpg

     文件      27688  2007-12-28 17:25  CRM_Login\Images\Bg_login.gif

     文件      26179  2007-12-28 15:50  CRM_Login\Images\Bg_login.jpg

     文件      26187  2007-12-28 15:54  CRM_Login\Images\Bg_login3.jpg

     文件        739  2007-12-30 21:22  CRM_Login\Images\bg_w.jpg

     文件        905  2007-12-30 19:38  CRM_Login\Images\book.jpg

     文件       1147  2007-12-28 13:36  CRM_Login\Images\btn.jpg

............此处省略50个文件信息

评论

共有 条评论