├── .gitattributes
├── .gitignore
├── 酒店管理系统.sln
└── 酒店管理系统
├── CSkin 4.0
├── CSkin.XML
└── CSkin.dll
├── FormLogin.Designer.cs
├── FormLogin.cs
├── FormLogin.resx
├── FormMain.Designer.cs
├── FormMain.cs
├── FormMain.resx
├── Formkehu.Designer.cs
├── Formkehu.cs
├── Formkehu.resx
├── Formyewu.Designer.cs
├── Formyewu.cs
├── Formyewu.resx
├── Formzouren.Designer.cs
├── Formzouren.cs
├── Formzouren.resx
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
└── Settings.settings
├── RoomWeihu.Designer.cs
├── RoomWeihu.cs
├── RoomWeihu.resx
├── SqlHelper.cs
├── bin
└── Debug
│ ├── CSkin.dll
│ ├── CSkin.xml
│ ├── 酒店管理系统.exe
│ ├── 酒店管理系统.pdb
│ ├── 酒店管理系统.vshost.exe
│ └── 酒店管理系统.vshost.exe.manifest
├── ico
├── bookmarks_list_add.ico
├── button_cancel.ico
├── editdelete.ico
├── exit.ico
├── filesave.ico
├── login.ico
├── network.ico
└── previous.ico
├── obj
└── Debug
│ ├── DesignTimeResolveAssemblyReferences.cache
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── TempPE
│ └── Properties.Resources.Designer.cs.dll
│ ├── 酒店管理系统.FormMain.resources
│ ├── 酒店管理系统.Formkaifang.resources
│ ├── 酒店管理系统.Formyewu.resources
│ ├── 酒店管理系统.Formzouren.resources
│ ├── 酒店管理系统.Login.resources
│ ├── 酒店管理系统.Properties.Resources.resources
│ ├── 酒店管理系统.RoomWeihu.resources
│ ├── 酒店管理系统.csproj.FileListAbsolute.txt
│ ├── 酒店管理系统.csproj.GenerateResource.Cache
│ ├── 酒店管理系统.csprojResolveAssemblyReference.cache
│ ├── 酒店管理系统.exe
│ └── 酒店管理系统.pdb
├── tuli
├── delete_group.ico
├── edit_group.ico
├── encrypted.ico
├── fileclose.ico
└── flag.ico
└── 酒店管理系统.csproj
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Windows image file caches
2 | Thumbs.db
3 | ehthumbs.db
4 |
5 | # Folder config file
6 | Desktop.ini
7 |
8 | # Recycle Bin used on file shares
9 | $RECYCLE.BIN/
10 |
11 | # Windows Installer files
12 | *.cab
13 | *.msi
14 | *.msm
15 | *.msp
16 |
17 | # Windows shortcuts
18 | *.lnk
19 |
20 | # =========================
21 | # Operating System Files
22 | # =========================
23 |
24 | # OSX
25 | # =========================
26 |
27 | .DS_Store
28 | .AppleDouble
29 | .LSOverride
30 |
31 | # Thumbnails
32 | ._*
33 |
34 | # Files that might appear in the root of a volume
35 | .DocumentRevisions-V100
36 | .fseventsd
37 | .Spotlight-V100
38 | .TemporaryItems
39 | .Trashes
40 | .VolumeIcon.icns
41 |
42 | # Directories potentially created on remote AFP share
43 | .AppleDB
44 | .AppleDesktop
45 | Network Trash Folder
46 | Temporary Items
47 | .apdisk
48 |
--------------------------------------------------------------------------------
/酒店管理系统.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2012
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "酒店管理系统", "酒店管理系统\酒店管理系统.csproj", "{9D8B43CC-91B2-4E1A-90B3-C2BDB37EF77A}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {9D8B43CC-91B2-4E1A-90B3-C2BDB37EF77A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {9D8B43CC-91B2-4E1A-90B3-C2BDB37EF77A}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {9D8B43CC-91B2-4E1A-90B3-C2BDB37EF77A}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {9D8B43CC-91B2-4E1A-90B3-C2BDB37EF77A}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/酒店管理系统/CSkin 4.0/CSkin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/CSkin 4.0/CSkin.dll
--------------------------------------------------------------------------------
/酒店管理系统/FormLogin.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace 酒店管理系统
2 | {
3 | partial class Login
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows 窗体设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Login));
33 | this.Login_lable1 = new CCWin.SkinControl.SkinLabel();
34 | this.Login_Label2 = new CCWin.SkinControl.SkinLabel();
35 | this.txUsername = new CCWin.SkinControl.SkinTextBox();
36 | this.txPassword = new CCWin.SkinControl.SkinTextBox();
37 | this.ENTER_login = new CCWin.SkinControl.SkinButton();
38 | this.SuspendLayout();
39 | //
40 | // Login_lable1
41 | //
42 | this.Login_lable1.AutoSize = true;
43 | this.Login_lable1.BackColor = System.Drawing.Color.Transparent;
44 | this.Login_lable1.BorderColor = System.Drawing.Color.White;
45 | this.Login_lable1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
46 | this.Login_lable1.Location = new System.Drawing.Point(45, 98);
47 | this.Login_lable1.Name = "Login_lable1";
48 | this.Login_lable1.Size = new System.Drawing.Size(56, 17);
49 | this.Login_lable1.TabIndex = 0;
50 | this.Login_lable1.Text = "用户名:";
51 | //
52 | // Login_Label2
53 | //
54 | this.Login_Label2.AutoSize = true;
55 | this.Login_Label2.BackColor = System.Drawing.Color.Transparent;
56 | this.Login_Label2.BorderColor = System.Drawing.Color.White;
57 | this.Login_Label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
58 | this.Login_Label2.Location = new System.Drawing.Point(45, 161);
59 | this.Login_Label2.Name = "Login_Label2";
60 | this.Login_Label2.Size = new System.Drawing.Size(48, 17);
61 | this.Login_Label2.TabIndex = 1;
62 | this.Login_Label2.Text = "密 码:";
63 | //
64 | // txUsername
65 | //
66 | this.txUsername.BackColor = System.Drawing.Color.Transparent;
67 | this.txUsername.DownBack = null;
68 | this.txUsername.Icon = null;
69 | this.txUsername.IconIsButton = false;
70 | this.txUsername.IconMouseState = CCWin.SkinClass.ControlState.Normal;
71 | this.txUsername.IsPasswordChat = '\0';
72 | this.txUsername.IsSystemPasswordChar = false;
73 | this.txUsername.Lines = new string[0];
74 | this.txUsername.Location = new System.Drawing.Point(93, 87);
75 | this.txUsername.Margin = new System.Windows.Forms.Padding(0);
76 | this.txUsername.MaxLength = 32767;
77 | this.txUsername.MinimumSize = new System.Drawing.Size(28, 28);
78 | this.txUsername.MouseBack = null;
79 | this.txUsername.MouseState = CCWin.SkinClass.ControlState.Normal;
80 | this.txUsername.Multiline = false;
81 | this.txUsername.Name = "txUsername";
82 | this.txUsername.NormlBack = null;
83 | this.txUsername.Padding = new System.Windows.Forms.Padding(5);
84 | this.txUsername.ReadOnly = false;
85 | this.txUsername.ScrollBars = System.Windows.Forms.ScrollBars.None;
86 | this.txUsername.Size = new System.Drawing.Size(151, 28);
87 | //
88 | //
89 | //
90 | this.txUsername.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
91 | this.txUsername.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
92 | this.txUsername.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
93 | this.txUsername.SkinTxt.Location = new System.Drawing.Point(5, 5);
94 | this.txUsername.SkinTxt.Name = "BaseText";
95 | this.txUsername.SkinTxt.Size = new System.Drawing.Size(141, 18);
96 | this.txUsername.SkinTxt.TabIndex = 0;
97 | this.txUsername.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
98 | this.txUsername.SkinTxt.WaterText = "";
99 | this.txUsername.TabIndex = 2;
100 | this.txUsername.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
101 | this.txUsername.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
102 | this.txUsername.WaterText = "";
103 | this.txUsername.WordWrap = true;
104 | //
105 | // txPassword
106 | //
107 | this.txPassword.BackColor = System.Drawing.Color.Transparent;
108 | this.txPassword.DownBack = null;
109 | this.txPassword.Icon = null;
110 | this.txPassword.IconIsButton = false;
111 | this.txPassword.IconMouseState = CCWin.SkinClass.ControlState.Normal;
112 | this.txPassword.IsPasswordChat = '\0';
113 | this.txPassword.IsSystemPasswordChar = false;
114 | this.txPassword.Lines = new string[0];
115 | this.txPassword.Location = new System.Drawing.Point(96, 150);
116 | this.txPassword.Margin = new System.Windows.Forms.Padding(0);
117 | this.txPassword.MaxLength = 32767;
118 | this.txPassword.MinimumSize = new System.Drawing.Size(28, 28);
119 | this.txPassword.MouseBack = null;
120 | this.txPassword.MouseState = CCWin.SkinClass.ControlState.Normal;
121 | this.txPassword.Multiline = false;
122 | this.txPassword.Name = "txPassword";
123 | this.txPassword.NormlBack = null;
124 | this.txPassword.Padding = new System.Windows.Forms.Padding(5);
125 | this.txPassword.ReadOnly = false;
126 | this.txPassword.ScrollBars = System.Windows.Forms.ScrollBars.None;
127 | this.txPassword.Size = new System.Drawing.Size(148, 28);
128 | //
129 | //
130 | //
131 | this.txPassword.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
132 | this.txPassword.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
133 | this.txPassword.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
134 | this.txPassword.SkinTxt.Location = new System.Drawing.Point(5, 5);
135 | this.txPassword.SkinTxt.Name = "BaseText";
136 | this.txPassword.SkinTxt.Size = new System.Drawing.Size(138, 18);
137 | this.txPassword.SkinTxt.TabIndex = 0;
138 | this.txPassword.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
139 | this.txPassword.SkinTxt.WaterText = "";
140 | this.txPassword.TabIndex = 3;
141 | this.txPassword.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
142 | this.txPassword.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
143 | this.txPassword.WaterText = "";
144 | this.txPassword.WordWrap = true;
145 | //
146 | // ENTER_login
147 | //
148 | this.ENTER_login.BackColor = System.Drawing.Color.Transparent;
149 | this.ENTER_login.BaseColor = System.Drawing.Color.Gray;
150 | this.ENTER_login.BorderColor = System.Drawing.Color.Silver;
151 | this.ENTER_login.ControlState = CCWin.SkinClass.ControlState.Normal;
152 | this.ENTER_login.DownBack = null;
153 | this.ENTER_login.DownBaseColor = System.Drawing.Color.Silver;
154 | this.ENTER_login.Location = new System.Drawing.Point(127, 211);
155 | this.ENTER_login.MouseBack = null;
156 | this.ENTER_login.MouseBaseColor = System.Drawing.Color.Silver;
157 | this.ENTER_login.Name = "ENTER_login";
158 | this.ENTER_login.NormlBack = null;
159 | this.ENTER_login.Size = new System.Drawing.Size(75, 31);
160 | this.ENTER_login.TabIndex = 4;
161 | this.ENTER_login.Text = "确定登录";
162 | this.ENTER_login.UseVisualStyleBackColor = false;
163 | this.ENTER_login.Click += new System.EventHandler(this.ENTER_login_Click);
164 | //
165 | // Login
166 | //
167 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
168 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
169 | this.BackColor = System.Drawing.Color.Silver;
170 | this.ClientSize = new System.Drawing.Size(322, 311);
171 | this.Controls.Add(this.ENTER_login);
172 | this.Controls.Add(this.txPassword);
173 | this.Controls.Add(this.txUsername);
174 | this.Controls.Add(this.Login_Label2);
175 | this.Controls.Add(this.Login_lable1);
176 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
177 | this.Name = "Login";
178 | this.Text = "登录";
179 | this.ResumeLayout(false);
180 | this.PerformLayout();
181 |
182 | }
183 |
184 | #endregion
185 |
186 | private CCWin.SkinControl.SkinLabel Login_lable1;
187 | private CCWin.SkinControl.SkinLabel Login_Label2;
188 | private CCWin.SkinControl.SkinTextBox txUsername;
189 | private CCWin.SkinControl.SkinTextBox txPassword;
190 | private CCWin.SkinControl.SkinButton ENTER_login;
191 |
192 | }
193 | }
194 |
195 |
--------------------------------------------------------------------------------
/酒店管理系统/FormLogin.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using CCWin;
10 | using System.Data.SqlClient;
11 |
12 | namespace 酒店管理系统
13 | {
14 | public partial class Login : Skin_Mac
15 | {
16 |
17 |
18 | public Login()
19 | {
20 | InitializeComponent();
21 | }
22 |
23 |
24 |
25 | private void ENTER_login_Click(object sender, EventArgs e)
26 | {
27 | if (txUsername.Text =="")
28 | {
29 | MessageBox.Show("请输入账号");
30 | }
31 | else
32 | {
33 | SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=Hotel;Integrated Security=True");
34 |
35 | try
36 | {
37 | string sql = "select * from Admin where Admin.Username=@username and Admin.Password=@pwd";
38 | SqlCommand cmd = new SqlCommand(sql, con);
39 | cmd.Parameters.AddWithValue("@username", txUsername.Text);
40 | cmd.Parameters.AddWithValue("@pwd", txPassword.Text);
41 |
42 | con.Open();
43 | //cmd.Connection = con;
44 |
45 | SqlDataAdapter da = new SqlDataAdapter(cmd);
46 | DataTable dt = new DataTable();
47 | da.Fill(dt);
48 |
49 | if (dt.Rows.Count > 0)
50 | {
51 | MessageBox.Show("成功!");
52 | this.Hide();
53 | FormMain f2 = new FormMain();
54 | f2.Show();
55 | }
56 | else
57 | {
58 | MessageBox.Show("失败!");
59 | }
60 | }
61 | catch (Exception ex)
62 | {
63 | MessageBox.Show(ex.Message);
64 | }
65 | finally
66 | {
67 | con.Close();
68 | }
69 | }
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/酒店管理系统/FormMain.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace 酒店管理系统
2 | {
3 | partial class FormMain
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
32 | this.skinMenuStrip = new CCWin.SkinControl.SkinMenuStrip();
33 | this.系统维护ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
34 | this.房间维护ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
35 | this.业务操作ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
36 | this.业务查询ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
37 | this.开房结账ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
38 | this.skinMenuStrip.SuspendLayout();
39 | this.SuspendLayout();
40 | //
41 | // skinMenuStrip
42 | //
43 | this.skinMenuStrip.Arrow = System.Drawing.Color.Black;
44 | this.skinMenuStrip.Back = System.Drawing.Color.White;
45 | this.skinMenuStrip.BackRadius = 4;
46 | this.skinMenuStrip.BackRectangle = new System.Drawing.Rectangle(10, 10, 10, 10);
47 | this.skinMenuStrip.Base = System.Drawing.Color.Silver;
48 | this.skinMenuStrip.BaseFore = System.Drawing.Color.Black;
49 | this.skinMenuStrip.BaseForeAnamorphosis = false;
50 | this.skinMenuStrip.BaseForeAnamorphosisBorder = 4;
51 | this.skinMenuStrip.BaseForeAnamorphosisColor = System.Drawing.Color.White;
52 | this.skinMenuStrip.BaseHoverFore = System.Drawing.Color.White;
53 | this.skinMenuStrip.BaseItemAnamorphosis = true;
54 | this.skinMenuStrip.BaseItemBorder = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
55 | this.skinMenuStrip.BaseItemBorderShow = true;
56 | this.skinMenuStrip.BaseItemDown = ((System.Drawing.Image)(resources.GetObject("skinMenuStrip.BaseItemDown")));
57 | this.skinMenuStrip.BaseItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
58 | this.skinMenuStrip.BaseItemMouse = ((System.Drawing.Image)(resources.GetObject("skinMenuStrip.BaseItemMouse")));
59 | this.skinMenuStrip.BaseItemPressed = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
60 | this.skinMenuStrip.BaseItemRadius = 4;
61 | this.skinMenuStrip.BaseItemRadiusStyle = CCWin.SkinClass.RoundStyle.All;
62 | this.skinMenuStrip.BaseItemSplitter = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
63 | this.skinMenuStrip.DropDownImageSeparator = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
64 | this.skinMenuStrip.Fore = System.Drawing.Color.Black;
65 | this.skinMenuStrip.HoverFore = System.Drawing.Color.White;
66 | this.skinMenuStrip.ItemAnamorphosis = true;
67 | this.skinMenuStrip.ItemBorder = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
68 | this.skinMenuStrip.ItemBorderShow = true;
69 | this.skinMenuStrip.ItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
70 | this.skinMenuStrip.ItemPressed = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
71 | this.skinMenuStrip.ItemRadius = 4;
72 | this.skinMenuStrip.ItemRadiusStyle = CCWin.SkinClass.RoundStyle.All;
73 | this.skinMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
74 | this.系统维护ToolStripMenuItem,
75 | this.业务操作ToolStripMenuItem,
76 | this.业务查询ToolStripMenuItem});
77 | this.skinMenuStrip.Location = new System.Drawing.Point(4, 32);
78 | this.skinMenuStrip.Name = "skinMenuStrip";
79 | this.skinMenuStrip.RadiusStyle = CCWin.SkinClass.RoundStyle.All;
80 | this.skinMenuStrip.Size = new System.Drawing.Size(747, 25);
81 | this.skinMenuStrip.SkinAllColor = true;
82 | this.skinMenuStrip.TabIndex = 0;
83 | this.skinMenuStrip.Text = "skinMenuStrip1";
84 | this.skinMenuStrip.TitleAnamorphosis = true;
85 | this.skinMenuStrip.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(228)))), ((int)(((byte)(236)))));
86 | this.skinMenuStrip.TitleRadius = 4;
87 | this.skinMenuStrip.TitleRadiusStyle = CCWin.SkinClass.RoundStyle.All;
88 | //
89 | // 系统维护ToolStripMenuItem
90 | //
91 | this.系统维护ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
92 | this.房间维护ToolStripMenuItem});
93 | this.系统维护ToolStripMenuItem.Name = "系统维护ToolStripMenuItem";
94 | this.系统维护ToolStripMenuItem.Size = new System.Drawing.Size(68, 21);
95 | this.系统维护ToolStripMenuItem.Text = "系统维护";
96 | //
97 | // 房间维护ToolStripMenuItem
98 | //
99 | this.房间维护ToolStripMenuItem.Name = "房间维护ToolStripMenuItem";
100 | this.房间维护ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
101 | this.房间维护ToolStripMenuItem.Text = "房间维护";
102 | this.房间维护ToolStripMenuItem.Click += new System.EventHandler(this.房间维护ToolStripMenuItem_Click);
103 | //
104 | // 业务操作ToolStripMenuItem
105 | //
106 | this.业务操作ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
107 | this.开房结账ToolStripMenuItem});
108 | this.业务操作ToolStripMenuItem.Name = "业务操作ToolStripMenuItem";
109 | this.业务操作ToolStripMenuItem.Size = new System.Drawing.Size(68, 21);
110 | this.业务操作ToolStripMenuItem.Text = "业务操作";
111 | //
112 | // 业务查询ToolStripMenuItem
113 | //
114 | this.业务查询ToolStripMenuItem.Name = "业务查询ToolStripMenuItem";
115 | this.业务查询ToolStripMenuItem.Size = new System.Drawing.Size(68, 21);
116 | this.业务查询ToolStripMenuItem.Text = "业务查询";
117 | //
118 | // 开房结账ToolStripMenuItem
119 | //
120 | this.开房结账ToolStripMenuItem.Name = "开房结账ToolStripMenuItem";
121 | this.开房结账ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
122 | this.开房结账ToolStripMenuItem.Text = "开房结账";
123 | this.开房结账ToolStripMenuItem.Click += new System.EventHandler(this.开房结账ToolStripMenuItem_Click);
124 | //
125 | // FormMain
126 | //
127 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
128 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
129 | this.ClientSize = new System.Drawing.Size(755, 451);
130 | this.Controls.Add(this.skinMenuStrip);
131 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
132 | this.IsMdiContainer = true;
133 | this.MainMenuStrip = this.skinMenuStrip;
134 | this.Name = "FormMain";
135 | this.Text = "宾馆管理系统-主界面";
136 | this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormMain_FormClosed);
137 | this.skinMenuStrip.ResumeLayout(false);
138 | this.skinMenuStrip.PerformLayout();
139 | this.ResumeLayout(false);
140 | this.PerformLayout();
141 |
142 | }
143 |
144 | #endregion
145 |
146 | private CCWin.SkinControl.SkinMenuStrip skinMenuStrip;
147 | private System.Windows.Forms.ToolStripMenuItem 系统维护ToolStripMenuItem;
148 | private System.Windows.Forms.ToolStripMenuItem 业务操作ToolStripMenuItem;
149 | private System.Windows.Forms.ToolStripMenuItem 业务查询ToolStripMenuItem;
150 | private System.Windows.Forms.ToolStripMenuItem 房间维护ToolStripMenuItem;
151 | private System.Windows.Forms.ToolStripMenuItem 开房结账ToolStripMenuItem;
152 | }
153 | }
--------------------------------------------------------------------------------
/酒店管理系统/FormMain.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using CCWin;
10 |
11 |
12 | namespace 酒店管理系统
13 | {
14 | public partial class FormMain : Skin_Mac
15 | {
16 | public FormMain()
17 | {
18 | InitializeComponent();
19 | }
20 |
21 | private void FormMain_FormClosed(object sender, FormClosedEventArgs e)
22 | {
23 | System.Environment.Exit(0);//强制关闭程序
24 | }
25 |
26 | private void 房间维护ToolStripMenuItem_Click(object sender, EventArgs e)
27 | {
28 | RoomWeihu frm1 = new RoomWeihu();
29 | frm1.MdiParent = this;
30 | frm1.Show();
31 | }
32 |
33 | private void 开房结账ToolStripMenuItem_Click(object sender, EventArgs e)
34 | {
35 |
36 | Formyewu frm1 = new Formyewu();
37 | frm1.MdiParent = this;
38 | frm1.Show();
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/酒店管理系统/Formkehu.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace 酒店管理系统
2 | {
3 | partial class Formkaifang
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.skinGroupBox1 = new CCWin.SkinControl.SkinGroupBox();
33 | this.skinComboBox1 = new CCWin.SkinControl.SkinComboBox();
34 | this.skinTextBox3 = new CCWin.SkinControl.SkinTextBox();
35 | this.skinTextBox2 = new CCWin.SkinControl.SkinTextBox();
36 | this.skinTextBox1 = new CCWin.SkinControl.SkinTextBox();
37 | this.skinLabel5 = new CCWin.SkinControl.SkinLabel();
38 | this.skinLabel4 = new CCWin.SkinControl.SkinLabel();
39 | this.skinLabel3 = new CCWin.SkinControl.SkinLabel();
40 | this.skinLabel2 = new CCWin.SkinControl.SkinLabel();
41 | this.skinLabel1 = new CCWin.SkinControl.SkinLabel();
42 | this.skinButton1 = new CCWin.SkinControl.SkinButton();
43 | this.skinButton2 = new CCWin.SkinControl.SkinButton();
44 | this.skinRadioButton1 = new CCWin.SkinControl.SkinRadioButton();
45 | this.skinRadioButton2 = new CCWin.SkinControl.SkinRadioButton();
46 | this.skinGroupBox1.SuspendLayout();
47 | this.SuspendLayout();
48 | //
49 | // skinGroupBox1
50 | //
51 | this.skinGroupBox1.BackColor = System.Drawing.Color.Transparent;
52 | this.skinGroupBox1.BorderColor = System.Drawing.Color.Black;
53 | this.skinGroupBox1.Controls.Add(this.skinRadioButton2);
54 | this.skinGroupBox1.Controls.Add(this.skinRadioButton1);
55 | this.skinGroupBox1.Controls.Add(this.skinComboBox1);
56 | this.skinGroupBox1.Controls.Add(this.skinTextBox3);
57 | this.skinGroupBox1.Controls.Add(this.skinTextBox2);
58 | this.skinGroupBox1.Controls.Add(this.skinTextBox1);
59 | this.skinGroupBox1.Controls.Add(this.skinLabel5);
60 | this.skinGroupBox1.Controls.Add(this.skinLabel4);
61 | this.skinGroupBox1.Controls.Add(this.skinLabel3);
62 | this.skinGroupBox1.Controls.Add(this.skinLabel2);
63 | this.skinGroupBox1.Controls.Add(this.skinLabel1);
64 | this.skinGroupBox1.ForeColor = System.Drawing.Color.Blue;
65 | this.skinGroupBox1.Location = new System.Drawing.Point(7, 61);
66 | this.skinGroupBox1.Name = "skinGroupBox1";
67 | this.skinGroupBox1.RectBackColor = System.Drawing.Color.Transparent;
68 | this.skinGroupBox1.RoundStyle = CCWin.SkinClass.RoundStyle.All;
69 | this.skinGroupBox1.Size = new System.Drawing.Size(656, 122);
70 | this.skinGroupBox1.TabIndex = 0;
71 | this.skinGroupBox1.TabStop = false;
72 | this.skinGroupBox1.Text = "客户信息填写";
73 | this.skinGroupBox1.TitleBorderColor = System.Drawing.Color.Black;
74 | this.skinGroupBox1.TitleRectBackColor = System.Drawing.Color.White;
75 | this.skinGroupBox1.TitleRoundStyle = CCWin.SkinClass.RoundStyle.All;
76 | //
77 | // skinComboBox1
78 | //
79 | this.skinComboBox1.AutoCompleteCustomSource.AddRange(new string[] {
80 | "普通会员",
81 | "黄金会员",
82 | "高级会员",
83 | "银牌会员",
84 | "铜牌会员",
85 | "王者会员",
86 | "顶级会员",
87 | "超级无敌会员"});
88 | this.skinComboBox1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
89 | this.skinComboBox1.FormattingEnabled = true;
90 | this.skinComboBox1.Items.AddRange(new object[] {
91 | "黄金会员",
92 | "普通会员",
93 | "超级会员",
94 | "搞基会员",
95 | "qq会员"});
96 | this.skinComboBox1.Location = new System.Drawing.Point(334, 75);
97 | this.skinComboBox1.Name = "skinComboBox1";
98 | this.skinComboBox1.Size = new System.Drawing.Size(121, 22);
99 | this.skinComboBox1.TabIndex = 10;
100 | this.skinComboBox1.Text = "普通会员";
101 | this.skinComboBox1.WaterText = "";
102 | //
103 | // skinTextBox3
104 | //
105 | this.skinTextBox3.BackColor = System.Drawing.Color.Transparent;
106 | this.skinTextBox3.DownBack = null;
107 | this.skinTextBox3.Icon = null;
108 | this.skinTextBox3.IconIsButton = false;
109 | this.skinTextBox3.IconMouseState = CCWin.SkinClass.ControlState.Normal;
110 | this.skinTextBox3.IsPasswordChat = '\0';
111 | this.skinTextBox3.IsSystemPasswordChar = false;
112 | this.skinTextBox3.Lines = new string[0];
113 | this.skinTextBox3.Location = new System.Drawing.Point(537, 40);
114 | this.skinTextBox3.Margin = new System.Windows.Forms.Padding(0);
115 | this.skinTextBox3.MaxLength = 32767;
116 | this.skinTextBox3.MinimumSize = new System.Drawing.Size(25, 25);
117 | this.skinTextBox3.MouseBack = null;
118 | this.skinTextBox3.MouseState = CCWin.SkinClass.ControlState.Normal;
119 | this.skinTextBox3.Multiline = false;
120 | this.skinTextBox3.Name = "skinTextBox3";
121 | this.skinTextBox3.NormlBack = null;
122 | this.skinTextBox3.Padding = new System.Windows.Forms.Padding(5);
123 | this.skinTextBox3.ReadOnly = false;
124 | this.skinTextBox3.ScrollBars = System.Windows.Forms.ScrollBars.None;
125 | this.skinTextBox3.Size = new System.Drawing.Size(105, 25);
126 | //
127 | //
128 | //
129 | this.skinTextBox3.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
130 | this.skinTextBox3.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
131 | this.skinTextBox3.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
132 | this.skinTextBox3.SkinTxt.Location = new System.Drawing.Point(5, 5);
133 | this.skinTextBox3.SkinTxt.Name = "BaseText";
134 | this.skinTextBox3.SkinTxt.Size = new System.Drawing.Size(95, 18);
135 | this.skinTextBox3.SkinTxt.TabIndex = 0;
136 | this.skinTextBox3.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
137 | this.skinTextBox3.SkinTxt.WaterText = "";
138 | this.skinTextBox3.TabIndex = 7;
139 | this.skinTextBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
140 | this.skinTextBox3.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
141 | this.skinTextBox3.WaterText = "";
142 | this.skinTextBox3.WordWrap = true;
143 | //
144 | // skinTextBox2
145 | //
146 | this.skinTextBox2.BackColor = System.Drawing.Color.Transparent;
147 | this.skinTextBox2.DownBack = null;
148 | this.skinTextBox2.Icon = null;
149 | this.skinTextBox2.IconIsButton = false;
150 | this.skinTextBox2.IconMouseState = CCWin.SkinClass.ControlState.Normal;
151 | this.skinTextBox2.IsPasswordChat = '\0';
152 | this.skinTextBox2.IsSystemPasswordChar = false;
153 | this.skinTextBox2.Lines = new string[0];
154 | this.skinTextBox2.Location = new System.Drawing.Point(313, 40);
155 | this.skinTextBox2.Margin = new System.Windows.Forms.Padding(0);
156 | this.skinTextBox2.MaxLength = 32767;
157 | this.skinTextBox2.MinimumSize = new System.Drawing.Size(25, 25);
158 | this.skinTextBox2.MouseBack = null;
159 | this.skinTextBox2.MouseState = CCWin.SkinClass.ControlState.Normal;
160 | this.skinTextBox2.Multiline = false;
161 | this.skinTextBox2.Name = "skinTextBox2";
162 | this.skinTextBox2.NormlBack = null;
163 | this.skinTextBox2.Padding = new System.Windows.Forms.Padding(5);
164 | this.skinTextBox2.ReadOnly = false;
165 | this.skinTextBox2.ScrollBars = System.Windows.Forms.ScrollBars.None;
166 | this.skinTextBox2.Size = new System.Drawing.Size(100, 25);
167 | //
168 | //
169 | //
170 | this.skinTextBox2.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
171 | this.skinTextBox2.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
172 | this.skinTextBox2.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
173 | this.skinTextBox2.SkinTxt.Location = new System.Drawing.Point(5, 5);
174 | this.skinTextBox2.SkinTxt.Name = "BaseText";
175 | this.skinTextBox2.SkinTxt.Size = new System.Drawing.Size(90, 18);
176 | this.skinTextBox2.SkinTxt.TabIndex = 0;
177 | this.skinTextBox2.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
178 | this.skinTextBox2.SkinTxt.WaterText = "";
179 | this.skinTextBox2.TabIndex = 6;
180 | this.skinTextBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
181 | this.skinTextBox2.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
182 | this.skinTextBox2.WaterText = "";
183 | this.skinTextBox2.WordWrap = true;
184 | //
185 | // skinTextBox1
186 | //
187 | this.skinTextBox1.BackColor = System.Drawing.Color.Transparent;
188 | this.skinTextBox1.DownBack = null;
189 | this.skinTextBox1.Icon = null;
190 | this.skinTextBox1.IconIsButton = false;
191 | this.skinTextBox1.IconMouseState = CCWin.SkinClass.ControlState.Normal;
192 | this.skinTextBox1.IsPasswordChat = '\0';
193 | this.skinTextBox1.IsSystemPasswordChar = false;
194 | this.skinTextBox1.Lines = new string[0];
195 | this.skinTextBox1.Location = new System.Drawing.Point(72, 40);
196 | this.skinTextBox1.Margin = new System.Windows.Forms.Padding(0);
197 | this.skinTextBox1.MaxLength = 32767;
198 | this.skinTextBox1.MinimumSize = new System.Drawing.Size(25, 25);
199 | this.skinTextBox1.MouseBack = null;
200 | this.skinTextBox1.MouseState = CCWin.SkinClass.ControlState.Normal;
201 | this.skinTextBox1.Multiline = false;
202 | this.skinTextBox1.Name = "skinTextBox1";
203 | this.skinTextBox1.NormlBack = null;
204 | this.skinTextBox1.Padding = new System.Windows.Forms.Padding(5);
205 | this.skinTextBox1.ReadOnly = false;
206 | this.skinTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.None;
207 | this.skinTextBox1.Size = new System.Drawing.Size(100, 25);
208 | //
209 | //
210 | //
211 | this.skinTextBox1.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
212 | this.skinTextBox1.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
213 | this.skinTextBox1.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
214 | this.skinTextBox1.SkinTxt.Location = new System.Drawing.Point(5, 5);
215 | this.skinTextBox1.SkinTxt.Name = "BaseText";
216 | this.skinTextBox1.SkinTxt.Size = new System.Drawing.Size(90, 18);
217 | this.skinTextBox1.SkinTxt.TabIndex = 0;
218 | this.skinTextBox1.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
219 | this.skinTextBox1.SkinTxt.WaterText = "";
220 | this.skinTextBox1.TabIndex = 5;
221 | this.skinTextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
222 | this.skinTextBox1.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
223 | this.skinTextBox1.WaterText = "";
224 | this.skinTextBox1.WordWrap = true;
225 | //
226 | // skinLabel5
227 | //
228 | this.skinLabel5.AutoSize = true;
229 | this.skinLabel5.BackColor = System.Drawing.Color.Transparent;
230 | this.skinLabel5.BorderColor = System.Drawing.Color.White;
231 | this.skinLabel5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
232 | this.skinLabel5.ForeColor = System.Drawing.Color.Black;
233 | this.skinLabel5.Location = new System.Drawing.Point(271, 75);
234 | this.skinLabel5.Name = "skinLabel5";
235 | this.skinLabel5.Size = new System.Drawing.Size(68, 17);
236 | this.skinLabel5.TabIndex = 4;
237 | this.skinLabel5.Text = "客户类别:";
238 | //
239 | // skinLabel4
240 | //
241 | this.skinLabel4.AutoSize = true;
242 | this.skinLabel4.BackColor = System.Drawing.Color.Transparent;
243 | this.skinLabel4.BorderColor = System.Drawing.Color.White;
244 | this.skinLabel4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
245 | this.skinLabel4.ForeColor = System.Drawing.Color.Black;
246 | this.skinLabel4.Location = new System.Drawing.Point(17, 75);
247 | this.skinLabel4.Name = "skinLabel4";
248 | this.skinLabel4.Size = new System.Drawing.Size(44, 17);
249 | this.skinLabel4.TabIndex = 3;
250 | this.skinLabel4.Text = "性别:";
251 | //
252 | // skinLabel3
253 | //
254 | this.skinLabel3.AutoSize = true;
255 | this.skinLabel3.BackColor = System.Drawing.Color.Transparent;
256 | this.skinLabel3.BorderColor = System.Drawing.Color.White;
257 | this.skinLabel3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
258 | this.skinLabel3.ForeColor = System.Drawing.Color.Black;
259 | this.skinLabel3.Location = new System.Drawing.Point(466, 44);
260 | this.skinLabel3.Name = "skinLabel3";
261 | this.skinLabel3.Size = new System.Drawing.Size(68, 17);
262 | this.skinLabel3.TabIndex = 2;
263 | this.skinLabel3.Text = "电话号码:";
264 | //
265 | // skinLabel2
266 | //
267 | this.skinLabel2.AutoSize = true;
268 | this.skinLabel2.BackColor = System.Drawing.Color.Transparent;
269 | this.skinLabel2.BorderColor = System.Drawing.Color.White;
270 | this.skinLabel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
271 | this.skinLabel2.ForeColor = System.Drawing.Color.Black;
272 | this.skinLabel2.Location = new System.Drawing.Point(242, 44);
273 | this.skinLabel2.Name = "skinLabel2";
274 | this.skinLabel2.Size = new System.Drawing.Size(68, 17);
275 | this.skinLabel2.TabIndex = 1;
276 | this.skinLabel2.Text = "证件号码:";
277 | //
278 | // skinLabel1
279 | //
280 | this.skinLabel1.AutoSize = true;
281 | this.skinLabel1.BackColor = System.Drawing.Color.Transparent;
282 | this.skinLabel1.BorderColor = System.Drawing.Color.White;
283 | this.skinLabel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
284 | this.skinLabel1.ForeColor = System.Drawing.Color.Black;
285 | this.skinLabel1.Location = new System.Drawing.Point(17, 44);
286 | this.skinLabel1.Name = "skinLabel1";
287 | this.skinLabel1.Size = new System.Drawing.Size(68, 17);
288 | this.skinLabel1.TabIndex = 0;
289 | this.skinLabel1.Text = "客户名称:";
290 | //
291 | // skinButton1
292 | //
293 | this.skinButton1.BackColor = System.Drawing.Color.Transparent;
294 | this.skinButton1.ControlState = CCWin.SkinClass.ControlState.Normal;
295 | this.skinButton1.DownBack = null;
296 | this.skinButton1.Location = new System.Drawing.Point(103, 209);
297 | this.skinButton1.MouseBack = null;
298 | this.skinButton1.Name = "skinButton1";
299 | this.skinButton1.NormlBack = null;
300 | this.skinButton1.Size = new System.Drawing.Size(75, 23);
301 | this.skinButton1.TabIndex = 1;
302 | this.skinButton1.Text = "确定开房";
303 | this.skinButton1.UseVisualStyleBackColor = false;
304 | this.skinButton1.Click += new System.EventHandler(this.skinButton1_Click);
305 | //
306 | // skinButton2
307 | //
308 | this.skinButton2.BackColor = System.Drawing.Color.Transparent;
309 | this.skinButton2.ControlState = CCWin.SkinClass.ControlState.Normal;
310 | this.skinButton2.DownBack = null;
311 | this.skinButton2.Location = new System.Drawing.Point(466, 209);
312 | this.skinButton2.MouseBack = null;
313 | this.skinButton2.Name = "skinButton2";
314 | this.skinButton2.NormlBack = null;
315 | this.skinButton2.Size = new System.Drawing.Size(75, 23);
316 | this.skinButton2.TabIndex = 2;
317 | this.skinButton2.Text = "取消";
318 | this.skinButton2.UseVisualStyleBackColor = false;
319 | this.skinButton2.Click += new System.EventHandler(this.skinButton2_Click);
320 | //
321 | // skinRadioButton1
322 | //
323 | this.skinRadioButton1.AutoSize = true;
324 | this.skinRadioButton1.BackColor = System.Drawing.Color.Transparent;
325 | this.skinRadioButton1.ControlState = CCWin.SkinClass.ControlState.Normal;
326 | this.skinRadioButton1.DownBack = null;
327 | this.skinRadioButton1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
328 | this.skinRadioButton1.Location = new System.Drawing.Point(67, 76);
329 | this.skinRadioButton1.MouseBack = null;
330 | this.skinRadioButton1.Name = "skinRadioButton1";
331 | this.skinRadioButton1.NormlBack = null;
332 | this.skinRadioButton1.SelectedDownBack = null;
333 | this.skinRadioButton1.SelectedMouseBack = null;
334 | this.skinRadioButton1.SelectedNormlBack = null;
335 | this.skinRadioButton1.Size = new System.Drawing.Size(38, 21);
336 | this.skinRadioButton1.TabIndex = 11;
337 | this.skinRadioButton1.TabStop = true;
338 | this.skinRadioButton1.Text = "男";
339 | this.skinRadioButton1.UseVisualStyleBackColor = false;
340 | //
341 | // skinRadioButton2
342 | //
343 | this.skinRadioButton2.AutoSize = true;
344 | this.skinRadioButton2.BackColor = System.Drawing.Color.Transparent;
345 | this.skinRadioButton2.ControlState = CCWin.SkinClass.ControlState.Normal;
346 | this.skinRadioButton2.DownBack = null;
347 | this.skinRadioButton2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
348 | this.skinRadioButton2.Location = new System.Drawing.Point(133, 76);
349 | this.skinRadioButton2.MouseBack = null;
350 | this.skinRadioButton2.Name = "skinRadioButton2";
351 | this.skinRadioButton2.NormlBack = null;
352 | this.skinRadioButton2.SelectedDownBack = null;
353 | this.skinRadioButton2.SelectedMouseBack = null;
354 | this.skinRadioButton2.SelectedNormlBack = null;
355 | this.skinRadioButton2.Size = new System.Drawing.Size(38, 21);
356 | this.skinRadioButton2.TabIndex = 12;
357 | this.skinRadioButton2.TabStop = true;
358 | this.skinRadioButton2.Text = "女";
359 | this.skinRadioButton2.UseVisualStyleBackColor = false;
360 | //
361 | // Formkaifang
362 | //
363 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
364 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
365 | this.ClientSize = new System.Drawing.Size(670, 244);
366 | this.Controls.Add(this.skinButton2);
367 | this.Controls.Add(this.skinButton1);
368 | this.Controls.Add(this.skinGroupBox1);
369 | this.Name = "Formkaifang";
370 | this.Text = "客户信息录入";
371 | this.skinGroupBox1.ResumeLayout(false);
372 | this.skinGroupBox1.PerformLayout();
373 | this.ResumeLayout(false);
374 |
375 | }
376 |
377 | #endregion
378 |
379 | private CCWin.SkinControl.SkinGroupBox skinGroupBox1;
380 | private CCWin.SkinControl.SkinTextBox skinTextBox1;
381 | private CCWin.SkinControl.SkinLabel skinLabel5;
382 | private CCWin.SkinControl.SkinLabel skinLabel4;
383 | private CCWin.SkinControl.SkinLabel skinLabel3;
384 | private CCWin.SkinControl.SkinLabel skinLabel2;
385 | private CCWin.SkinControl.SkinLabel skinLabel1;
386 | private CCWin.SkinControl.SkinComboBox skinComboBox1;
387 | private CCWin.SkinControl.SkinTextBox skinTextBox3;
388 | private CCWin.SkinControl.SkinTextBox skinTextBox2;
389 | private CCWin.SkinControl.SkinButton skinButton1;
390 | private CCWin.SkinControl.SkinButton skinButton2;
391 | private CCWin.SkinControl.SkinRadioButton skinRadioButton2;
392 | private CCWin.SkinControl.SkinRadioButton skinRadioButton1;
393 | }
394 | }
--------------------------------------------------------------------------------
/酒店管理系统/Formkehu.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using CCWin;
10 | using System.Data.SqlClient;
11 |
12 | namespace 酒店管理系统
13 | {
14 | public partial class Formkaifang : Skin_Mac
15 | {
16 |
17 | public Formkaifang(Formyewu f1)
18 | {
19 | InitializeComponent();
20 |
21 | }
22 |
23 | private void skinButton2_Click(object sender, EventArgs e)
24 | {
25 | this.Close();
26 | }
27 |
28 | private void skinButton1_Click(object sender, EventArgs e)
29 | {
30 | string sex = "男";
31 | if (skinRadioButton1.Checked==true)
32 | {
33 | sex="男";
34 | }
35 | else
36 | {
37 | sex="女";
38 | }
39 | string connstring = "Data Source=.;Initial Catalog=Hotel;Integrated Security=True";
40 | string sql = "insert into Cus(CusName,Paper,Phone,Gender,Grade,RoomID) values('" + skinTextBox1.Text + "','" + skinTextBox2.Text + "','" + skinTextBox3.Text + "','" + skinComboBox1.Text+ "','" + sex + "','"+sex+"')";
41 | SqlConnection conn = new SqlConnection(connstring);//connstring链接数据库语句
42 | conn.Open();
43 | SqlCommand comd = new SqlCommand(sql, conn);
44 | try
45 | {
46 | int count = comd.ExecuteNonQuery();
47 | conn.Close();
48 | if (count > 0)
49 | {
50 | MessageBox.Show("添加成功");
51 |
52 | }
53 | else
54 | {
55 | MessageBox.Show("修改失败");
56 |
57 | }
58 | }
59 | catch
60 | {
61 | MessageBox.Show("用户已经开房了");
62 | }
63 | }
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/酒店管理系统/Formkehu.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/酒店管理系统/Formyewu.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace 酒店管理系统
2 | {
3 | partial class Formyewu
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Formyewu));
33 | this.skinGroupBox1 = new CCWin.SkinControl.SkinGroupBox();
34 | this.skinPictureBox5 = new CCWin.SkinControl.SkinPictureBox();
35 | this.skinPictureBox4 = new CCWin.SkinControl.SkinPictureBox();
36 | this.skinPictureBox3 = new CCWin.SkinControl.SkinPictureBox();
37 | this.skinPictureBox2 = new CCWin.SkinControl.SkinPictureBox();
38 | this.skinPictureBox1 = new CCWin.SkinControl.SkinPictureBox();
39 | this.skinLabel5 = new CCWin.SkinControl.SkinLabel();
40 | this.skinLabel4 = new CCWin.SkinControl.SkinLabel();
41 | this.skinLabel3 = new CCWin.SkinControl.SkinLabel();
42 | this.skinLabel2 = new CCWin.SkinControl.SkinLabel();
43 | this.skinLabel1 = new CCWin.SkinControl.SkinLabel();
44 | this.skinGroupBox2 = new CCWin.SkinControl.SkinGroupBox();
45 | this.skinButton1 = new CCWin.SkinControl.SkinButton();
46 | this.skinComboBox1 = new CCWin.SkinControl.SkinComboBox();
47 | this.skinGroupBox3 = new CCWin.SkinControl.SkinGroupBox();
48 | this.skinListView1 = new CCWin.SkinControl.SkinListView();
49 | this.imageList1 = new System.Windows.Forms.ImageList(this.components);
50 | this.skinGroupBox1.SuspendLayout();
51 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox5)).BeginInit();
52 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox4)).BeginInit();
53 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox3)).BeginInit();
54 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox2)).BeginInit();
55 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox1)).BeginInit();
56 | this.skinGroupBox2.SuspendLayout();
57 | this.skinGroupBox3.SuspendLayout();
58 | this.SuspendLayout();
59 | //
60 | // skinGroupBox1
61 | //
62 | this.skinGroupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
63 | | System.Windows.Forms.AnchorStyles.Right)));
64 | this.skinGroupBox1.BackColor = System.Drawing.Color.Transparent;
65 | this.skinGroupBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
66 | this.skinGroupBox1.Controls.Add(this.skinPictureBox5);
67 | this.skinGroupBox1.Controls.Add(this.skinPictureBox4);
68 | this.skinGroupBox1.Controls.Add(this.skinPictureBox3);
69 | this.skinGroupBox1.Controls.Add(this.skinPictureBox2);
70 | this.skinGroupBox1.Controls.Add(this.skinPictureBox1);
71 | this.skinGroupBox1.Controls.Add(this.skinLabel5);
72 | this.skinGroupBox1.Controls.Add(this.skinLabel4);
73 | this.skinGroupBox1.Controls.Add(this.skinLabel3);
74 | this.skinGroupBox1.Controls.Add(this.skinLabel2);
75 | this.skinGroupBox1.Controls.Add(this.skinLabel1);
76 | this.skinGroupBox1.ForeColor = System.Drawing.Color.Blue;
77 | this.skinGroupBox1.Location = new System.Drawing.Point(7, 44);
78 | this.skinGroupBox1.Name = "skinGroupBox1";
79 | this.skinGroupBox1.RectBackColor = System.Drawing.Color.Transparent;
80 | this.skinGroupBox1.RoundStyle = CCWin.SkinClass.RoundStyle.None;
81 | this.skinGroupBox1.Size = new System.Drawing.Size(672, 72);
82 | this.skinGroupBox1.TabIndex = 0;
83 | this.skinGroupBox1.TabStop = false;
84 | this.skinGroupBox1.Text = "图例说明";
85 | this.skinGroupBox1.TitleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
86 | this.skinGroupBox1.TitleRectBackColor = System.Drawing.Color.White;
87 | this.skinGroupBox1.TitleRoundStyle = CCWin.SkinClass.RoundStyle.All;
88 | //
89 | // skinPictureBox5
90 | //
91 | this.skinPictureBox5.BackColor = System.Drawing.Color.Transparent;
92 | this.skinPictureBox5.Image = global::酒店管理系统.Properties.Resources.flag;
93 | this.skinPictureBox5.Location = new System.Drawing.Point(605, 20);
94 | this.skinPictureBox5.Name = "skinPictureBox5";
95 | this.skinPictureBox5.Size = new System.Drawing.Size(35, 35);
96 | this.skinPictureBox5.TabIndex = 9;
97 | this.skinPictureBox5.TabStop = false;
98 | //
99 | // skinPictureBox4
100 | //
101 | this.skinPictureBox4.BackColor = System.Drawing.Color.Transparent;
102 | this.skinPictureBox4.Image = global::酒店管理系统.Properties.Resources.fileclose;
103 | this.skinPictureBox4.Location = new System.Drawing.Point(461, 20);
104 | this.skinPictureBox4.Name = "skinPictureBox4";
105 | this.skinPictureBox4.Size = new System.Drawing.Size(35, 35);
106 | this.skinPictureBox4.TabIndex = 8;
107 | this.skinPictureBox4.TabStop = false;
108 | //
109 | // skinPictureBox3
110 | //
111 | this.skinPictureBox3.BackColor = System.Drawing.Color.Transparent;
112 | this.skinPictureBox3.Image = global::酒店管理系统.Properties.Resources.encrypted;
113 | this.skinPictureBox3.Location = new System.Drawing.Point(326, 20);
114 | this.skinPictureBox3.Name = "skinPictureBox3";
115 | this.skinPictureBox3.Size = new System.Drawing.Size(35, 35);
116 | this.skinPictureBox3.TabIndex = 7;
117 | this.skinPictureBox3.TabStop = false;
118 | //
119 | // skinPictureBox2
120 | //
121 | this.skinPictureBox2.BackColor = System.Drawing.Color.Transparent;
122 | this.skinPictureBox2.Image = global::酒店管理系统.Properties.Resources.delete_group;
123 | this.skinPictureBox2.Location = new System.Drawing.Point(191, 20);
124 | this.skinPictureBox2.Name = "skinPictureBox2";
125 | this.skinPictureBox2.Size = new System.Drawing.Size(35, 35);
126 | this.skinPictureBox2.TabIndex = 6;
127 | this.skinPictureBox2.TabStop = false;
128 | //
129 | // skinPictureBox1
130 | //
131 | this.skinPictureBox1.BackColor = System.Drawing.Color.Transparent;
132 | this.skinPictureBox1.Image = global::酒店管理系统.Properties.Resources.edit_group1;
133 | this.skinPictureBox1.Location = new System.Drawing.Point(59, 20);
134 | this.skinPictureBox1.Name = "skinPictureBox1";
135 | this.skinPictureBox1.Size = new System.Drawing.Size(35, 35);
136 | this.skinPictureBox1.TabIndex = 5;
137 | this.skinPictureBox1.TabStop = false;
138 | //
139 | // skinLabel5
140 | //
141 | this.skinLabel5.AutoSize = true;
142 | this.skinLabel5.BackColor = System.Drawing.Color.Transparent;
143 | this.skinLabel5.BorderColor = System.Drawing.Color.White;
144 | this.skinLabel5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
145 | this.skinLabel5.ForeColor = System.Drawing.Color.Black;
146 | this.skinLabel5.Location = new System.Drawing.Point(557, 29);
147 | this.skinLabel5.Name = "skinLabel5";
148 | this.skinLabel5.Size = new System.Drawing.Size(32, 17);
149 | this.skinLabel5.TabIndex = 4;
150 | this.skinLabel5.Text = "清扫";
151 | //
152 | // skinLabel4
153 | //
154 | this.skinLabel4.AutoSize = true;
155 | this.skinLabel4.BackColor = System.Drawing.Color.Transparent;
156 | this.skinLabel4.BorderColor = System.Drawing.Color.White;
157 | this.skinLabel4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
158 | this.skinLabel4.ForeColor = System.Drawing.Color.Black;
159 | this.skinLabel4.Location = new System.Drawing.Point(422, 29);
160 | this.skinLabel4.Name = "skinLabel4";
161 | this.skinLabel4.Size = new System.Drawing.Size(44, 17);
162 | this.skinLabel4.TabIndex = 3;
163 | this.skinLabel4.Text = "维修:";
164 | //
165 | // skinLabel3
166 | //
167 | this.skinLabel3.AutoSize = true;
168 | this.skinLabel3.BackColor = System.Drawing.Color.Transparent;
169 | this.skinLabel3.BorderColor = System.Drawing.Color.White;
170 | this.skinLabel3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
171 | this.skinLabel3.ForeColor = System.Drawing.Color.Black;
172 | this.skinLabel3.Location = new System.Drawing.Point(287, 29);
173 | this.skinLabel3.Name = "skinLabel3";
174 | this.skinLabel3.Size = new System.Drawing.Size(44, 17);
175 | this.skinLabel3.TabIndex = 2;
176 | this.skinLabel3.Text = "预定:";
177 | //
178 | // skinLabel2
179 | //
180 | this.skinLabel2.AutoSize = true;
181 | this.skinLabel2.BackColor = System.Drawing.Color.Transparent;
182 | this.skinLabel2.BorderColor = System.Drawing.Color.White;
183 | this.skinLabel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
184 | this.skinLabel2.ForeColor = System.Drawing.Color.Black;
185 | this.skinLabel2.Location = new System.Drawing.Point(152, 29);
186 | this.skinLabel2.Name = "skinLabel2";
187 | this.skinLabel2.Size = new System.Drawing.Size(44, 17);
188 | this.skinLabel2.TabIndex = 1;
189 | this.skinLabel2.Text = "空闲:";
190 | //
191 | // skinLabel1
192 | //
193 | this.skinLabel1.AutoSize = true;
194 | this.skinLabel1.BackColor = System.Drawing.Color.Transparent;
195 | this.skinLabel1.BorderColor = System.Drawing.Color.White;
196 | this.skinLabel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
197 | this.skinLabel1.ForeColor = System.Drawing.Color.Black;
198 | this.skinLabel1.Location = new System.Drawing.Point(17, 29);
199 | this.skinLabel1.Name = "skinLabel1";
200 | this.skinLabel1.Size = new System.Drawing.Size(44, 17);
201 | this.skinLabel1.TabIndex = 0;
202 | this.skinLabel1.Text = "占用:";
203 | //
204 | // skinGroupBox2
205 | //
206 | this.skinGroupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
207 | | System.Windows.Forms.AnchorStyles.Left)
208 | | System.Windows.Forms.AnchorStyles.Right)));
209 | this.skinGroupBox2.BackColor = System.Drawing.Color.Transparent;
210 | this.skinGroupBox2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
211 | this.skinGroupBox2.Controls.Add(this.skinButton1);
212 | this.skinGroupBox2.Controls.Add(this.skinComboBox1);
213 | this.skinGroupBox2.ForeColor = System.Drawing.Color.Blue;
214 | this.skinGroupBox2.Location = new System.Drawing.Point(7, 122);
215 | this.skinGroupBox2.Name = "skinGroupBox2";
216 | this.skinGroupBox2.RectBackColor = System.Drawing.Color.Transparent;
217 | this.skinGroupBox2.RoundStyle = CCWin.SkinClass.RoundStyle.All;
218 | this.skinGroupBox2.Size = new System.Drawing.Size(672, 49);
219 | this.skinGroupBox2.TabIndex = 1;
220 | this.skinGroupBox2.TabStop = false;
221 | this.skinGroupBox2.Text = "业务操作";
222 | this.skinGroupBox2.TitleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
223 | this.skinGroupBox2.TitleRectBackColor = System.Drawing.Color.Gainsboro;
224 | this.skinGroupBox2.TitleRoundStyle = CCWin.SkinClass.RoundStyle.All;
225 | //
226 | // skinButton1
227 | //
228 | this.skinButton1.BackColor = System.Drawing.Color.Transparent;
229 | this.skinButton1.BaseColor = System.Drawing.Color.Moccasin;
230 | this.skinButton1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
231 | this.skinButton1.ControlState = CCWin.SkinClass.ControlState.Normal;
232 | this.skinButton1.DownBack = null;
233 | this.skinButton1.ForeColor = System.Drawing.Color.Black;
234 | this.skinButton1.Location = new System.Drawing.Point(168, 20);
235 | this.skinButton1.MouseBack = null;
236 | this.skinButton1.Name = "skinButton1";
237 | this.skinButton1.NormlBack = null;
238 | this.skinButton1.Size = new System.Drawing.Size(96, 23);
239 | this.skinButton1.TabIndex = 1;
240 | this.skinButton1.Text = "更改房间状态";
241 | this.skinButton1.UseVisualStyleBackColor = false;
242 | //
243 | // skinComboBox1
244 | //
245 | this.skinComboBox1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
246 | this.skinComboBox1.FormattingEnabled = true;
247 | this.skinComboBox1.Items.AddRange(new object[] {
248 | "空闲",
249 | "打扫",
250 | "锁定",
251 | "占用",
252 | "维护"});
253 | this.skinComboBox1.Location = new System.Drawing.Point(20, 20);
254 | this.skinComboBox1.Name = "skinComboBox1";
255 | this.skinComboBox1.Size = new System.Drawing.Size(121, 22);
256 | this.skinComboBox1.TabIndex = 0;
257 | this.skinComboBox1.Text = "空闲";
258 | this.skinComboBox1.WaterText = "";
259 | //
260 | // skinGroupBox3
261 | //
262 | this.skinGroupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
263 | | System.Windows.Forms.AnchorStyles.Left)
264 | | System.Windows.Forms.AnchorStyles.Right)));
265 | this.skinGroupBox3.BackColor = System.Drawing.Color.Transparent;
266 | this.skinGroupBox3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
267 | this.skinGroupBox3.Controls.Add(this.skinListView1);
268 | this.skinGroupBox3.ForeColor = System.Drawing.Color.Blue;
269 | this.skinGroupBox3.Location = new System.Drawing.Point(7, 177);
270 | this.skinGroupBox3.Name = "skinGroupBox3";
271 | this.skinGroupBox3.RectBackColor = System.Drawing.Color.Transparent;
272 | this.skinGroupBox3.RoundStyle = CCWin.SkinClass.RoundStyle.All;
273 | this.skinGroupBox3.Size = new System.Drawing.Size(672, 252);
274 | this.skinGroupBox3.TabIndex = 2;
275 | this.skinGroupBox3.TabStop = false;
276 | this.skinGroupBox3.Text = "房间详情:";
277 | this.skinGroupBox3.TitleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
278 | this.skinGroupBox3.TitleRectBackColor = System.Drawing.Color.Gainsboro;
279 | this.skinGroupBox3.TitleRoundStyle = CCWin.SkinClass.RoundStyle.All;
280 | //
281 | // skinListView1
282 | //
283 | this.skinListView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
284 | | System.Windows.Forms.AnchorStyles.Left)
285 | | System.Windows.Forms.AnchorStyles.Right)));
286 | this.skinListView1.Location = new System.Drawing.Point(6, 20);
287 | this.skinListView1.Name = "skinListView1";
288 | this.skinListView1.OwnerDraw = true;
289 | this.skinListView1.Size = new System.Drawing.Size(660, 226);
290 | this.skinListView1.TabIndex = 0;
291 | this.skinListView1.UseCompatibleStateImageBehavior = false;
292 | this.skinListView1.Click += new System.EventHandler(this.skinListView1_Click);
293 | //
294 | // imageList1
295 | //
296 | this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
297 | this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
298 | this.imageList1.Images.SetKeyName(0, "delete_group.ico");
299 | this.imageList1.Images.SetKeyName(1, "edit_group.ico");
300 | this.imageList1.Images.SetKeyName(2, "encrypted.ico");
301 | this.imageList1.Images.SetKeyName(3, "fileclose.ico");
302 | this.imageList1.Images.SetKeyName(4, "flag.ico");
303 | //
304 | // Formyewu
305 | //
306 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
307 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
308 | this.ClientSize = new System.Drawing.Size(686, 436);
309 | this.Controls.Add(this.skinGroupBox3);
310 | this.Controls.Add(this.skinGroupBox2);
311 | this.Controls.Add(this.skinGroupBox1);
312 | this.Name = "Formyewu";
313 | this.Text = "业务操作界面";
314 | this.skinGroupBox1.ResumeLayout(false);
315 | this.skinGroupBox1.PerformLayout();
316 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox5)).EndInit();
317 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox4)).EndInit();
318 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox3)).EndInit();
319 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox2)).EndInit();
320 | ((System.ComponentModel.ISupportInitialize)(this.skinPictureBox1)).EndInit();
321 | this.skinGroupBox2.ResumeLayout(false);
322 | this.skinGroupBox3.ResumeLayout(false);
323 | this.ResumeLayout(false);
324 |
325 | }
326 |
327 | #endregion
328 |
329 | private CCWin.SkinControl.SkinGroupBox skinGroupBox1;
330 | private CCWin.SkinControl.SkinPictureBox skinPictureBox5;
331 | private CCWin.SkinControl.SkinPictureBox skinPictureBox4;
332 | private CCWin.SkinControl.SkinPictureBox skinPictureBox3;
333 | private CCWin.SkinControl.SkinPictureBox skinPictureBox2;
334 | private CCWin.SkinControl.SkinPictureBox skinPictureBox1;
335 | private CCWin.SkinControl.SkinLabel skinLabel5;
336 | private CCWin.SkinControl.SkinLabel skinLabel4;
337 | private CCWin.SkinControl.SkinLabel skinLabel3;
338 | private CCWin.SkinControl.SkinLabel skinLabel2;
339 | private CCWin.SkinControl.SkinLabel skinLabel1;
340 | private CCWin.SkinControl.SkinGroupBox skinGroupBox2;
341 | private CCWin.SkinControl.SkinButton skinButton1;
342 | private CCWin.SkinControl.SkinComboBox skinComboBox1;
343 | private CCWin.SkinControl.SkinGroupBox skinGroupBox3;
344 | private CCWin.SkinControl.SkinListView skinListView1;
345 | private System.Windows.Forms.ImageList imageList1;
346 | }
347 | }
--------------------------------------------------------------------------------
/酒店管理系统/Formyewu.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using CCWin;
10 | using System.Data.SqlClient;
11 |
12 | namespace 酒店管理系统
13 | {
14 | public partial class Formyewu : Skin_Mac
15 | {
16 |
17 | public Formyewu()
18 | {
19 | InitializeComponent();
20 | Listview();
21 | }
22 |
23 | public void Listview()
24 | {
25 | SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=Hotel;Integrated Security=True");
26 | string sql = "select * from RoomID";
27 | con.Open(); //打开链接
28 | //执行con对象的函数,返回一个SqlCommand类型的对象
29 | SqlCommand cmd = con.CreateCommand();
30 | //把输入的数据拼接成sql语句,并交给cmd对象
31 | cmd.CommandText = sql;
32 | //用cmd的函数执行语句,返回SqlDataReader类型的结果dr,dr就是返回的结果集(也就是数据库中查询到的表数据)
33 | SqlDataReader dr = cmd.ExecuteReader();
34 | //用dr的read函数,每执行一次,返回一个包含下一行数据的集合dr
35 | this.skinListView1.LargeImageList = this.imageList1;
36 |
37 | this.skinListView1.BeginUpdate();
38 | while (dr.Read())
39 | {
40 | //构建一个ListView的数据,存入数据库数据,以便添加到listView1的行数据中
41 | ListViewItem lt = new ListViewItem();
42 | //将数据库数据转变成ListView类型的一行数据
43 | lt.Text = dr["RoomID"].ToString();
44 | //判断图片
45 | string type=dr["RoomState"].ToString().TrimEnd();
46 | switch (type)
47 | {
48 | case "清扫":
49 | lt.ImageIndex = 0;
50 | break;
51 | case "锁定":
52 | lt.ImageIndex = 1;
53 | break;
54 | case "空闲":
55 | lt.ImageIndex = 2;
56 | break;
57 | case "占用":
58 | lt.ImageIndex = 3;
59 | break;
60 | case "维护":
61 | lt.ImageIndex = 4;
62 | break;
63 | default:
64 | lt.ImageIndex = 4;
65 | break;
66 |
67 | }
68 |
69 | //将lt数据添加到listView1控件中
70 | skinListView1.Items.Add(lt);
71 | }
72 |
73 |
74 |
75 |
76 | //for (int i = 0; i < 10; i++)
77 | //{
78 | // ListViewItem lvi = new ListViewItem();
79 |
80 | // lvi.ImageIndex = i;
81 |
82 | // lvi.Text = "";
83 |
84 | // this.skinListView1.Items.Add(lvi);
85 | //}
86 | con.Close();
87 | }
88 |
89 | private void skinListView1_Click(object sender, EventArgs e)
90 | {
91 | if (skinListView1.SelectedIndices != null && skinListView1.SelectedIndices.Count > 0)
92 | {
93 | ListView.SelectedIndexCollection c = skinListView1.SelectedIndices;
94 | // lblTitle.Text = listview.Items[c[0]].Text;
95 | //MessageBox.Show("选中");
96 | if (skinListView1.Items[c[0]].ImageIndex == 0)
97 | {
98 | Formkaifang f = new Formkaifang(this);
99 | f.Show();
100 | }
101 | if (skinListView1.Items[c[0]].ImageIndex == 1)
102 | {
103 |
104 | }
105 | }
106 | }
107 | }
108 | }
109 |
--------------------------------------------------------------------------------
/酒店管理系统/Formyewu.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 |
125 | AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
126 | LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
127 | ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAs
128 | DQAAAk1TRnQBSQFMAgEBBQEAARABAAEQAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
129 | AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
130 | AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
131 | AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
132 | AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm
133 | AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM
134 | AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA
135 | ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz
136 | AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ
137 | AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM
138 | AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA
139 | AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA
140 | AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ
141 | AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/
142 | AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA
143 | AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm
144 | ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ
145 | Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz
146 | AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA
147 | AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM
148 | AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM
149 | ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM
150 | Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA
151 | AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM
152 | AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ
153 | AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz
154 | AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm
155 | AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw
156 | AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wQAAf8/AAHyPwABvD4A
157 | Af8BBz4AAfMBvAcAAfQB8wH/NAAB8AHzBAABBwJGASUB6QIfAe8yAAG8AUcBTAFvAkcDRgLpAh8B7zIA
158 | AbwFRwNGAukCHwHxMgAB8QJHARcBTQFHA0YC6QIfAf8yAAG8AkcDFwNGAukCHzMAAe8CRwPjA0YC6QEf
159 | AQEyAAH/AZMCRwEWAuMCRgElAukBHwEBMgAB9AFvAkcDFgJGASUC6QEfAUUyAAHxAUYCRwKUARYDRgGT
160 | AQcBbgEcMgAB8wHvAUwBFwKUAZMB8DgAAfAB8T4AAfABUwH0AQACRhsAAf8BvAgHAbwB8gH/BAABuwH0
161 | BgAB9wHxBAABLAJTAUYCUwFvDgABDwIAAQ4BSwGaBwABkgEHAfAB8gLzAvIBvAHvAewEAAGuAbsBtQHz
162 | BAABkQG1AZEBvAMAAfABLAJTAXUBHwMAAXQBRAMAAQ8GAAHyAQ4BEAFDAXoBmgEOAg8BQwMAAXMB7AHt
163 | ApkBkgH3AZkBHALsAwABiwORAbUB9AIAAe0BuwGRAa4BkQHxAwABJQEsAU0BdQG8AQABDwERAXoBmgMO
164 | AfABtQH3Ae8BvAHwAfMB8gG8ARQBEgKaARQB6gHxBAABQwEQAQMBOAFDARABMAE4AREBEAFKAgABBwHz
165 | AYsCrgGRAbUB/wHtAbsBkQKuAYsB8AIAASABJQFMAeMBdQGUAW0BFQESApoBFAEVAQcBAAHvAfcB7wEH
166 | AbwB8AHyARwCIwJ6ASMBSwUAAg8BOAH7Ag8C+wIPAQMDAAHsAZEBiwOuAbwBtQOuAYsBkQMAASUCRgKT
167 | AUwBvAIjAXoBeQEjAfECAAG8Ae0B9wG1AQcBvAEHAUsBIwF0A5oBKgHzBAAB7QH3AQgBGgK8AhoB7wH3
168 | AewEAAHsAZEDiwGuBIsBkQQAAe0BRgHvAgcBvAFKASMBdAKaAVIBKgMAAa4B7QH3Ae8BBwK8ASoDmgEa
169 | ASoB8wQAAfcB7wHwAfIB8wLyAfEBvAHvAewFAAHtAZEGbAGuBQAB9wHtAfcB7wEHArwBKgSaASoEAAHy
170 | Aa4BvAH0Af8BtQFLAZoBdAEaAcMBKgUAAfcB7wbxAbwB7wHsBgABrgG7BGwB8AH0BgAB9AEHAZEC/wG1
171 | AUsCegIaASoGAAFzAZoBegEAAfACKgHDAZkBKgUAAfcB7QHsBfcB7QHsAe8FAAFtAZEBbAWLAWYB9AcA
172 | AfECmgH/AbwCKgHDASsBmQUAAfQDmgF0AQADKgErAQcGAAHyAesFAAHzAe8FAAFDAbUDiwGuAYsBrgGL
173 | Aa4BZgHyBgAEmgEAAyoBKwYAARwEmgEAAfQBKgErAQcHAAHzAewFAAH0Ae8EAAESAbsEkQH/AfcEkQEP
174 | AfQEAAHzApoBGgGaAQAB/wEcAZkHAAEpAxoBcwFuCwAB8wHtBQAB9AHvAwAB9wH/A7UBuwGRAQABkgG8
175 | A7UCuwQAASoCGgF0ASMBSwoAASoBwwF0ASMCSwsAAfAB9wQAAfEB8wEHBQAB8gG8AfABtAMAAewB8wG8
176 | AfABrgH/BAABKgGZAUsBKQFLAXMKAAEqASkCKgFSAfALAALzAe0CAAHzAbwB8AYAAQ4B/wGRBQAB7QH/
177 | AZEB9AUAAfMDKgFSAf8KAAHxAioBUgF0DQABvAHzAfIB8QHyAfEB/wcAAbsHAAH3Af8HAAEcASoBUgH/
178 | HgAB/wH0AfMB9BYAAUIBTQE+BwABPgMAASgDAAFAAwABIAMAAQEBAAEBBgABARYAA/8BAAHvAf8GAAHv
179 | Af8GAAHvAf8GAAHPAf8GAAHPAeMGAAHPBwABwAcAAcAHAAHABwABwAEBBgABwAEBBgABgAEBBgABgAEB
180 | BgABgAEBBgABgAF/BgABnwH/BgABiQP/AcABAQLnAYAB/wH8AQAB4AEDAsMBgAEAAfwBAAHgAQMCgQHA
181 | AgABAQHgAQMBAAEBAYABAQEAAQMB4AEDAYABAwGAAQMBAAEBAeABAwHAAQcBgAEDAYABAQHgAQMB4AEP
182 | AYABAwHAAQMB4AEDAfABDwHAAQMB8QEDAeABAwHgAQcB8AEDAeABgwHzAecBwAEDAfABhwHgAYcB8wHn
183 | AYABAQHgAY8B4AF/AfMB5wIBAeABfwHgAX8B8wHHAYMBgQHgAX8B4AF/AfEBjwHHAcMB4AF/AeAB/wH4
184 | AQ8B7wHnAfAD/wH8AT8C/ws=
185 |
186 |
187 |
--------------------------------------------------------------------------------
/酒店管理系统/Formzouren.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace 酒店管理系统
2 | {
3 | partial class Formzouren
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // Formzouren
34 | //
35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
37 | this.ClientSize = new System.Drawing.Size(640, 308);
38 | this.Name = "Formzouren";
39 | this.Text = "结账页面";
40 | this.ResumeLayout(false);
41 |
42 | }
43 |
44 | #endregion
45 | }
46 | }
--------------------------------------------------------------------------------
/酒店管理系统/Formzouren.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using CCWin;
10 |
11 | namespace 酒店管理系统
12 | {
13 | public partial class Formzouren : Skin_Mac
14 | {
15 | public Formzouren()
16 | {
17 | InitializeComponent();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/酒店管理系统/Formzouren.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/酒店管理系统/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace 酒店管理系统
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// 应用程序的主入口点。
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new Login());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/酒店管理系统/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的常规信息通过以下
6 | // 特性集控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("酒店管理系统")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("酒店管理系统")]
13 | [assembly: AssemblyCopyright("Copyright © 2016")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 使此程序集中的类型
18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
19 | // 则将该类型上的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("b869dedc-d11e-4fc4-a056-0d1f261b22a6")]
24 |
25 | // 程序集的版本信息由下面四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
33 | // 方法是按如下所示使用“*”:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/酒店管理系统/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace 酒店管理系统.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("酒店管理系统.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
65 | ///
66 | internal static System.Drawing.Bitmap bookmarks_list_add {
67 | get {
68 | object obj = ResourceManager.GetObject("bookmarks_list_add", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 |
73 | ///
74 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
75 | ///
76 | internal static System.Drawing.Bitmap button_cancel {
77 | get {
78 | object obj = ResourceManager.GetObject("button_cancel", resourceCulture);
79 | return ((System.Drawing.Bitmap)(obj));
80 | }
81 | }
82 |
83 | ///
84 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
85 | ///
86 | internal static System.Drawing.Bitmap delete_group {
87 | get {
88 | object obj = ResourceManager.GetObject("delete_group", resourceCulture);
89 | return ((System.Drawing.Bitmap)(obj));
90 | }
91 | }
92 |
93 | ///
94 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
95 | ///
96 | internal static System.Drawing.Bitmap edit_group {
97 | get {
98 | object obj = ResourceManager.GetObject("edit_group", resourceCulture);
99 | return ((System.Drawing.Bitmap)(obj));
100 | }
101 | }
102 |
103 | ///
104 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
105 | ///
106 | internal static System.Drawing.Bitmap edit_group1 {
107 | get {
108 | object obj = ResourceManager.GetObject("edit_group1", resourceCulture);
109 | return ((System.Drawing.Bitmap)(obj));
110 | }
111 | }
112 |
113 | ///
114 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
115 | ///
116 | internal static System.Drawing.Bitmap editdelete {
117 | get {
118 | object obj = ResourceManager.GetObject("editdelete", resourceCulture);
119 | return ((System.Drawing.Bitmap)(obj));
120 | }
121 | }
122 |
123 | ///
124 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
125 | ///
126 | internal static System.Drawing.Bitmap encrypted {
127 | get {
128 | object obj = ResourceManager.GetObject("encrypted", resourceCulture);
129 | return ((System.Drawing.Bitmap)(obj));
130 | }
131 | }
132 |
133 | ///
134 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
135 | ///
136 | internal static System.Drawing.Bitmap exit {
137 | get {
138 | object obj = ResourceManager.GetObject("exit", resourceCulture);
139 | return ((System.Drawing.Bitmap)(obj));
140 | }
141 | }
142 |
143 | ///
144 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
145 | ///
146 | internal static System.Drawing.Bitmap fileclose {
147 | get {
148 | object obj = ResourceManager.GetObject("fileclose", resourceCulture);
149 | return ((System.Drawing.Bitmap)(obj));
150 | }
151 | }
152 |
153 | ///
154 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
155 | ///
156 | internal static System.Drawing.Bitmap filesave {
157 | get {
158 | object obj = ResourceManager.GetObject("filesave", resourceCulture);
159 | return ((System.Drawing.Bitmap)(obj));
160 | }
161 | }
162 |
163 | ///
164 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
165 | ///
166 | internal static System.Drawing.Bitmap flag {
167 | get {
168 | object obj = ResourceManager.GetObject("flag", resourceCulture);
169 | return ((System.Drawing.Bitmap)(obj));
170 | }
171 | }
172 |
173 | ///
174 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
175 | ///
176 | internal static System.Drawing.Bitmap previous {
177 | get {
178 | object obj = ResourceManager.GetObject("previous", resourceCulture);
179 | return ((System.Drawing.Bitmap)(obj));
180 | }
181 | }
182 | }
183 | }
184 |
--------------------------------------------------------------------------------
/酒店管理系统/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\ico\exit.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
125 | ..\ico\previous.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
126 |
127 |
128 | ..\ico\bookmarks_list_add.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
129 |
130 |
131 | ..\ico\filesave.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
132 |
133 |
134 | ..\ico\editdelete.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
135 |
136 |
137 | ..\ico\button_cancel.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
138 |
139 |
140 | ..\tuli\edit_group.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
141 |
142 |
143 | ..\tuli\delete_group.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
144 |
145 |
146 | ..\tuli\edit_group.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
147 |
148 |
149 | ..\tuli\encrypted.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
150 |
151 |
152 | ..\tuli\fileclose.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
153 |
154 |
155 | ..\tuli\flag.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
156 |
157 |
--------------------------------------------------------------------------------
/酒店管理系统/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace 酒店管理系统.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/酒店管理系统/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/酒店管理系统/RoomWeihu.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace 酒店管理系统
2 | {
3 | partial class RoomWeihu
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RoomWeihu));
32 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
33 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
34 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
35 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
36 | this.skinMenuStrip1 = new CCWin.SkinControl.SkinMenuStrip();
37 | this.增加ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
38 | this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
39 | this.删除ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
40 | this.取消ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
41 | this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
42 | this.jibenxinxi = new CCWin.SkinControl.SkinGroupBox();
43 | this.rtfRichTextBox1 = new CCWin.SkinControl.RtfRichTextBox();
44 | this.skinComboBox3 = new CCWin.SkinControl.SkinComboBox();
45 | this.skinComboBox2 = new CCWin.SkinControl.SkinComboBox();
46 | this.skinComboBox1 = new CCWin.SkinControl.SkinComboBox();
47 | this.skinTextBox1 = new CCWin.SkinControl.SkinTextBox();
48 | this.skinLabel5 = new CCWin.SkinControl.SkinLabel();
49 | this.skinLabel4 = new CCWin.SkinControl.SkinLabel();
50 | this.skinLabel3 = new CCWin.SkinControl.SkinLabel();
51 | this.skinLabel2 = new CCWin.SkinControl.SkinLabel();
52 | this.skinLabel1 = new CCWin.SkinControl.SkinLabel();
53 | this.skinGroupBox1 = new CCWin.SkinControl.SkinGroupBox();
54 | this.skinDataGridView1 = new CCWin.SkinControl.SkinDataGridView();
55 | this.skinMenuStrip1.SuspendLayout();
56 | this.jibenxinxi.SuspendLayout();
57 | this.skinGroupBox1.SuspendLayout();
58 | ((System.ComponentModel.ISupportInitialize)(this.skinDataGridView1)).BeginInit();
59 | this.SuspendLayout();
60 | //
61 | // skinMenuStrip1
62 | //
63 | this.skinMenuStrip1.Arrow = System.Drawing.Color.Black;
64 | this.skinMenuStrip1.Back = System.Drawing.Color.White;
65 | this.skinMenuStrip1.BackRadius = 4;
66 | this.skinMenuStrip1.BackRectangle = new System.Drawing.Rectangle(10, 10, 10, 10);
67 | this.skinMenuStrip1.Base = System.Drawing.Color.LightGray;
68 | this.skinMenuStrip1.BaseFore = System.Drawing.Color.Black;
69 | this.skinMenuStrip1.BaseForeAnamorphosis = false;
70 | this.skinMenuStrip1.BaseForeAnamorphosisBorder = 4;
71 | this.skinMenuStrip1.BaseForeAnamorphosisColor = System.Drawing.Color.White;
72 | this.skinMenuStrip1.BaseHoverFore = System.Drawing.Color.White;
73 | this.skinMenuStrip1.BaseItemAnamorphosis = true;
74 | this.skinMenuStrip1.BaseItemBorder = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
75 | this.skinMenuStrip1.BaseItemBorderShow = true;
76 | this.skinMenuStrip1.BaseItemDown = ((System.Drawing.Image)(resources.GetObject("skinMenuStrip1.BaseItemDown")));
77 | this.skinMenuStrip1.BaseItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
78 | this.skinMenuStrip1.BaseItemMouse = ((System.Drawing.Image)(resources.GetObject("skinMenuStrip1.BaseItemMouse")));
79 | this.skinMenuStrip1.BaseItemPressed = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
80 | this.skinMenuStrip1.BaseItemRadius = 4;
81 | this.skinMenuStrip1.BaseItemRadiusStyle = CCWin.SkinClass.RoundStyle.All;
82 | this.skinMenuStrip1.BaseItemSplitter = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
83 | this.skinMenuStrip1.DropDownImageSeparator = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
84 | this.skinMenuStrip1.Fore = System.Drawing.Color.Black;
85 | this.skinMenuStrip1.HoverFore = System.Drawing.Color.White;
86 | this.skinMenuStrip1.ItemAnamorphosis = true;
87 | this.skinMenuStrip1.ItemBorder = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
88 | this.skinMenuStrip1.ItemBorderShow = true;
89 | this.skinMenuStrip1.ItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
90 | this.skinMenuStrip1.ItemPressed = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(148)))), ((int)(((byte)(212)))));
91 | this.skinMenuStrip1.ItemRadius = 4;
92 | this.skinMenuStrip1.ItemRadiusStyle = CCWin.SkinClass.RoundStyle.All;
93 | this.skinMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
94 | this.增加ToolStripMenuItem,
95 | this.保存ToolStripMenuItem,
96 | this.删除ToolStripMenuItem,
97 | this.取消ToolStripMenuItem,
98 | this.退出ToolStripMenuItem});
99 | this.skinMenuStrip1.Location = new System.Drawing.Point(4, 32);
100 | this.skinMenuStrip1.Name = "skinMenuStrip1";
101 | this.skinMenuStrip1.RadiusStyle = CCWin.SkinClass.RoundStyle.All;
102 | this.skinMenuStrip1.Size = new System.Drawing.Size(686, 25);
103 | this.skinMenuStrip1.SkinAllColor = true;
104 | this.skinMenuStrip1.TabIndex = 0;
105 | this.skinMenuStrip1.Text = "skinMenuStrip1";
106 | this.skinMenuStrip1.TitleAnamorphosis = true;
107 | this.skinMenuStrip1.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(228)))), ((int)(((byte)(236)))));
108 | this.skinMenuStrip1.TitleRadius = 4;
109 | this.skinMenuStrip1.TitleRadiusStyle = CCWin.SkinClass.RoundStyle.All;
110 | //
111 | // 增加ToolStripMenuItem
112 | //
113 | this.增加ToolStripMenuItem.Image = global::酒店管理系统.Properties.Resources.bookmarks_list_add;
114 | this.增加ToolStripMenuItem.Name = "增加ToolStripMenuItem";
115 | this.增加ToolStripMenuItem.Size = new System.Drawing.Size(60, 21);
116 | this.增加ToolStripMenuItem.Text = "增加";
117 | this.增加ToolStripMenuItem.Click += new System.EventHandler(this.增加ToolStripMenuItem_Click);
118 | //
119 | // 保存ToolStripMenuItem
120 | //
121 | this.保存ToolStripMenuItem.Image = global::酒店管理系统.Properties.Resources.filesave;
122 | this.保存ToolStripMenuItem.Name = "保存ToolStripMenuItem";
123 | this.保存ToolStripMenuItem.Size = new System.Drawing.Size(60, 21);
124 | this.保存ToolStripMenuItem.Text = "保存";
125 | this.保存ToolStripMenuItem.Click += new System.EventHandler(this.保存ToolStripMenuItem_Click);
126 | //
127 | // 删除ToolStripMenuItem
128 | //
129 | this.删除ToolStripMenuItem.Image = global::酒店管理系统.Properties.Resources.editdelete;
130 | this.删除ToolStripMenuItem.Name = "删除ToolStripMenuItem";
131 | this.删除ToolStripMenuItem.Size = new System.Drawing.Size(60, 21);
132 | this.删除ToolStripMenuItem.Text = "删除";
133 | this.删除ToolStripMenuItem.Click += new System.EventHandler(this.删除ToolStripMenuItem_Click);
134 | //
135 | // 取消ToolStripMenuItem
136 | //
137 | this.取消ToolStripMenuItem.Image = global::酒店管理系统.Properties.Resources.previous;
138 | this.取消ToolStripMenuItem.Name = "取消ToolStripMenuItem";
139 | this.取消ToolStripMenuItem.Size = new System.Drawing.Size(60, 21);
140 | this.取消ToolStripMenuItem.Text = "取消";
141 | this.取消ToolStripMenuItem.Click += new System.EventHandler(this.取消ToolStripMenuItem_Click);
142 | //
143 | // 退出ToolStripMenuItem
144 | //
145 | this.退出ToolStripMenuItem.Image = global::酒店管理系统.Properties.Resources.exit;
146 | this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
147 | this.退出ToolStripMenuItem.Size = new System.Drawing.Size(60, 21);
148 | this.退出ToolStripMenuItem.Text = "退出";
149 | this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
150 | //
151 | // jibenxinxi
152 | //
153 | this.jibenxinxi.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
154 | | System.Windows.Forms.AnchorStyles.Left)
155 | | System.Windows.Forms.AnchorStyles.Right)));
156 | this.jibenxinxi.BackColor = System.Drawing.Color.Transparent;
157 | this.jibenxinxi.BorderColor = System.Drawing.Color.DarkRed;
158 | this.jibenxinxi.Controls.Add(this.rtfRichTextBox1);
159 | this.jibenxinxi.Controls.Add(this.skinComboBox3);
160 | this.jibenxinxi.Controls.Add(this.skinComboBox2);
161 | this.jibenxinxi.Controls.Add(this.skinComboBox1);
162 | this.jibenxinxi.Controls.Add(this.skinTextBox1);
163 | this.jibenxinxi.Controls.Add(this.skinLabel5);
164 | this.jibenxinxi.Controls.Add(this.skinLabel4);
165 | this.jibenxinxi.Controls.Add(this.skinLabel3);
166 | this.jibenxinxi.Controls.Add(this.skinLabel2);
167 | this.jibenxinxi.Controls.Add(this.skinLabel1);
168 | this.jibenxinxi.ForeColor = System.Drawing.Color.Black;
169 | this.jibenxinxi.Location = new System.Drawing.Point(7, 60);
170 | this.jibenxinxi.Name = "jibenxinxi";
171 | this.jibenxinxi.RectBackColor = System.Drawing.Color.Transparent;
172 | this.jibenxinxi.RoundStyle = CCWin.SkinClass.RoundStyle.All;
173 | this.jibenxinxi.Size = new System.Drawing.Size(680, 107);
174 | this.jibenxinxi.TabIndex = 1;
175 | this.jibenxinxi.TabStop = false;
176 | this.jibenxinxi.Text = "房间信息";
177 | this.jibenxinxi.TitleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
178 | this.jibenxinxi.TitleRectBackColor = System.Drawing.Color.White;
179 | this.jibenxinxi.TitleRoundStyle = CCWin.SkinClass.RoundStyle.All;
180 | //
181 | // rtfRichTextBox1
182 | //
183 | this.rtfRichTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
184 | | System.Windows.Forms.AnchorStyles.Left)
185 | | System.Windows.Forms.AnchorStyles.Right)));
186 | this.rtfRichTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
187 | this.rtfRichTextBox1.HiglightColor = CCWin.SkinControl.RtfRichTextBox.RtfColor.White;
188 | this.rtfRichTextBox1.Location = new System.Drawing.Point(71, 52);
189 | this.rtfRichTextBox1.Name = "rtfRichTextBox1";
190 | this.rtfRichTextBox1.Size = new System.Drawing.Size(593, 44);
191 | this.rtfRichTextBox1.TabIndex = 9;
192 | this.rtfRichTextBox1.Text = "";
193 | this.rtfRichTextBox1.TextColor = CCWin.SkinControl.RtfRichTextBox.RtfColor.Black;
194 | //
195 | // skinComboBox3
196 | //
197 | this.skinComboBox3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
198 | this.skinComboBox3.FormattingEnabled = true;
199 | this.skinComboBox3.Location = new System.Drawing.Point(569, 13);
200 | this.skinComboBox3.Name = "skinComboBox3";
201 | this.skinComboBox3.Size = new System.Drawing.Size(95, 22);
202 | this.skinComboBox3.TabIndex = 8;
203 | this.skinComboBox3.WaterText = "";
204 | //
205 | // skinComboBox2
206 | //
207 | this.skinComboBox2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
208 | this.skinComboBox2.FormattingEnabled = true;
209 | this.skinComboBox2.Items.AddRange(new object[] {
210 | "打扫",
211 | "空闲"});
212 | this.skinComboBox2.Location = new System.Drawing.Point(374, 13);
213 | this.skinComboBox2.Name = "skinComboBox2";
214 | this.skinComboBox2.Size = new System.Drawing.Size(95, 22);
215 | this.skinComboBox2.TabIndex = 7;
216 | this.skinComboBox2.WaterText = "";
217 | //
218 | // skinComboBox1
219 | //
220 | this.skinComboBox1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
221 | this.skinComboBox1.FormattingEnabled = true;
222 | this.skinComboBox1.Items.AddRange(new object[] {
223 | "豪华房间",
224 | "普通房间",
225 | "单间",
226 | "双人间"});
227 | this.skinComboBox1.Location = new System.Drawing.Point(222, 13);
228 | this.skinComboBox1.Name = "skinComboBox1";
229 | this.skinComboBox1.Size = new System.Drawing.Size(95, 22);
230 | this.skinComboBox1.TabIndex = 6;
231 | this.skinComboBox1.WaterText = "";
232 | //
233 | // skinTextBox1
234 | //
235 | this.skinTextBox1.BackColor = System.Drawing.Color.Transparent;
236 | this.skinTextBox1.DownBack = null;
237 | this.skinTextBox1.Icon = null;
238 | this.skinTextBox1.IconIsButton = false;
239 | this.skinTextBox1.IconMouseState = CCWin.SkinClass.ControlState.Normal;
240 | this.skinTextBox1.IsPasswordChat = '\0';
241 | this.skinTextBox1.IsSystemPasswordChar = false;
242 | this.skinTextBox1.Lines = new string[0];
243 | this.skinTextBox1.Location = new System.Drawing.Point(71, 13);
244 | this.skinTextBox1.Margin = new System.Windows.Forms.Padding(0);
245 | this.skinTextBox1.MaxLength = 32767;
246 | this.skinTextBox1.MinimumSize = new System.Drawing.Size(28, 28);
247 | this.skinTextBox1.MouseBack = null;
248 | this.skinTextBox1.MouseState = CCWin.SkinClass.ControlState.Normal;
249 | this.skinTextBox1.Multiline = false;
250 | this.skinTextBox1.Name = "skinTextBox1";
251 | this.skinTextBox1.NormlBack = null;
252 | this.skinTextBox1.Padding = new System.Windows.Forms.Padding(5);
253 | this.skinTextBox1.ReadOnly = false;
254 | this.skinTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.None;
255 | this.skinTextBox1.Size = new System.Drawing.Size(81, 28);
256 | //
257 | //
258 | //
259 | this.skinTextBox1.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
260 | this.skinTextBox1.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
261 | this.skinTextBox1.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
262 | this.skinTextBox1.SkinTxt.Location = new System.Drawing.Point(5, 5);
263 | this.skinTextBox1.SkinTxt.Name = "BaseText";
264 | this.skinTextBox1.SkinTxt.Size = new System.Drawing.Size(71, 18);
265 | this.skinTextBox1.SkinTxt.TabIndex = 0;
266 | this.skinTextBox1.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
267 | this.skinTextBox1.SkinTxt.WaterText = "";
268 | this.skinTextBox1.TabIndex = 5;
269 | this.skinTextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
270 | this.skinTextBox1.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
271 | this.skinTextBox1.WaterText = "";
272 | this.skinTextBox1.WordWrap = true;
273 | //
274 | // skinLabel5
275 | //
276 | this.skinLabel5.AutoSize = true;
277 | this.skinLabel5.BackColor = System.Drawing.Color.Transparent;
278 | this.skinLabel5.BorderColor = System.Drawing.Color.White;
279 | this.skinLabel5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
280 | this.skinLabel5.Location = new System.Drawing.Point(482, 18);
281 | this.skinLabel5.Name = "skinLabel5";
282 | this.skinLabel5.Size = new System.Drawing.Size(68, 17);
283 | this.skinLabel5.TabIndex = 4;
284 | this.skinLabel5.Text = "楼层信息:";
285 | //
286 | // skinLabel4
287 | //
288 | this.skinLabel4.AutoSize = true;
289 | this.skinLabel4.BackColor = System.Drawing.Color.Transparent;
290 | this.skinLabel4.BorderColor = System.Drawing.Color.White;
291 | this.skinLabel4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
292 | this.skinLabel4.Location = new System.Drawing.Point(322, 18);
293 | this.skinLabel4.Name = "skinLabel4";
294 | this.skinLabel4.Size = new System.Drawing.Size(68, 17);
295 | this.skinLabel4.TabIndex = 3;
296 | this.skinLabel4.Text = "房间状态:";
297 | //
298 | // skinLabel3
299 | //
300 | this.skinLabel3.AutoSize = true;
301 | this.skinLabel3.BackColor = System.Drawing.Color.Transparent;
302 | this.skinLabel3.BorderColor = System.Drawing.Color.White;
303 | this.skinLabel3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
304 | this.skinLabel3.Location = new System.Drawing.Point(163, 18);
305 | this.skinLabel3.Name = "skinLabel3";
306 | this.skinLabel3.Size = new System.Drawing.Size(68, 17);
307 | this.skinLabel3.TabIndex = 2;
308 | this.skinLabel3.Text = "房间类型:";
309 | //
310 | // skinLabel2
311 | //
312 | this.skinLabel2.AutoSize = true;
313 | this.skinLabel2.BackColor = System.Drawing.Color.Transparent;
314 | this.skinLabel2.BorderColor = System.Drawing.Color.White;
315 | this.skinLabel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
316 | this.skinLabel2.Location = new System.Drawing.Point(9, 57);
317 | this.skinLabel2.Name = "skinLabel2";
318 | this.skinLabel2.Size = new System.Drawing.Size(68, 17);
319 | this.skinLabel2.TabIndex = 1;
320 | this.skinLabel2.Text = "备注信息:";
321 | //
322 | // skinLabel1
323 | //
324 | this.skinLabel1.AutoSize = true;
325 | this.skinLabel1.BackColor = System.Drawing.Color.Transparent;
326 | this.skinLabel1.BorderColor = System.Drawing.Color.White;
327 | this.skinLabel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
328 | this.skinLabel1.Location = new System.Drawing.Point(17, 18);
329 | this.skinLabel1.Name = "skinLabel1";
330 | this.skinLabel1.Size = new System.Drawing.Size(56, 17);
331 | this.skinLabel1.TabIndex = 0;
332 | this.skinLabel1.Text = "房间号:";
333 | //
334 | // skinGroupBox1
335 | //
336 | this.skinGroupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
337 | | System.Windows.Forms.AnchorStyles.Left)
338 | | System.Windows.Forms.AnchorStyles.Right)));
339 | this.skinGroupBox1.BackColor = System.Drawing.Color.Transparent;
340 | this.skinGroupBox1.BorderColor = System.Drawing.Color.DarkRed;
341 | this.skinGroupBox1.Controls.Add(this.skinDataGridView1);
342 | this.skinGroupBox1.ForeColor = System.Drawing.Color.Black;
343 | this.skinGroupBox1.Location = new System.Drawing.Point(7, 173);
344 | this.skinGroupBox1.Name = "skinGroupBox1";
345 | this.skinGroupBox1.RectBackColor = System.Drawing.Color.Transparent;
346 | this.skinGroupBox1.RoundStyle = CCWin.SkinClass.RoundStyle.All;
347 | this.skinGroupBox1.Size = new System.Drawing.Size(680, 256);
348 | this.skinGroupBox1.TabIndex = 2;
349 | this.skinGroupBox1.TabStop = false;
350 | this.skinGroupBox1.Text = "列表信息";
351 | this.skinGroupBox1.TitleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
352 | this.skinGroupBox1.TitleRectBackColor = System.Drawing.Color.White;
353 | this.skinGroupBox1.TitleRoundStyle = CCWin.SkinClass.RoundStyle.All;
354 | //
355 | // skinDataGridView1
356 | //
357 | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(246)))), ((int)(((byte)(253)))));
358 | this.skinDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
359 | this.skinDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
360 | | System.Windows.Forms.AnchorStyles.Left)
361 | | System.Windows.Forms.AnchorStyles.Right)));
362 | this.skinDataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
363 | this.skinDataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
364 | this.skinDataGridView1.ColumnFont = null;
365 | this.skinDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
366 | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
367 | dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(246)))), ((int)(((byte)(239)))));
368 | dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
369 | dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
370 | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
371 | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
372 | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
373 | this.skinDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
374 | this.skinDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
375 | this.skinDataGridView1.ColumnSelectForeColor = System.Drawing.SystemColors.HighlightText;
376 | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
377 | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
378 | dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
379 | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
380 | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(188)))), ((int)(((byte)(240)))));
381 | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.White;
382 | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
383 | this.skinDataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
384 | this.skinDataGridView1.EnableHeadersVisualStyles = false;
385 | this.skinDataGridView1.GridColor = System.Drawing.SystemColors.GradientActiveCaption;
386 | this.skinDataGridView1.HeadFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
387 | this.skinDataGridView1.HeadSelectForeColor = System.Drawing.SystemColors.HighlightText;
388 | this.skinDataGridView1.Location = new System.Drawing.Point(20, 31);
389 | this.skinDataGridView1.MultiSelect = false;
390 | this.skinDataGridView1.Name = "skinDataGridView1";
391 | this.skinDataGridView1.ReadOnly = true;
392 | this.skinDataGridView1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
393 | this.skinDataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
394 | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
395 | dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
396 | dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
397 | dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
398 | this.skinDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4;
399 | this.skinDataGridView1.RowTemplate.Height = 23;
400 | this.skinDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
401 | this.skinDataGridView1.Size = new System.Drawing.Size(644, 180);
402 | this.skinDataGridView1.TabIndex = 0;
403 | this.skinDataGridView1.TitleBack = null;
404 | this.skinDataGridView1.TitleBackColorBegin = System.Drawing.Color.White;
405 | this.skinDataGridView1.TitleBackColorEnd = System.Drawing.Color.FromArgb(((int)(((byte)(83)))), ((int)(((byte)(196)))), ((int)(((byte)(242)))));
406 | this.skinDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.skinDataGridView1_CellClick);
407 | //
408 | // RoomWeihu
409 | //
410 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
411 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
412 | this.ClientSize = new System.Drawing.Size(694, 436);
413 | this.Controls.Add(this.skinGroupBox1);
414 | this.Controls.Add(this.jibenxinxi);
415 | this.Controls.Add(this.skinMenuStrip1);
416 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
417 | this.MainMenuStrip = this.skinMenuStrip1;
418 | this.Name = "RoomWeihu";
419 | this.Text = " ";
420 | this.Load += new System.EventHandler(this.RoomWeihu_Load);
421 | this.skinMenuStrip1.ResumeLayout(false);
422 | this.skinMenuStrip1.PerformLayout();
423 | this.jibenxinxi.ResumeLayout(false);
424 | this.jibenxinxi.PerformLayout();
425 | this.skinGroupBox1.ResumeLayout(false);
426 | ((System.ComponentModel.ISupportInitialize)(this.skinDataGridView1)).EndInit();
427 | this.ResumeLayout(false);
428 | this.PerformLayout();
429 |
430 | }
431 |
432 | #endregion
433 |
434 | private CCWin.SkinControl.SkinMenuStrip skinMenuStrip1;
435 | private System.Windows.Forms.ToolStripMenuItem 增加ToolStripMenuItem;
436 | private System.Windows.Forms.ToolStripMenuItem 保存ToolStripMenuItem;
437 | private System.Windows.Forms.ToolStripMenuItem 删除ToolStripMenuItem;
438 | private System.Windows.Forms.ToolStripMenuItem 取消ToolStripMenuItem;
439 | private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
440 | private CCWin.SkinControl.SkinGroupBox jibenxinxi;
441 | private CCWin.SkinControl.RtfRichTextBox rtfRichTextBox1;
442 | private CCWin.SkinControl.SkinComboBox skinComboBox3;
443 | private CCWin.SkinControl.SkinComboBox skinComboBox2;
444 | private CCWin.SkinControl.SkinComboBox skinComboBox1;
445 | private CCWin.SkinControl.SkinTextBox skinTextBox1;
446 | private CCWin.SkinControl.SkinLabel skinLabel5;
447 | private CCWin.SkinControl.SkinLabel skinLabel4;
448 | private CCWin.SkinControl.SkinLabel skinLabel3;
449 | private CCWin.SkinControl.SkinLabel skinLabel2;
450 | private CCWin.SkinControl.SkinLabel skinLabel1;
451 | private CCWin.SkinControl.SkinGroupBox skinGroupBox1;
452 | private CCWin.SkinControl.SkinDataGridView skinDataGridView1;
453 | }
454 | }
--------------------------------------------------------------------------------
/酒店管理系统/RoomWeihu.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using CCWin;
10 | using System.Data.SqlClient;
11 |
12 |
13 | namespace 酒店管理系统
14 | {
15 | public partial class RoomWeihu : Skin_Mac
16 | {
17 | public RoomWeihu()
18 | {
19 | InitializeComponent();
20 | }
21 |
22 | private void RoomWeihu_Load(object sender, EventArgs e)
23 | {
24 | Dataview();
25 | }
26 |
27 | public void Dataview()
28 | {
29 | SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=Hotel;Integrated Security=True");
30 | string sql = "select * from RoomID";
31 | con.Open(); //打开链接
32 | SqlDataAdapter myda = new SqlDataAdapter(sql, con);
33 | DataSet myds = new DataSet();
34 | myda.Fill(myds, "RoomID");
35 | ////设置skinDataGridView1控件第一列的列头文字
36 | //skinDataGridView1.Columns[0].HeaderText = "序号";
37 | ////设置skinDataGridView1控件第一列的列宽
38 | skinDataGridView1.DataSource = myds.Tables["RoomID"]; //表写入
39 | skinDataGridView1.Columns[0].Width = 80;
40 | skinDataGridView1.Columns[1].Width = 100;
41 | skinDataGridView1.Columns[2].Width = 100;
42 | skinDataGridView1.Columns[3].Width = 200;
43 | con.Close();
44 | }
45 |
46 |
47 |
48 | private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
49 | {
50 | this.Close();
51 | }
52 |
53 | private void 取消ToolStripMenuItem_Click(object sender, EventArgs e)
54 | {
55 | this.skinTextBox1.Text = "";
56 | skinComboBox1.Text ="";
57 | skinComboBox2.Text ="";
58 | rtfRichTextBox1.Text = "";
59 | foreach (DataGridViewRow row in skinDataGridView1.Rows)
60 | {
61 | row.Selected = false;
62 | }
63 | }
64 |
65 | private void 增加ToolStripMenuItem_Click(object sender, EventArgs e)
66 | {
67 | string connstring = "Data Source=.;Initial Catalog=Hotel;Integrated Security=True";
68 | string sql = "insert into RoomID(RoomID,RoomType,RoomState,RoomSug) values('"+skinTextBox1.Text+"','"+skinComboBox1.Text+"','"+skinComboBox2.Text+"','"+rtfRichTextBox1.Text+"')";
69 | SqlConnection conn = new SqlConnection(connstring);//connstring链接数据库语句
70 | conn.Open();
71 | SqlCommand comd = new SqlCommand(sql, conn);
72 | try
73 | {
74 | int count = comd.ExecuteNonQuery();
75 | conn.Close();
76 | if (count > 0)
77 | {
78 | MessageBox.Show("添加成功");
79 | Dataview();
80 | }
81 | else
82 | {
83 | MessageBox.Show("修改失败");
84 |
85 | }
86 | }
87 | catch
88 | {
89 | MessageBox.Show("不能添加重复的房间号");
90 | }
91 | }
92 |
93 | private void 删除ToolStripMenuItem_Click(object sender, EventArgs e)
94 | {
95 | string connstring = "Data Source=.;Initial Catalog=Hotel;Integrated Security=True";
96 | string sql = "delete from RoomID where RoomID='"+skinTextBox1.Text+"'";
97 | SqlConnection conn = new SqlConnection(connstring);//connstring链接数据库语句
98 | conn.Open();
99 | SqlCommand comd = new SqlCommand(sql, conn);
100 | try
101 | {
102 | int count = comd.ExecuteNonQuery();
103 | conn.Close();
104 | if (count > 0)
105 | {
106 | MessageBox.Show("删除成功");
107 | Dataview();
108 | }
109 | else
110 | {
111 | MessageBox.Show("修改失败");
112 |
113 | }
114 | }
115 | catch
116 | {
117 | MessageBox.Show("未找到要删除的列");
118 | }
119 | }
120 |
121 | private void 保存ToolStripMenuItem_Click(object sender, EventArgs e)
122 | {
123 | DialogResult r1= MessageBox.Show("是否保存当前修改?", "保存修改", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
124 | if (r1.ToString() == "Yes")
125 | {
126 | string connstring = "Data Source=.;Initial Catalog=Hotel;Integrated Security=True";
127 | string sql = "update RoomID set RoomType='" + skinComboBox1.Text + "' where RoomID='" + skinTextBox1.Text + "'";
128 | SqlConnection conn = new SqlConnection(connstring);//connstring链接数据库语句
129 | conn.Open();
130 | SqlCommand comd = new SqlCommand(sql, conn);
131 | int count = comd.ExecuteNonQuery();
132 | conn.Close();
133 | if (count > 0)
134 | {
135 | MessageBox.Show("修改成功");
136 | Dataview();
137 | }
138 | else
139 | {
140 | MessageBox.Show("修改失败");
141 |
142 | }
143 | }
144 | }
145 |
146 | private void 删除ToolStripMenuItem_Click()
147 | {
148 |
149 | }
150 |
151 | private void skinDataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
152 | {
153 | if (this.skinDataGridView1.SelectedRows != null && this.skinDataGridView1.SelectedRows.Count > 0)
154 | {
155 | this.skinTextBox1.Text = this.skinDataGridView1.SelectedRows[0].Cells[0].Value.ToString();
156 | skinComboBox1.Text = skinDataGridView1.SelectedRows[0].Cells[1].Value.ToString();
157 | //其它的文本框以此类推,改变Cells的索引值就可以了。
158 | skinComboBox2.Text = skinDataGridView1.SelectedRows[0].Cells[2].Value.ToString();
159 | // skinComboBox3.Text = skinDataGridView1.SelectedRows[0].Cells[3].Value.ToString();
160 | rtfRichTextBox1.Text = skinDataGridView1.SelectedRows[0].Cells[3].Value.ToString();
161 | }
162 | }
163 |
164 |
165 |
166 | }
167 | }
168 |
--------------------------------------------------------------------------------
/酒店管理系统/SqlHelper.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Data.SqlClient;//第一步:引用与sql相关的命名空间
6 | using System.Data;//引用表的命名空间
7 |
8 | namespace 酒店管理系统
9 | {
10 | public class SqlHelper//设置为公共类
11 | {
12 | public static string connstr = "Data Source=.;Initial Catalog=Hotel;Integrated Security=True";//公共的静态的 连接字符串
13 | // //执行查询,并返回查询所返回的结果集中第一行的第一列。所有其他的列和行将被忽略。
14 | // ExecuteScalar()方法也用来执行SQL语句,但是ExecuteScalar()执行SQL语句后的返回值与 ExecuteNonQuery()并不相同,ExecuteScalar()方法的返回值的数据类型是Object类型。
15 | //object类型,也就是说是所有数据类型的基类,可根据select所得的第一列的数据类型转换为对应的数据类型
16 | //例。
17 | public static int ExecuteScalar(string cmdText, params SqlParameter[] pms)
18 | {
19 | //params:不限长度的数组
20 | //第一步:创建数据库对象连接
21 | SqlConnection conn = new SqlConnection(connstr);
22 | //第二步:打开数据库
23 | conn.Open();
24 | //第三步:创建数据库命令对象和数据库查询语句
25 | SqlCommand cmd = new SqlCommand(cmdText, conn);
26 | //第四步:创建参数对象
27 | //cmd.Parameters.Add(pms);//如果我们在这里直接放入pms数组,那么cmd添加进去的都是SqlParameter,而不是具体的参数。
28 |
29 |
30 | // int[] ii = new int[5] { 1,2,3,4,5 };
31 | if (pms != null)
32 | {
33 |
34 | //for (int i = 0; i
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/酒店管理系统/ico/bookmarks_list_add.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/bookmarks_list_add.ico
--------------------------------------------------------------------------------
/酒店管理系统/ico/button_cancel.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/button_cancel.ico
--------------------------------------------------------------------------------
/酒店管理系统/ico/editdelete.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/editdelete.ico
--------------------------------------------------------------------------------
/酒店管理系统/ico/exit.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/exit.ico
--------------------------------------------------------------------------------
/酒店管理系统/ico/filesave.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/filesave.ico
--------------------------------------------------------------------------------
/酒店管理系统/ico/login.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/login.ico
--------------------------------------------------------------------------------
/酒店管理系统/ico/network.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/network.ico
--------------------------------------------------------------------------------
/酒店管理系统/ico/previous.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/ico/previous.ico
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.FormMain.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.FormMain.resources
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.Formkaifang.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.Formkaifang.resources
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.Formyewu.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.Formyewu.resources
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.Formzouren.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.Formzouren.resources
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.Login.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.Login.resources
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.Properties.Resources.resources
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.RoomWeihu.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.RoomWeihu.resources
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\酒店管理系统.exe
2 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\酒店管理系统.pdb
3 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\CSkin.dll
4 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\CSkin.xml
5 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.csprojResolveAssemblyReference.cache
6 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Login.resources
7 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Properties.Resources.resources
8 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.csproj.GenerateResource.Cache
9 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.exe
10 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.pdb
11 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.FormMain.resources
12 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.RoomWeihu.resources
13 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Formyewu.resources
14 | C:\Users\wodetian\Desktop\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Formjiezhang.resources
15 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.exe
16 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.pdb
17 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\酒店管理系统.exe
18 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\酒店管理系统.pdb
19 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\CSkin.dll
20 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\bin\Debug\CSkin.xml
21 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.csprojResolveAssemblyReference.cache
22 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Login.resources
23 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.FormMain.resources
24 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Formyewu.resources
25 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Properties.Resources.resources
26 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.RoomWeihu.resources
27 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.csproj.GenerateResource.Cache
28 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Formkaifang.resources
29 | F:\popo\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.Formzouren.resources
30 | G:\biancheng\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.exe
31 | G:\biancheng\c#\2016-3-28winform西安项目\酒店管理系统\酒店管理系统\obj\Debug\酒店管理系统.pdb
32 |
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.exe
--------------------------------------------------------------------------------
/酒店管理系统/obj/Debug/酒店管理系统.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/obj/Debug/酒店管理系统.pdb
--------------------------------------------------------------------------------
/酒店管理系统/tuli/delete_group.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/tuli/delete_group.ico
--------------------------------------------------------------------------------
/酒店管理系统/tuli/edit_group.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/tuli/edit_group.ico
--------------------------------------------------------------------------------
/酒店管理系统/tuli/encrypted.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/tuli/encrypted.ico
--------------------------------------------------------------------------------
/酒店管理系统/tuli/fileclose.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/tuli/fileclose.ico
--------------------------------------------------------------------------------
/酒店管理系统/tuli/flag.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gzwstudy/Csharp-winform/0ae9961d5f55a8fca57475074392b564d8734ae7/酒店管理系统/tuli/flag.ico
--------------------------------------------------------------------------------
/酒店管理系统/酒店管理系统.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {9D8B43CC-91B2-4E1A-90B3-C2BDB37EF77A}
8 | WinExe
9 | Properties
10 | 酒店管理系统
11 | 酒店管理系统
12 | v4.0
13 | 512
14 |
15 |
16 | AnyCPU
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | AnyCPU
27 | pdbonly
28 | true
29 | bin\Release\
30 | TRACE
31 | prompt
32 | 4
33 |
34 |
35 |
36 | CSkin 4.0\CSkin.dll
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | Form
53 |
54 |
55 | Formkehu.cs
56 |
57 |
58 | Form
59 |
60 |
61 | FormLogin.cs
62 |
63 |
64 | Form
65 |
66 |
67 | FormMain.cs
68 |
69 |
70 | Form
71 |
72 |
73 | Formyewu.cs
74 |
75 |
76 | Form
77 |
78 |
79 | Formzouren.cs
80 |
81 |
82 |
83 |
84 | Form
85 |
86 |
87 | RoomWeihu.cs
88 |
89 |
90 |
91 | Formkehu.cs
92 |
93 |
94 | FormLogin.cs
95 |
96 |
97 | FormMain.cs
98 |
99 |
100 | Formyewu.cs
101 |
102 |
103 | Formzouren.cs
104 |
105 |
106 | ResXFileCodeGenerator
107 | Resources.Designer.cs
108 | Designer
109 |
110 |
111 | True
112 | Resources.resx
113 | True
114 |
115 |
116 | RoomWeihu.cs
117 |
118 |
119 | SettingsSingleFileGenerator
120 | Settings.Designer.cs
121 |
122 |
123 | True
124 | Settings.settings
125 | True
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
169 |
--------------------------------------------------------------------------------