From d512cdcebcd5996043b5a224651cc9ab14b3ed1c Mon Sep 17 00:00:00 2001 From: futiu Date: Tue, 1 Oct 2019 13:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=AC=A1=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DaoLayer/DaoLayer.csproj | 64 +++ .../DaoLayer/Properties/AssemblyInfo.cs | 36 ++ .../WinformControlUse/DaoLayer/StudentDAO.cs | 26 ++ .../DataBase/DataBase.csproj | 60 +++ .../DataBase/Properties/AssemblyInfo.cs | 36 ++ .../DataBase/StudentDataset.cs | 236 ++++++++++ .../WinformControlUse/Entity/Entity.csproj | 54 +++ .../Entity/Properties/AssemblyInfo.cs | 36 ++ .../WinformControlUse/Entity/Student.cs | 36 ++ .../WindowsFormsApp1/App.config | 6 + .../WindowsFormsApp1/Form1.Designer.cs | 119 +++++ .../WindowsFormsApp1/Form1.cs | 47 ++ .../WindowsFormsApp1/Form1.resx | 120 +++++ .../WindowsFormsApp1/Program.cs | 22 + .../Properties/AssemblyInfo.cs | 36 ++ .../Properties/Resources.Designer.cs | 71 +++ .../Properties/Resources.resx | 117 +++++ .../Properties/Settings.Designer.cs | 30 ++ .../Properties/Settings.settings | 7 + .../WindowsFormsApp1/WindowsFormsApp1.csproj | 83 ++++ .../WinformControlUse/WinformControlUse.sln | 71 +++ .../WinformControlUse/.Designer.cs | 70 +++ .../WinformControlUse/FrmLgin.cs | 40 ++ .../WinformControlUse/FrmLgin.resx | 434 ++++++++++++++++++ .../WinformControlUse/FrmLgon.Designer.cs | 129 ++++++ .../WinformControlUse/FrmLgon.cs | 41 ++ .../WinformControlUse/FrmLgon.resx | 120 +++++ .../WinformControlUse/FrmStudent.Designer.cs | 249 ++++++++++ .../WinformControlUse/FrmStudent.cs | 102 ++++ .../WinformControlUse/FrmStudent.resx | 135 ++++++ .../WinformControlUse/Program.cs | 21 + .../Properties/AssemblyInfo.cs | 36 ++ .../Properties/Resources.Designer.cs | 71 +++ .../Properties/Resources.resx | 117 +++++ .../Properties/Settings.Designer.cs | 30 ++ .../Properties/Settings.settings | 7 + .../WinformControlUse.csproj | 120 +++++ 37 files changed, 3035 insertions(+) create mode 100644 201731024220/WinformControlUse/DaoLayer/DaoLayer.csproj create mode 100644 201731024220/WinformControlUse/DaoLayer/Properties/AssemblyInfo.cs create mode 100644 201731024220/WinformControlUse/DaoLayer/StudentDAO.cs create mode 100644 201731024220/WinformControlUse/DataBase/DataBase.csproj create mode 100644 201731024220/WinformControlUse/DataBase/Properties/AssemblyInfo.cs create mode 100644 201731024220/WinformControlUse/DataBase/StudentDataset.cs create mode 100644 201731024220/WinformControlUse/Entity/Entity.csproj create mode 100644 201731024220/WinformControlUse/Entity/Properties/AssemblyInfo.cs create mode 100644 201731024220/WinformControlUse/Entity/Student.cs create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/App.config create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Form1.Designer.cs create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Form1.cs create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Form1.resx create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Program.cs create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Properties/AssemblyInfo.cs create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.Designer.cs create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.resx create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.Designer.cs create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.settings create mode 100644 201731024220/WinformControlUse/WindowsFormsApp1/WindowsFormsApp1.csproj create mode 100644 201731024220/WinformControlUse/WinformControlUse.sln create mode 100644 201731024220/WinformControlUse/WinformControlUse/.Designer.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmLgin.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmLgin.resx create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmLgon.Designer.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmLgon.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmLgon.resx create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmStudent.Designer.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmStudent.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/FrmStudent.resx create mode 100644 201731024220/WinformControlUse/WinformControlUse/Program.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/Properties/AssemblyInfo.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/Properties/Resources.Designer.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/Properties/Resources.resx create mode 100644 201731024220/WinformControlUse/WinformControlUse/Properties/Settings.Designer.cs create mode 100644 201731024220/WinformControlUse/WinformControlUse/Properties/Settings.settings create mode 100644 201731024220/WinformControlUse/WinformControlUse/WinformControlUse.csproj diff --git a/201731024220/WinformControlUse/DaoLayer/DaoLayer.csproj b/201731024220/WinformControlUse/DaoLayer/DaoLayer.csproj new file mode 100644 index 0000000..a937684 --- /dev/null +++ b/201731024220/WinformControlUse/DaoLayer/DaoLayer.csproj @@ -0,0 +1,64 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {1D140515-0ED0-4999-851F-FC291A6F3EB2} + Library + Properties + DaoLayer + DaoLayer + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + {0E823200-986C-403E-B45B-EAF7A73F1FBC} + DataBase + + + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC} + Entity + + + + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/DaoLayer/Properties/AssemblyInfo.cs b/201731024220/WinformControlUse/DaoLayer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..3540fa3 --- /dev/null +++ b/201731024220/WinformControlUse/DaoLayer/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("DaoLayer")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("DaoLayer")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("c6917861-9e67-497d-be51-ce47915de44a")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 内部版本号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/201731024220/WinformControlUse/DaoLayer/StudentDAO.cs b/201731024220/WinformControlUse/DaoLayer/StudentDAO.cs new file mode 100644 index 0000000..b1a47bd --- /dev/null +++ b/201731024220/WinformControlUse/DaoLayer/StudentDAO.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +using DataBase; +using Entity; + +namespace DaoLayer +{ + public class StudentDAO + { + public int getStudentRecordsNums() + { + List studengList=StudentDataset.getAll(); + return studengList.Count; + } + + public List getAllStudents() + { + List studengList = StudentDataset.getAll(); + return studengList; + } + + } +} diff --git a/201731024220/WinformControlUse/DataBase/DataBase.csproj b/201731024220/WinformControlUse/DataBase/DataBase.csproj new file mode 100644 index 0000000..d5600db --- /dev/null +++ b/201731024220/WinformControlUse/DataBase/DataBase.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {0E823200-986C-403E-B45B-EAF7A73F1FBC} + Library + Properties + DataBase + DataBase + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC} + Entity + + + + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/DataBase/Properties/AssemblyInfo.cs b/201731024220/WinformControlUse/DataBase/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..af1d0e7 --- /dev/null +++ b/201731024220/WinformControlUse/DataBase/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("DataBase")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("DataBase")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("0e1c468f-9c15-4d2b-84b0-cbd53a46096a")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 内部版本号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/201731024220/WinformControlUse/DataBase/StudentDataset.cs b/201731024220/WinformControlUse/DataBase/StudentDataset.cs new file mode 100644 index 0000000..49330bc --- /dev/null +++ b/201731024220/WinformControlUse/DataBase/StudentDataset.cs @@ -0,0 +1,236 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Collections.ObjectModel; +using System.Collections; +using Entity; + +namespace DataBase +{ + public class StudentDataset + { + //模拟数据库中的学生集合 + + private static List studengList; + + + public static List getAll() + { + studengList=new List(); + + Student stu1 = new Student("201731024001", "王川"); + studengList.Add(stu1); + Student stu2 = new Student("201731024002", "于丁"); + studengList.Add(stu2); + + Student stu3 = new Student("201731024003", "张莹"); + studengList.Add(stu3); + Student stu4 = new Student("201731024004", "李楠"); + studengList.Add(stu4); + + Student stu5 = new Student("201731024005", "陈欣"); + studengList.Add(stu5); + Student stu6 = new Student("201731024006", "马芸慧"); + studengList.Add(stu6); + + Student stu7 = new Student("201731024007", "汪小萍"); + studengList.Add(stu7); + Student stu8 = new Student("201731024008", "母丹"); + studengList.Add(stu8); + + + Student stu9 = new Student("201731024001", "许博"); + studengList.Add(stu9); + Student stu10 = new Student("201731024002", "芦文钰"); + studengList.Add(stu10); + + Student stu11 = new Student("201731024011", "马昊妍"); + studengList.Add(stu11); + Student stu12 = new Student("201731024012", "李宣晓"); + studengList.Add(stu12); + + Student stu13 = new Student("201731024013", "李清兰"); + studengList.Add(stu13); + Student stu14 = new Student("201731024014", "成湘"); + studengList.Add(stu14); + + Student stu15 = new Student("201731024015", "罗涵"); + studengList.Add(stu15); + Student stu16 = new Student("201731024016", "肖逸菲"); + studengList.Add(stu16); + + Student stu17 = new Student("201731024017", "冯士坤"); + studengList.Add(stu17); + Student stu18 = new Student("201731024018", "杨汶桐"); + studengList.Add(stu18); + + Student stu19 = new Student("201731024019", "张焱菁"); + studengList.Add(stu19); + Student stu20 = new Student("201731024020", "雷槟源"); + studengList.Add(stu20); + + Student stu21 = new Student("201731024021", "李志"); + studengList.Add(stu21); + Student stu22 = new Student("201731024022", "黄涛"); + studengList.Add(stu22); + + Student stu23 = new Student("201731024023", "宋杰"); + studengList.Add(stu23); + Student stu24 = new Student("201731024024", "赵俊安"); + studengList.Add(stu24); + + + Student stu25 = new Student("201731024025", "张新明"); + studengList.Add(stu25); + Student stu26 = new Student("201731024026", "张旭"); + studengList.Add(stu26); + + Student stu27 = new Student("201731024027", "王旭"); + studengList.Add(stu27); + Student stu28 = new Student("201731024028", "李朋珂"); + studengList.Add(stu28); + + Student stu29 = new Student("201731024029", "张微玖"); + studengList.Add(stu29); + Student stu30 = new Student("201731024030", "何明钦"); + studengList.Add(stu30); + + Student stu31 = new Student("201731024031", "姜玖林"); + studengList.Add(stu31); + Student stu32 = new Student("201731024032", "涂才森"); + studengList.Add(stu32); + + + + Student stu33 = new Student("201731024027", "陈林"); + studengList.Add(stu33); + Student stu34 = new Student("201731024028", "曾正男"); + studengList.Add(stu34); + + Student stu35 = new Student("201731024029", "江天宇"); + studengList.Add(stu35); + Student stu36 = new Student("201731024036", "魏恩博"); + studengList.Add(stu36); + + Student stu37 = new Student("201731024031", "邹扬锋"); + studengList.Add(stu37); + Student stu38 = new Student("201731024032", "曾琅"); + studengList.Add(stu38); + + Student stu39 = new Student("201731024032", "周成杰"); + studengList.Add(stu39); + + Student stu40 = new Student("201731024032", "马驰"); + studengList.Add(stu40); + + Student stu41 = new Student("201731024032", "宋树钱"); + studengList.Add(stu41); + Student stu42 = new Student("201731024032", "马驰"); + studengList.Add(stu42); + Student stu43 = new Student("201731024032", "任星辰"); + studengList.Add(stu43); + + Student stu44 = new Student("201731024032", "严一笑"); + studengList.Add(stu44); + Student stu45 = new Student("201731024032", "孙颖"); + studengList.Add(stu45); + Student stu46 = new Student("201731024032", "吴明益"); + studengList.Add(stu46); + Student stu47 = new Student("201731024032", "黄耀萱"); + studengList.Add(stu47); + Student stu48 = new Student("201731024032", "王静宜"); + studengList.Add(stu48); + Student stu49 = new Student("201731024032", "蔡玉蓝"); + studengList.Add(stu49); + + Student stu50 = new Student("201731024032", "姜仪"); + studengList.Add(stu50); + + Student stu51 = new Student("201731024032", "郑雪"); + studengList.Add(stu51); + Student stu52 = new Student("201731024032", "刘俊"); + studengList.Add(stu52); + Student stu53 = new Student("201731024032", "何玉姣"); + studengList.Add(stu53); + Student stu54 = new Student("201731024032", "匡小娟"); + studengList.Add(stu54); + Student stu55 = new Student("201731024032", "王春兰"); + studengList.Add(stu55); + Student stu56 = new Student("201731024032", "顾毓"); + studengList.Add(stu56); + Student stu57 = new Student("201731024032", "师志杰"); + studengList.Add(stu57); + Student stu58 = new Student("201731024032", "许佳文"); + studengList.Add(stu58); + Student stu59 = new Student("201731024032", "雷安勇"); + studengList.Add(stu59); + + Student stu60 = new Student("201731024032", "张伟"); + studengList.Add(stu60); + + + Student stu61 = new Student("201731024032", "袁志杰"); + studengList.Add(stu61); + Student stu62 = new Student("201731024032", "何全江"); + studengList.Add(stu62); + Student stu63 = new Student("201731024032", "舒鹏飞"); + studengList.Add(stu63); + Student stu64 = new Student("201731024032", "何辉"); + studengList.Add(stu64); + Student stu65 = new Student("201731024032", "李全喜"); + studengList.Add(stu65); + Student stu66 = new Student("201731024032", "谢凯宇"); + studengList.Add(stu66); + Student stu67 = new Student("201731024032", "黄本巍"); + studengList.Add(stu67); + Student stu68 = new Student("201731024032", "罗俊杰"); + studengList.Add(stu68); + Student stu69 = new Student("201731024032", "何宸锐"); + studengList.Add(stu69); + Student stu70 = new Student("201731024032", "付昶宇"); + studengList.Add(stu70); + Student stu71 = new Student("201731024032", "傅伟鑫"); + studengList.Add(stu71); + + Student stu72 = new Student("201731024032", "王云飞"); + studengList.Add(stu72); + + Student stu73 = new Student("201731024032", "李元港"); + studengList.Add(stu73); + + Student stu74 = new Student("201731024032", "赵荣泽"); + studengList.Add(stu74); + + Student stu75 = new Student("201731024032", "吴郑浩"); + studengList.Add(stu75); + + Student stu76 = new Student("201731024032", "何继武"); + studengList.Add(stu76); + + Student stu77 = new Student("201731024032", "郑博"); + studengList.Add(stu77); + + Student stu78 = new Student("201731024032", "王万成"); + studengList.Add(stu78); + + Student stu79 = new Student("201731024032", "陈杰"); + studengList.Add(stu79); + + Student stu80 = new Student("201731024032", "胡志伟"); + studengList.Add(stu80); + + Student stu81 = new Student("201731024032", "涂林"); + studengList.Add(stu81); + Student stu82 = new Student("201731024032", "孟诚成"); + studengList.Add(stu82); + Student stu83 = new Student("201731024032", "廖志丹"); + studengList.Add(stu83); + Student stu84 = new Student("201731024032", "杨也"); + studengList.Add(stu84); + + + return studengList; + } + } +} diff --git a/201731024220/WinformControlUse/Entity/Entity.csproj b/201731024220/WinformControlUse/Entity/Entity.csproj new file mode 100644 index 0000000..c0b8b04 --- /dev/null +++ b/201731024220/WinformControlUse/Entity/Entity.csproj @@ -0,0 +1,54 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC} + Library + Properties + Entity + Entity + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/Entity/Properties/AssemblyInfo.cs b/201731024220/WinformControlUse/Entity/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..32c9048 --- /dev/null +++ b/201731024220/WinformControlUse/Entity/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("Entity")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Entity")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("c1f5c4df-6643-48c7-b885-9f797121de7d")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 内部版本号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/201731024220/WinformControlUse/Entity/Student.cs b/201731024220/WinformControlUse/Entity/Student.cs new file mode 100644 index 0000000..7dc351c --- /dev/null +++ b/201731024220/WinformControlUse/Entity/Student.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Entity +{ + public class Student + { + private String id; + + public String Id + { + get { return id; } + set { id = value; } + } + + private String name; + + public String Name + { + get { return name; } + set { name = value; } + } + + public Student() + { + + } + public Student(String id, String name) + { + this.id = id; + this.name = name; + } + } +} diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/App.config b/201731024220/WinformControlUse/WindowsFormsApp1/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Form1.Designer.cs b/201731024220/WinformControlUse/WindowsFormsApp1/Form1.Designer.cs new file mode 100644 index 0000000..c1756ab --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Form1.Designer.cs @@ -0,0 +1,119 @@ +namespace WindowsFormsApp1 +{ + partial class Form1 + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要修改 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(147, 172); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 0; + this.button1.Text = "登录"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.Button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(287, 172); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(75, 23); + this.button2.TabIndex = 1; + this.button2.Text = "取消"; + this.button2.UseVisualStyleBackColor = true; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(229, 56); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(100, 21); + this.textBox1.TabIndex = 2; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(229, 105); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(100, 21); + this.textBox2.TabIndex = 3; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(114, 56); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(29, 12); + this.label1.TabIndex = 4; + this.label1.Text = "账号"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(114, 114); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(29, 12); + this.label2.TabIndex = 5; + this.label2.Text = "密码"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(483, 258); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Name = "Form1"; + this.Text = "学生点名系统"; + this.Load += new System.EventHandler(this.Form1_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + } +} + diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Form1.cs b/201731024220/WinformControlUse/WindowsFormsApp1/Form1.cs new file mode 100644 index 0000000..df59fd8 --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Form1.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace WindowsFormsApp1 +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + + } + + private void button1_Click(object sender, EventArgs e) + { + string id, pwd; + id = textBox1.Text; + pwd = textBox1.Text; + if (id == "123") + { + FrmStudent f = new FrmStudent(); + f.Show(); + + } + else + { + MessageBox.Show("账号或密码错误"); + } + } + + private void Label1_Click(object sender, EventArgs e) + { + + } + } +} diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Form1.resx b/201731024220/WinformControlUse/WindowsFormsApp1/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Program.cs b/201731024220/WinformControlUse/WindowsFormsApp1/Program.cs new file mode 100644 index 0000000..4ef037c --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace WindowsFormsApp1 +{ + static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Properties/AssemblyInfo.cs b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b686408 --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("WindowsFormsApp1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WindowsFormsApp1")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("655baef9-788b-4652-955a-329bb5cd92f2")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 +//通过使用 "*",如下所示: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.Designer.cs b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.Designer.cs new file mode 100644 index 0000000..fda36f7 --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本: 4.0.30319.42000 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace WindowsFormsApp1.Properties +{ + + + /// + /// 强类型资源类,用于查找本地化字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// 返回此类使用的缓存 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 覆盖当前线程的 CurrentUICulture 属性 + /// 使用此强类型的资源类的资源查找。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.resx b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.Designer.cs b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.Designer.cs new file mode 100644 index 0000000..438df21 --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WindowsFormsApp1.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.settings b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/201731024220/WinformControlUse/WindowsFormsApp1/WindowsFormsApp1.csproj b/201731024220/WinformControlUse/WindowsFormsApp1/WindowsFormsApp1.csproj new file mode 100644 index 0000000..744e37e --- /dev/null +++ b/201731024220/WinformControlUse/WindowsFormsApp1/WindowsFormsApp1.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {655BAEF9-788B-4652-955A-329BB5CD92F2} + WinExe + WindowsFormsApp1 + WindowsFormsApp1 + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse.sln b/201731024220/WinformControlUse/WinformControlUse.sln new file mode 100644 index 0000000..d97e1db --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse.sln @@ -0,0 +1,71 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29306.81 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinformControlUse", "WinformControlUse\WinformControlUse.csproj", "{ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DaoLayer", "DaoLayer\DaoLayer.csproj", "{1D140515-0ED0-4999-851F-FC291A6F3EB2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataBase", "DataBase\DataBase.csproj", "{0E823200-986C-403E-B45B-EAF7A73F1FBC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Entity", "Entity\Entity.csproj", "{FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|Mixed Platforms = Debug|Mixed Platforms + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|Mixed Platforms = Release|Mixed Platforms + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Debug|Any CPU.ActiveCfg = Debug|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Debug|Mixed Platforms.Build.0 = Debug|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Debug|x86.ActiveCfg = Debug|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Debug|x86.Build.0 = Debug|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Release|Any CPU.ActiveCfg = Release|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Release|Mixed Platforms.ActiveCfg = Release|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Release|Mixed Platforms.Build.0 = Release|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Release|x86.ActiveCfg = Release|x86 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8}.Release|x86.Build.0 = Release|x86 + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Debug|x86.ActiveCfg = Debug|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Release|Any CPU.Build.0 = Release|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {1D140515-0ED0-4999-851F-FC291A6F3EB2}.Release|x86.ActiveCfg = Release|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Debug|x86.ActiveCfg = Debug|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Release|Any CPU.Build.0 = Release|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {0E823200-986C-403E-B45B-EAF7A73F1FBC}.Release|x86.ActiveCfg = Release|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Debug|x86.ActiveCfg = Debug|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Release|Any CPU.Build.0 = Release|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC}.Release|x86.ActiveCfg = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2D9F0356-D88D-4E3F-844A-E415AD30B3E8} + EndGlobalSection +EndGlobal diff --git a/201731024220/WinformControlUse/WinformControlUse/.Designer.cs b/201731024220/WinformControlUse/WinformControlUse/.Designer.cs new file mode 100644 index 0000000..cdf70e1 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/.Designer.cs @@ -0,0 +1,70 @@ +namespace WinformControlUse +{ + partial class Formd + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Timer timer1; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Formd)); + this.progressBar2 = new System.Windows.Forms.ProgressBar(); + timer1 = new System.Windows.Forms.Timer(this.components); + this.SuspendLayout(); + // + // progressBar2 + // + this.progressBar2.Location = new System.Drawing.Point(1, 239); + this.progressBar2.Name = "progressBar2"; + this.progressBar2.Size = new System.Drawing.Size(286, 21); + this.progressBar2.TabIndex = 0; + this.progressBar2.Click += new System.EventHandler(this.progressBar2_Click_1); + // + // timer1 + // + timer1.Interval = 50; + timer1.Tick += new System.EventHandler(this.timer1_Tick_1); + // + // Formd + // + this.BackColor = System.Drawing.SystemColors.ActiveCaption; + this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); + this.ClientSize = new System.Drawing.Size(284, 261); + this.Controls.Add(this.progressBar2); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Name = "Formd"; + this.Text = "点名系统"; + this.Load += new System.EventHandler(this.FormLogin_Load); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ProgressBar progressBar1; + private System.Windows.Forms.ProgressBar progressBar2; + } +} \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmLgin.cs b/201731024220/WinformControlUse/WinformControlUse/FrmLgin.cs new file mode 100644 index 0000000..497fdd4 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmLgin.cs @@ -0,0 +1,40 @@ +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; + +namespace WinformControlUse +{ + public partial class Formd : Form + { + public Formd() + { + InitializeComponent(); + } + + private void progressBar2_Click_1(object sender, EventArgs e) + { + progressBar2.Maximum = 100; + progressBar2.Minimum = 0; + } + + private void timer1_Tick_1(object sender, EventArgs e) + { + if (this.Opacity < 1) + this.Opacity += 0.05; + else + this.Close(); + progressBar2.Value = (int)(Opacity * 100); + + } + + private void FormLogin_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmLgin.resx b/201731024220/WinformControlUse/WinformControlUse/FrmLgin.resx new file mode 100644 index 0000000..ba09031 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmLgin.resx @@ -0,0 +1,434 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + 17, 17 + + + + + /9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwg + JC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIy + MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/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WUcdT6CkxkZJJpR0pk3vsHJ9AKdSUtIpIKWkpaBhRRRQMKKKKACkpaSgQlJS0UEsSm06m0 + yGJRRRVIgKWkpaTGhw6UtJS0jSItFFFItBS0lLQAUlLSUAIaTdg8r+IpTRQS12AYPQ0uKYQCfekZ2UZB + z9adhcyW5JtFGBQpyM0E0i1YCARio/s8Xdf1qTNLRdoTUZboj8iIDhBTgiryBTqDRdsOSK2RXmaUrkDa + PTuaqlJW6K35VfZyPSkDMe9WpWOepRU3q2Z3kSf3TThbSH+E/lWgOepNFP2jMvqkO5RFq+Kd9nKjkk/S + rdNNHOw+rwWxTYOPuwSN9SBSB5x/y64+pzVymnrVc3kZui0/i/Irfa5lPMCj8DUovsj5kFPNNKg9RRo+ + g17SO0iOSZEPmNA2P78Z/wAKdHeow4cSr78MP8aVTsbK8H2qrqdtFHbrdRr5cp67eBVRUXozCrKpTi6k + Xotyy1tb3Lbk27u46H8qqvp5R9yMy/SqVvcSTJ8+MjkEVpaddzTu0UrbwOhI5qmpQV7mNKpRxElGUbN9 + USxbtuDnNTDeOetSMgHSmqeawvc9SMOXS56B8HpGbxTeIOB9iYkf8DSil+EX/I13f/Xi3/oaUV6WFinT + 1PjM8VsY/RH/2Q== + + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmLgon.Designer.cs b/201731024220/WinformControlUse/WinformControlUse/FrmLgon.Designer.cs new file mode 100644 index 0000000..d96479c --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmLgon.Designer.cs @@ -0,0 +1,129 @@ +using System; + +namespace WinformControlUse +{ + partial class Forml + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.SuspendLayout(); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(119, 196); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(51, 22); + this.button1.TabIndex = 0; + this.button1.Text = "登录"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(297, 196); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(49, 22); + this.button2.TabIndex = 1; + this.button2.Text = "取消"; + this.button2.UseVisualStyleBackColor = true; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(84, 80); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(44, 12); + this.label1.TabIndex = 2; + this.label1.Text = "账号:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(84, 122); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 12); + this.label2.TabIndex = 3; + this.label2.Text = "密码:"; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(148, 77); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(180, 21); + this.textBox1.TabIndex = 4; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(149, 113); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(179, 21); + this.textBox2.TabIndex = 5; + this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); + // + // Forml + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.SystemColors.Highlight; + this.ClientSize = new System.Drawing.Size(654, 308); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Name = "Forml"; + this.Text = "登录"; + this.Load += new System.EventHandler(this.Form3_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + private void textBox2_TextChanged(object sender, EventArgs e) + { + throw new NotImplementedException(); + } + + #endregion + + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + } +} \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmLgon.cs b/201731024220/WinformControlUse/WinformControlUse/FrmLgon.cs new file mode 100644 index 0000000..9e0813c --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmLgon.cs @@ -0,0 +1,41 @@ +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; + +namespace WinformControlUse +{ + public partial class Forml : Form + { + public Forml() + { + InitializeComponent(); + } + + + private void button1_Click(object sender, EventArgs e) + { + if (textBox1.Text == "陈杰" && textBox2.Text == "123"|| textBox1.Text == "何辉" && textBox2.Text == "456") + { + + FrmStudent f = new FrmStudent(); + f.Show(); + this.Hide(); + } + + else + { + MessageBox.Show("账号或密码错误"); + } + } + + private void Form3_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmLgon.resx b/201731024220/WinformControlUse/WinformControlUse/FrmLgon.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmLgon.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmStudent.Designer.cs b/201731024220/WinformControlUse/WinformControlUse/FrmStudent.Designer.cs new file mode 100644 index 0000000..cd52fd3 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmStudent.Designer.cs @@ -0,0 +1,249 @@ +namespace WinformControlUse +{ + partial class FrmStudent + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.label1 = new System.Windows.Forms.Label(); + this.dgvStuList = new System.Windows.Forms.DataGridView(); + this.stuID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.stuName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.pnlProgress = new System.Windows.Forms.Panel(); + this.progressName = new System.Windows.Forms.ProgressBar(); + this.btnLoadStu = new System.Windows.Forms.Button(); + this.btnStart = new System.Windows.Forms.Button(); + this.btnStop = new System.Windows.Forms.Button(); + this.timerCallName = new System.Windows.Forms.Timer(this.components); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.lblName = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dgvStuList)).BeginInit(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.pnlProgress.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel4.SuspendLayout(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(288, 8); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(53, 12); + this.label1.TabIndex = 0; + this.label1.Text = "学生信息"; + this.label1.Click += new System.EventHandler(this.Label1_Click); + // + // dgvStuList + // + this.dgvStuList.AllowUserToAddRows = false; + this.dgvStuList.AllowUserToDeleteRows = false; + this.dgvStuList.BackgroundColor = System.Drawing.SystemColors.ActiveCaption; + this.dgvStuList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvStuList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.stuID, + this.stuName}); + this.dgvStuList.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvStuList.Location = new System.Drawing.Point(0, 0); + this.dgvStuList.Name = "dgvStuList"; + this.dgvStuList.ReadOnly = true; + this.dgvStuList.RowTemplate.Height = 23; + this.dgvStuList.Size = new System.Drawing.Size(643, 227); + this.dgvStuList.TabIndex = 1; + this.dgvStuList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DgvStuList_CellContentClick); + // + // stuID + // + this.stuID.DataPropertyName = "stuID"; + this.stuID.HeaderText = "学号"; + this.stuID.Name = "stuID"; + this.stuID.ReadOnly = true; + // + // stuName + // + this.stuName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.stuName.DataPropertyName = "stuName"; + this.stuName.HeaderText = "姓名"; + this.stuName.Name = "stuName"; + this.stuName.ReadOnly = true; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.SystemColors.Highlight; + this.panel1.Controls.Add(this.btnLoadStu); + this.panel1.Controls.Add(this.label1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(643, 28); + this.panel1.TabIndex = 2; + // + // panel2 + // + this.panel2.Controls.Add(this.dgvStuList); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(0, 28); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(643, 227); + this.panel2.TabIndex = 3; + // + // pnlProgress + // + this.pnlProgress.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; + this.pnlProgress.Controls.Add(this.progressName); + this.pnlProgress.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlProgress.Location = new System.Drawing.Point(0, 255); + this.pnlProgress.Name = "pnlProgress"; + this.pnlProgress.Size = new System.Drawing.Size(643, 30); + this.pnlProgress.TabIndex = 4; + // + // progressName + // + this.progressName.Dock = System.Windows.Forms.DockStyle.Fill; + this.progressName.Location = new System.Drawing.Point(0, 0); + this.progressName.Name = "progressName"; + this.progressName.Size = new System.Drawing.Size(643, 30); + this.progressName.TabIndex = 1; + // + // btnLoadStu + // + this.btnLoadStu.Location = new System.Drawing.Point(533, 3); + this.btnLoadStu.Name = "btnLoadStu"; + this.btnLoadStu.Size = new System.Drawing.Size(75, 23); + this.btnLoadStu.TabIndex = 0; + this.btnLoadStu.Text = "载入"; + this.btnLoadStu.UseVisualStyleBackColor = true; + this.btnLoadStu.Click += new System.EventHandler(this.btnLoadStu_Click); + // + // btnStart + // + this.btnStart.Location = new System.Drawing.Point(12, 1); + this.btnStart.Name = "btnStart"; + this.btnStart.Size = new System.Drawing.Size(75, 23); + this.btnStart.TabIndex = 2; + this.btnStart.Text = "开始"; + this.btnStart.UseVisualStyleBackColor = true; + this.btnStart.Click += new System.EventHandler(this.btnStart_Click); + // + // btnStop + // + this.btnStop.Location = new System.Drawing.Point(556, 24); + this.btnStop.Name = "btnStop"; + this.btnStop.Size = new System.Drawing.Size(75, 105); + this.btnStop.TabIndex = 3; + this.btnStop.Text = "stop"; + this.btnStop.UseVisualStyleBackColor = true; + this.btnStop.Click += new System.EventHandler(this.btnStop_Click); + // + // timerCallName + // + this.timerCallName.Interval = 50; + this.timerCallName.Tick += new System.EventHandler(this.timerCallName_Tick); + // + // panel3 + // + this.panel3.BackColor = System.Drawing.SystemColors.Info; + this.panel3.Controls.Add(this.btnStart); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Location = new System.Drawing.Point(0, 285); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(643, 30); + this.panel3.TabIndex = 7; + // + // panel4 + // + this.panel4.BackColor = System.Drawing.SystemColors.HighlightText; + this.panel4.Controls.Add(this.btnStop); + this.panel4.Controls.Add(this.lblName); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(0, 315); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(643, 147); + this.panel4.TabIndex = 8; + // + // lblName + // + this.lblName.AutoSize = true; + this.lblName.Font = new System.Drawing.Font("微软雅黑", 45F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblName.ForeColor = System.Drawing.Color.OrangeRed; + this.lblName.Location = new System.Drawing.Point(277, 51); + this.lblName.Name = "lblName"; + this.lblName.Size = new System.Drawing.Size(0, 78); + this.lblName.TabIndex = 7; + // + // FrmStudent + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(643, 462); + this.Controls.Add(this.panel4); + this.Controls.Add(this.panel3); + this.Controls.Add(this.pnlProgress); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "FrmStudent"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "学生随机点名系统"; + this.Load += new System.EventHandler(this.FrmStudent_Load); + ((System.ComponentModel.ISupportInitialize)(this.dgvStuList)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel2.ResumeLayout(false); + this.pnlProgress.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.panel4.ResumeLayout(false); + this.panel4.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.DataGridView dgvStuList; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Panel pnlProgress; + private System.Windows.Forms.Button btnLoadStu; + private System.Windows.Forms.DataGridViewTextBoxColumn stuID; + private System.Windows.Forms.DataGridViewTextBoxColumn stuName; + private System.Windows.Forms.ProgressBar progressName; + private System.Windows.Forms.Button btnStop; + private System.Windows.Forms.Button btnStart; + private System.Windows.Forms.Timer timerCallName; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.Label lblName; + } +} \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmStudent.cs b/201731024220/WinformControlUse/WinformControlUse/FrmStudent.cs new file mode 100644 index 0000000..d9651d6 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmStudent.cs @@ -0,0 +1,102 @@ +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 DaoLayer; +using Entity; +using System.Threading; + +namespace WinformControlUse +{ + public partial class FrmStudent : Form + { + List stuList; + + public FrmStudent() + { + InitializeComponent(); + } + + void iniControl() + { + btnStart.Visible = false; + btnStop.Visible = false; + btnLoadStu.Enabled = true; + } + + void setControlVisible() + { + btnStart.Visible = true; + btnStop.Visible = true; + btnLoadStu.Visible = false; + } + + private void btnLoadStu_Click(object sender, EventArgs e) + { + + //获取学生数据源 + StudentDAO stuDao = new StudentDAO(); + stuList=stuDao.getAllStudents(); + + //进度条设置 + int stuCounts = stuList.Count;//及时学生人数 + progressName.Maximum = stuCounts; + + + //构造数据源 + DataTable dt = new DataTable(); + dt.Columns.Add("stuID", Type.GetType("System.String")); + dt.Columns.Add("stuName", Type.GetType("System.String")); + + //数据加载以进度条方式展现 + foreach (Student stu in stuList) + { + dt.Rows.Add(stu.Id,stu.Name); + progressName.Value += 1;//一个学生,进度条加1; + Thread.Sleep(500); + } + + dgvStuList.DataSource = dt; + + setControlVisible(); + + } + + private void FrmStudent_Load(object sender, EventArgs e) + { + iniControl(); + } + + private void timerCallName_Tick(object sender, EventArgs e) + { + Random ra = new Random(); + int i = ra.Next(stuList.Count); + lblName.Text = stuList[i].Name; + } + + private void btnStart_Click(object sender, EventArgs e) + { + timerCallName.Start(); + } + + private void btnStop_Click(object sender, EventArgs e) + { + timerCallName.Stop(); + } + + private void DgvStuList_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + + } + + private void Label1_Click(object sender, EventArgs e) + { + + } + } +} diff --git a/201731024220/WinformControlUse/WinformControlUse/FrmStudent.resx b/201731024220/WinformControlUse/WinformControlUse/FrmStudent.resx new file mode 100644 index 0000000..b0af0ac --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/FrmStudent.resx @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + True + + + True + + + True + + + 17, 17 + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse/Program.cs b/201731024220/WinformControlUse/WinformControlUse/Program.cs new file mode 100644 index 0000000..791a17d --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/Program.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; + +namespace WinformControlUse +{ + static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new FrmStudent()); + } + } +} diff --git a/201731024220/WinformControlUse/WinformControlUse/Properties/AssemblyInfo.cs b/201731024220/WinformControlUse/WinformControlUse/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7e60910 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("WinformControlUse")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("WinformControlUse")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("570c467a-10b6-4482-92ed-a6cf89279790")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 内部版本号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/201731024220/WinformControlUse/WinformControlUse/Properties/Resources.Designer.cs b/201731024220/WinformControlUse/WinformControlUse/Properties/Resources.Designer.cs new file mode 100644 index 0000000..11009a3 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本: 4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace WinformControlUse.Properties +{ + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// 返回此类使用的、缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WinformControlUse.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 为所有资源查找重写当前线程的 CurrentUICulture 属性, + /// 方法是使用此强类型资源类。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/201731024220/WinformControlUse/WinformControlUse/Properties/Resources.resx b/201731024220/WinformControlUse/WinformControlUse/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/201731024220/WinformControlUse/WinformControlUse/Properties/Settings.Designer.cs b/201731024220/WinformControlUse/WinformControlUse/Properties/Settings.Designer.cs new file mode 100644 index 0000000..1095cde --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WinformControlUse.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/201731024220/WinformControlUse/WinformControlUse/Properties/Settings.settings b/201731024220/WinformControlUse/WinformControlUse/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/201731024220/WinformControlUse/WinformControlUse/WinformControlUse.csproj b/201731024220/WinformControlUse/WinformControlUse/WinformControlUse.csproj new file mode 100644 index 0000000..1eaa254 --- /dev/null +++ b/201731024220/WinformControlUse/WinformControlUse/WinformControlUse.csproj @@ -0,0 +1,120 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {ABF032AD-A07D-4CD0-ACB0-61B5C7CF79A8} + WinExe + Properties + WinformControlUse + WinformControlUse + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + FrmLgin.cs + Form + + + Form + + + FrmLgon.cs + + + Form + + + FrmStudent.cs + + + + + FrmLgin.cs + + + FrmLgon.cs + + + FrmStudent.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + {1D140515-0ED0-4999-851F-FC291A6F3EB2} + DaoLayer + + + {0e823200-986c-403e-b45b-eaf7a73f1fbc} + DataBase + + + {FCAE6DCF-B578-4BF8-8502-E62A2C4487FC} + Entity + + + + + \ No newline at end of file