seat.cs
来自「影院售票管理系统 (1)具有方便、快速的售票功能」· CS 代码 · 共 38 行
CS
38 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace dianyingyuan
{
/// <summary>
/// 座位信息
/// </summary>
[Serializable]
class Seat
{
//座位号 属性
private string seatNum;
public string SeatNum
{
get { return seatNum; }
set { seatNum = value; }
}
//座位号颜色
private Color color;
public Color Color
{
get { return color; }
set { color = value; }
}
public Seat(string name,Color color)
{
this.SeatNum = name;
this.Color = color;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?