RoomStatus.cs
(开头部分) 23KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
using System.Reflection;
namespace 酒店管理系统
{
/// <summary>
/// RoomStatus 的摘要说明。
/// </summary>
public class RoomStatus : System.Windows.Forms.Form
{
private DataTable roomTable;//一个空的4行16列的表
private DataTable statusTable=new DataTable();//保存客房信息
private int formType=0;//确定窗体是用于显示房态还是选择房间,以及由哪个窗体调用选择房间
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.DataGrid dataGrid1;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Button btnRefresh;
private System.Windows.Forms.RadioButton rb1;
private System.Windows.Forms.RadioButton rb2;
private System.Windows.Forms.RadioButton rb3;
private System.Windows.Forms.RadioButton rb4;
private System.Windows.Forms.RadioButton rb5;
private System.Windows.Forms.RadioButton rb6;
private System.Windows.Forms.Button btnModify;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txt1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox cmb1;
private System.ComponentModel.IContainer components;
public RoomStatus(int useType)
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
formType=useType;//由构造函数参数确定是否为双击选择房间而用
//formType=0代表正常房态图显示,1表示由客房预定窗体调用,2表示由客房入住窗体调用
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
后面还有 618 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
