File was renamed from ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceFunctionUnallocatedControl.cs |
| | |
| | | namespace Shared.Phone.MainPage.Controls
|
| | | {
|
| | | /// <summary>
|
| | | /// 未分配界面的设备功能图标控件
|
| | | /// 设备功能菜单的图标控件
|
| | | /// </summary>
|
| | | public class DeviceFunctionUnallocatedControl : FrameLayoutStatuControl
|
| | | public class DeviceFunctionMenuControl : FrameLayoutStatuControl
|
| | | {
|
| | | #region ■ 变量声明___________________________
|
| | |
|
| | |
| | | /// <summary>
|
| | | /// 未分配界面的设备功能图标控件
|
| | | /// </summary>
|
| | | public DeviceFunctionUnallocatedControl()
|
| | | public DeviceFunctionMenuControl()
|
| | | {
|
| | | this.Width = Application.GetRealWidth(220);
|
| | | this.Height = Application.GetRealHeight(279);
|
| | |
| | | /// <param name="text">显示的文本</param>
|
| | | /// <param name="unSelectPath">图片1</param>
|
| | | /// <param name="selectPath">图片2</param>
|
| | | /// <param name="listDevice">设备列表</param>
|
| | | public void InitControl(string text, string unSelectPath, string selectPath, List<string> listDevice)
|
| | | public void InitControl(string text, string unSelectPath, string selectPath)
|
| | | {
|
| | | //背景控件
|
| | | this.btnBackGroud = new PicViewControl(150, 173);
|