91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.16MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-26
  • 語(yǔ)言: C#
  • 標(biāo)簽: C#??

資源簡(jiǎn)介

簡(jiǎn)單的c#停車場(chǎng)管理系統(tǒng),包含完整源代碼,需要使用SQLserver數(shù)據(jù)庫(kù)進(jìn)行連接。

資源截圖

代碼片段和文件信息

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

namespace?停車場(chǎng)管理系統(tǒng)
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????private?void?textBox1_TextChanged(object?sender?EventArgs?e)
????????{

????????}

????????private?void?bexit_Click(object?sender?EventArgs?e)
????????{
????????????Close();
????????}

????????private?void?blogin_Click(object?sender?EventArgs?e)
????????{
????????????string?constr?=?“server=.;Database=停車管理員表;integrated?security=SSPI“;
????????????SqlConnection?conn?=?new?SqlConnection(constr);
????????????string?commandstr?=?“SELECT?*?FROM?TABLE_1?WHERE?工號(hào)=‘“?+?tname.Text?+?“‘a(chǎn)nd?密碼=‘“?+?tpasswd.Text?+?“‘“;
????????????DataTable?dt?=?new?DataTable();
????????????SqlDataAdapter?da?=?new?SqlDataAdapter(commandstr?conn);
????????????da.Fill(dt);
????????????conn.Open();
????????????if?(dt.Rows.Count?>?0)
????????????{
????????????????string?name?=?tname.Text;
????????????????MessageBox.Show(string.Format(“工號(hào)“+tname.Text+“登錄成功!“));
????????????????Form2?f2?=?new?Form2();
????????????????f2.ShowDialog(this);
?????????????//???this.Hide();
????????????}
????????????else
????????????????MessageBox.Show(string.Format(“用戶名或密碼錯(cuò)誤,登錄失敗“));
????????????conn.Close();
????????}

????????private?void?tname_KeyDown(object?sender?KeyEventArgs?e)
????????{
????????????if?(e.KeyCode?==?Keys.Enter)???
????????????{
????????????????this.tpasswd.Focus();
????????????}
????????}

????????private?void?tpasswd_KeyDown(object?sender?KeyEventArgs?e)
????????{
????????????if?(e.KeyCode?==?Keys.Enter)???
????????????{
????????????????this.blogin.Focus();
????????????}
????????}
????}
}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件??????29184??2015-06-15?15:26??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\bin\Debug\停車場(chǎng)管理系統(tǒng).exe

?????文件??????73216??2015-06-15?15:26??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\bin\Debug\停車場(chǎng)管理系統(tǒng).pdb

?????文件??????11600??2014-10-28?13:13??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\bin\Debug\停車場(chǎng)管理系統(tǒng).vshost.exe

?????文件????????490??2010-03-17?22:39??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\bin\Debug\停車場(chǎng)管理系統(tǒng).vshost.exe.manifest

?????文件???????1995??2015-06-14?21:25??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form1.cs

?????文件???????6095??2015-06-13?16:20??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form1.Designer.cs

?????文件???????5817??2015-06-13?16:20??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form1.resx

?????文件???????4563??2015-06-15?08:14??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form2.cs

?????文件??????14471??2015-06-14?17:15??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form2.Designer.cs

?????文件???????6011??2015-06-14?17:15??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form2.resx

?????文件??????15249??2015-06-15?08:14??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form3.cs

?????文件??????12747??2015-06-14?17:27??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form3.Designer.cs

?????文件???????5817??2015-06-14?17:27??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form3.resx

?????文件???????2487??2015-06-15?08:16??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form4.cs

?????文件???????6641??2015-06-15?08:16??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form4.Designer.cs

?????文件???????5817??2015-06-15?08:16??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\Form4.resx

?????文件???????5185??2015-06-12?18:54??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????6326??2014-10-28?13:13??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件???????1734??2015-06-14?21:47??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\GenerateResource.read.1.tlog

?????文件???????5024??2015-06-14?21:47??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\GenerateResource.write.1.tlog

?????文件???????8031??2015-06-13?13:20??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\ResolveAssemblyReference.cache

?????文件???????6105??2014-10-28?13:13??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).csproj.FileListAbsolute.txt

?????文件???????1149??2015-06-15?15:26??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).csproj.GenerateResource.Cache

?????文件??????29184??2015-06-15?15:26??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).exe

?????文件????????180??2015-06-14?17:21??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).Form1.resources

?????文件????????180??2015-06-14?17:21??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).Form2.resources

?????文件????????180??2015-06-14?21:16??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).Form3.resources

?????文件????????180??2015-06-15?15:26??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).Form4.resources

?????文件??????73216??2015-06-15?15:26??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).pdb

?????文件????????180??2015-06-14?17:21??停車場(chǎng)管理系統(tǒng)\停車場(chǎng)管理系統(tǒng)\obj\x86\Debug\停車場(chǎng)管理系統(tǒng).Properties.Resources.resources

............此處省略27個(gè)文件信息

評(píng)論

共有 條評(píng)論