1. 首页
  2. 课程学习
  3. .Net
  4. 车牌关系系统

车牌关系系统

上传者: 2018-12-28 14:24:41上传 ZIP文件 308KB 热度 49次
这是一款基于数据库的车牌管理系统 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using System.IO; namespace WPF车牌1 { /// /// MainWindow.xaml 的交互逻辑 /// public clas s kk //该类存放了该程序要用到的公共变量和一些常用方法 { public static string filename = "F:\\222\\"; public static string hello; /* public static string mingzi() { StreamReader m = new StreamReader("F:\\222\\01\\01001\\mingzi.txt",System.Text.Encoding.GetEncoding("gb2312")); string temp=m.ReadLine(); m.Close(); m.Dispose(); return temp; }*/ public static string getmima(string zhanghao) //返回普通用户账号的密码 { string temp,wenjianming; wenjianming = filename; temp=zhanghao.Substring(0,2); wenjianming = wenjianming + temp + "\\"+zhanghao+"\\mima.txt"; StreamReader m = new StreamReader(wenjianming); temp = m.ReadLine(); m.Close(); m.Dispose(); return temp; } s kk //该类存放了该程序要用到的公共变量和一些常用方法 { public static string filename = "F:\\222\\"; public static string hello; /* public static string mingzi() { StreamReader m = new StreamReader("F:\\222\\01\\01001\\mingzi.txt",System.Text.Encoding.GetEncoding("gb2312")); string temp=m.ReadLine(); m.Close(); m.Dispose(); return temp; }*/ public static string getmima(string zhanghao) //返回普通用户账号的密码 { string temp,wenjianming; wenjianming = filename; temp=zhanghao.Substring(0,2); wenjianming = wenjianming + temp + "\\"+zhanghao+"\\mima.txt"; StreamReader m = new StreamReader(wenjianming); temp = m.ReadLine(); m.Close(); m.Dispose(); return temp; }
用户评论