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

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

資源簡(jiǎn)介

c sharp ,人事管理系統(tǒng)源碼,c# 從入門到精通

資源截圖

代碼片段和文件信息

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;

namespace?PWMS
{
????public?partial?class?F_Login?:?Form
????{
????????DataClass.MyMeans?MyClass?=?new?PWMS.DataClass.MyMeans();
????????
????????public?F_Login()
????????{
????????????InitializeComponent();
????????}

????????private?void?butClose_Click(object?sender?EventArgs?e)
????????{
????????????if?((int)(this.Tag)?==?1)
????????????{
????????????????DataClass.MyMeans.Login_n?=?3;
????????????????Application.Exit();
????????????}
????????????else
????????????????if?((int)(this.Tag)?==?2)
????????????????????this.Close();
????????}

????????private?void?butLogin_Click(object?sender?EventArgs?e)
????????{
????????????if?(textName.Text?!=?““?&?textPass.Text?!=?““)
????????????{
????????????????SqlDataReader?temDR?=?MyClass.getcom(“select?*?from?tb_Login?where?Name=‘“?+?textName.Text.Trim()?+?“‘?and?Pass=‘“?+?textPass.Text.Trim()?+?“‘“);
????????????????bool?ifcom?=?temDR.Read();
????????????????if?(ifcom)
????????????????{
????????????????????DataClass.MyMeans.Login_Name?=?textName.Text.Trim();
????????????????????DataClass.MyMeans.Login_ID?=?temDR.GetString(0);
????????????????????DataClass.MyMeans.My_con.Close();
????????????????????DataClass.MyMeans.My_con.Dispose();
????????????????????DataClass.MyMeans.Login_n?=?(int)(this.Tag);
????????????????????this.Close();
????????????????}
????????????????else
????????????????{
????????????????????MessageBox.Show(“用戶名或密碼錯(cuò)誤!“?“提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????????????textName.Text?=?““;
????????????????????textPass.Text?=?““;
????????????????}
????????????????MyClass.con_close();
????????????}
????????????else
????????????????MessageBox.Show(“請(qǐng)將登錄信息添寫完整!“?“提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????}

????????private?void?F_Login_Load(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????MyClass.con_open();??//連接數(shù)據(jù)庫(kù)
????????????????MyClass.con_close();
????????????????textName.Text?=?““;
????????????????textPass.Text?=?““;

????????????}
????????????catch
????????????{
????????????????MessageBox.Show(“數(shù)據(jù)庫(kù)連接失敗。“?“提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????????Application.Exit();
????????????}
????????}

????????private?void?textName_KeyPress(object?sender?KeyPressEventArgs?e)
????????{
????????????if?(e.KeyChar?==?‘\r‘)
????????????????textPass.Focus();
????????}

????????private?void?textPass_KeyPress(object?sender?KeyPressEventArgs?e)
????????{
????????????if?(e.KeyChar?==?‘\r‘)
????????????????butLogin.Focus();               
????????}

????????private?void?F_Login_Activated(object?sender?EventArgs?e)
????????{
????????????textName.Focus();
????????}

????}
}

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

????..A..H.?????74240??2019-01-24?17:11??28\PWMS\.vs\PWMS\v15\.suo

?????文件??????????0??2019-01-24?15:13??28\PWMS\.vs\PWMS\v15\Server\sqlite3\db.lock

?????文件???????4096??2019-01-24?15:13??28\PWMS\.vs\PWMS\v15\Server\sqlite3\storage.ide

?????文件??????32768??2019-01-24?16:54??28\PWMS\.vs\PWMS\v15\Server\sqlite3\storage.ide-shm

?????文件????1800472??2019-01-24?17:10??28\PWMS\.vs\PWMS\v15\Server\sqlite3\storage.ide-wal

?????文件?????409600??2012-04-20?13:53??28\PWMS\PWMS\bin\Debug\Interop.Microsoft.Office.Core.dll

?????文件?????145408??2019-01-24?16:54??28\PWMS\PWMS\bin\Debug\Interop.Office.dll

?????文件??????44544??2019-01-24?15:13??28\PWMS\PWMS\bin\Debug\Interop.VBIDE.dll

?????文件?????495104??2019-01-24?16:54??28\PWMS\PWMS\bin\Debug\Interop.Word.dll

?????文件????1080832??2019-01-24?17:10??28\PWMS\PWMS\bin\Debug\PWMS.exe

?????文件?????226816??2019-01-24?17:10??28\PWMS\PWMS\bin\Debug\PWMS.pdb

?????文件??????11608??2018-10-25?08:11??28\PWMS\PWMS\bin\Debug\PWMS.vshost.exe

?????文件????????490??2018-04-12?07:35??28\PWMS\PWMS\bin\Debug\PWMS.vshost.exe.manifest

?????文件?????275968??2010-01-31?00:34??28\PWMS\PWMS\bin\Debug\readme.doc

?????文件????3145728??2012-04-20?14:30??28\PWMS\PWMS\Database\db_PWMS.mdf

?????文件????2359296??2012-04-20?14:30??28\PWMS\PWMS\Database\db_PWMS_log.ldf

?????文件???????4472??2019-01-24?17:03??28\PWMS\PWMS\DataClass\MyMeans.cs

?????文件???????3016??2008-03-21?11:00??28\PWMS\PWMS\F_Login.cs

?????文件???????6856??2008-03-11?19:09??28\PWMS\PWMS\F_Login.designer.cs

?????文件?????341697??2008-03-11?19:09??28\PWMS\PWMS\F_Login.resx

?????文件???????7226??2008-03-21?18:43??28\PWMS\PWMS\F_Main.cs

?????文件??????38268??2008-03-21?14:36??28\PWMS\PWMS\F_Main.designer.cs

?????文件????1001373??2008-03-21?14:36??28\PWMS\PWMS\F_Main.resx

?????文件???????2909??2008-02-25?16:06??28\PWMS\PWMS\Image\01.png

?????文件???????3077??2008-02-25?16:06??28\PWMS\PWMS\Image\02.PNG

?????文件???????3241??2008-02-25?16:05??28\PWMS\PWMS\Image\03.PNG

?????文件???????2897??2008-02-25?16:05??28\PWMS\PWMS\Image\04.PNG

?????文件???????3092??2008-02-25?16:05??28\PWMS\PWMS\Image\05.PNG

?????文件???????3525??2008-02-25?16:05??28\PWMS\PWMS\Image\06.PNG

?????文件???????2933??2008-02-25?16:04??28\PWMS\PWMS\Image\07.PNG

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

評(píng)論

共有 條評(píng)論

相關(guān)資源