• 大小: 1.55M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 实例  开发  

资源简介

Winform 常用的UI设计,主要实现了:通过设置用户权限,控制菜单,


附加数据库后,默认账号密码都是admin

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Security;
using System.Security.Cryptography;
using System.Configuration;

namespace System_Manage
{
    public partial class Frm_Login : Form
    {
        SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings[“conn“].ConnectionString);
        public static string userid = ““;
        public static string usertruename = ““;
        public static string roleid = ““;

        public Frm_Login()
        {
            InitializeComponent();
        }
        private void User_Login(string username string userpass)
        {
            t

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-10-07 11:21  LangPowerMS\
     文件         235  2016-10-07 10:58  LangPowerMS\App.config
     目录           0  2016-10-07 10:46  LangPowerMS\Backup\
     文件         219  2014-12-04 11:05  LangPowerMS\Backup\App.config
     文件        8003  2014-11-03 13:39  LangPowerMS\Backup\Frm_Login.Designer.cs
     文件        4501  2014-11-03 13:39  LangPowerMS\Backup\Frm_Login.cs
     文件      135654  2014-11-03 13:39  LangPowerMS\Backup\Frm_Login.resx
     文件        8227  2014-12-04 10:01  LangPowerMS\Backup\Frm_Main.Designer.cs
     文件        6034  2014-12-04 10:01  LangPowerMS\Backup\Frm_Main.cs
     文件        6607  2014-12-04 10:01  LangPowerMS\Backup\Frm_Main.resx
     文件       20223  2014-11-03 13:39  LangPowerMS\Backup\Frm_Resources.Designer.cs
     文件       29097  2014-12-04 10:00  LangPowerMS\Backup\Frm_Resources.cs
     文件        6012  2014-11-03 13:39  LangPowerMS\Backup\Frm_Resources.resx
     文件        6362  2014-11-03 13:39  LangPowerMS\Backup\Frm_Role_Resources.Designer.cs
     文件        9359  2014-11-03 13:39  LangPowerMS\Backup\Frm_Role_Resources.cs
     文件        5814  2014-11-03 13:39  LangPowerMS\Backup\Frm_Role_Resources.resx
     文件       13169  2014-11-03 13:39  LangPowerMS\Backup\Frm_Roles.Designer.cs
     文件        8064  2014-12-04 10:00  LangPowerMS\Backup\Frm_Roles.cs
     文件        6368  2014-11-03 13:39  LangPowerMS\Backup\Frm_Roles.resx
     文件       21061  2014-11-03 13:39  LangPowerMS\Backup\Frm_Users.Designer.cs
     文件       11306  2014-12-04 10:00  LangPowerMS\Backup\Frm_Users.cs
     文件        7308  2014-11-03 13:39  LangPowerMS\Backup\Frm_Users.resx
     文件        6338  2014-11-03 13:39  LangPowerMS\Backup\Frm_Users_Roles.Designer.cs
     文件        7690  2014-11-03 13:39  LangPowerMS\Backup\Frm_Users_Roles.cs
     文件        5814  2014-11-03 13:39  LangPowerMS\Backup\Frm_Users_Roles.resx
     目录           0  2016-10-07 10:46  LangPowerMS\Backup\Images\
     文件        8994  2014-10-31 09:15  LangPowerMS\Backup\Images\login_title.jpg
     文件       86358  2014-10-31 09:06  LangPowerMS\Backup\Images\title.ico
     文件         475  2014-11-01 19:33  LangPowerMS\Backup\Program.cs
     目录           0  2016-10-07 10:46  LangPowerMS\Backup\Properties\
     文件        1233  2014-12-04 11:12  LangPowerMS\Backup\Properties\AssemblyInfo.cs
............此处省略89个文件信息

评论

共有 条评论