using System;
using HDL_ON.UI.UI2.Intelligence.Automation.LogicView;
using Shared;
namespace HDL_ON.UI.UI2.FuntionControlView.Video.View
{
public class FrameLayout50
{
///
/// 主控件View
///
public FrameLayout frameLayout = new FrameLayout
{
Height = Application.GetRealHeight(50),
// BackgroundColor = CSS.CSS_Color.view,
};
///
/// 文本描述
///
public Button btnText = new Button
{
Y = Application.GetRealHeight(24),
Width = Application.GetRealWidth(200),
Height = Application.GetRealHeight(22),
TextColor = CSS.CSS_Color.textColor,
TextSize = TextSize.text16,
TextAlignment = TextAlignment.CenterLeft,
IsBold = true,
Text= "2020"+Language.StringByID(StringId.nian),
};
public Button btnClick = new Button
{
Height = Application.GetRealHeight(50),
};
///
/// View的方法
///
///
public FrameLayout FLayoutView()
{
frameLayout.AddChidren(btnText);
frameLayout.AddChidren(btnClick);
return frameLayout;
}
}
}