資源簡介
庫存管理系統之功能模塊設計與實現與用戶界面層設計包含付加類,數據庫設計與實現,功能模塊設計。
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?_80923_01.goods;
using?System.Data.SqlClient;
namespace?_80923_01
{
????public?partial?class?Form1?:?Form
????{?
????????link?sq?=?new?link();
????????public?static?string?SendUserName?=?““;
????????
????????
????????
????????public?Form1()
????????{
???????????
????????????InitializeComponent();
????????}
????????private?void?qd_Click(object?sender?EventArgs?e)
????????{
????????????string?getuser?=?“select?SysLoginNamepwd?from?tb_user?where?Name=‘“?+?this.user.Text.Trim()?+?“‘“;
????????????SqlDataReader?dr;
????????????dr?=?sq.GetReader(getuser);
????????????dr.Read();
??????????
????????????if?(dr.HasRows)
????????????{
????????????????if?(this.sf.Text.Trim()?==?dr[0].ToString().Trim()?&&?this.pwd.Text.Trim()?==?dr[1].ToString().Trim())
????????????????{
????????????????????SendUserName?=?this.user.Text;
????????????????????
????????????????????mainfrm?mf?=?new?mainfrm();
????????????????????mf.Show();
????????????????????this.Hide();
????????????????}
????????????????else?{
????????????????????MessageBox.Show(“身份或密碼不正確““提示信息“);
????????????????}
????????????}
????????????else
????????????{
????????????????MessageBox.Show(“用戶不存在““提示信息“);
????????????}
????????}
????????private?void?qx_Click(object?sender?EventArgs?e)
????????{
????????????this.Close();
????????}
????????private?void?sf_SelectedIndexChanged(object?sender?EventArgs?e)
????????{
?????????
????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
???????????
????????????string?getp?=?“select?distinct?Sysusersort?from?tb_popedom“;
????????????SqlDataReader?dr?=?sq.GetReader(getp);
????????????while?(dr.Read())
????????????{
????????????????this.sf.Items.Add(dr[0].ToString());
????????????}
????????????dr.Close();?
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????916??2008-09-23?08:24??080923-01\080923-01.sln
????..A..H.?????22016??2008-09-23?23:17??080923-01\080923-01.suo
?????文件???????3992??2008-09-23?10:25??080923-01\080923-01\080923-01.csproj
?????文件???????2031??2008-09-23?10:15??080923-01\080923-01\login.cs
?????文件???????6471??2008-09-23?10:13??080923-01\080923-01\login.Designer.cs
?????文件???????5814??2008-09-23?10:13??080923-01\080923-01\login.resx
?????文件???????1445??2008-09-23?10:27??080923-01\080923-01\mainfrm.cs
?????文件??????10064??2008-09-23?10:27??080923-01\080923-01\mainfrm.Designer.cs
?????文件???????6408??2008-09-23?10:27??080923-01\080923-01\mainfrm.resx
?????文件????????468??2008-09-23?08:23??080923-01\080923-01\Program.cs
?????文件???????1166??2008-09-23?08:23??080923-01\080923-01\Properties\AssemblyInfo.cs
?????文件???????2872??2008-09-23?08:23??080923-01\080923-01\Properties\Resources.Designer.cs
?????文件???????5612??2008-09-23?08:23??080923-01\080923-01\Properties\Resources.resx
?????文件???????1092??2008-09-23?08:23??080923-01\080923-01\Properties\Settings.Designer.cs
?????文件????????249??2008-09-23?08:23??080923-01\080923-01\Properties\Settings.settings
?????文件????????368??2008-09-23?23:15??080923-01\080923-01\obj\080923-01.csproj.FileList.txt
?????文件??????28672??2008-09-23?23:15??080923-01\080923-01\obj\Debug\080923-01.exe
?????文件??????48640??2008-09-23?23:15??080923-01\080923-01\obj\Debug\080923-01.pdb
?????文件????????180??2008-09-23?23:15??080923-01\080923-01\obj\Debug\_80923_01.About.AboutMess.resources
?????文件????????180??2008-09-23?10:13??080923-01\080923-01\obj\Debug\_80923_01.Form1.resources
?????文件????????180??2008-09-23?10:27??080923-01\080923-01\obj\Debug\_80923_01.mainfrm.resources
?????文件????????180??2008-09-23?08:31??080923-01\080923-01\obj\Debug\_80923_01.Properties.Resources.resources
?????文件???????1028??2008-09-23?23:15??080923-01\080923-01\obj\Debug\080923-01.csproj.GenerateResource.Cache
?????文件???????5011??2008-09-23?23:15??080923-01\080923-01\goods\li
?????文件??????28672??2008-09-23?23:15??080923-01\080923-01\bin\Debug\080923-01.exe
?????文件??????48640??2008-09-23?23:15??080923-01\080923-01\bin\Debug\080923-01.pdb
?????文件???????5632??2005-11-11?22:25??080923-01\080923-01\bin\Debug\080923-01.vshost.exe
?????文件????????584??2008-09-23?10:29??080923-01\080923-01\About\AboutMess.cs
?????文件???????2113??2008-09-23?10:29??080923-01\080923-01\About\AboutMess.Designer.cs
?????文件???????5814??2008-09-23?10:29??080923-01\080923-01\About\AboutMess.resx
............此處省略14個文件信息
- 上一篇:MFC透明表
- 下一篇:物業管理系統測試計劃范文
評論
共有 條評論