64,691
社区成员
发帖
与我相关
我的任务
分享
enum HorizontalAlignment
{
Left,
Center,
Right,
Stretch
};
enum VerticalAlignment
{
Top,
Center,
Bottom,
Stretch
};
HorizontalAlignment horz;
horz = HorizontalAlignment.Left; // 编译不过
horz = HorizontalAlignment::Left; // 编译不过
struct HorizontalAlignment
{
enum
{
Left,
Center,
Right,
Stretch
};
};
struct VerticalAlignment
{
enum
{
Top,
Center,
Bottom,
Stretch
};
};