void AddRoom_Load(object sender, EventArgs e)
{
if (this.Text == "修改客房")
{
this.textBoxRoomName.Text = RoomInformation.NewRoom.Name;
this.textBoxRoomDeposit.Text = Convert.ToString(RoomInformation.NewRoom.Deposit);
this.textBoxRoomDayCount.Text = Convert.ToString(RoomInformation.NewRoom.DayCount);
this.comboBoxRoomType.SelectedIndex = Convert.ToInt32(RoomInformation.NewRoom.Type);
this.textBoxRoomName.ReadOnly = true;
}
}