| | |
| | | { |
| | | public class DoorlockDialog : FrameLayout |
| | | { |
| | | /// <summary> |
| | | /// 门锁弹窗 |
| | | /// </summary> |
| | | /// <param name="dialog"></param> |
| | | /// <param name="title"></param> |
| | | public DoorlockDialog(Dialog dialog, string title) |
| | | { |
| | | this.dialog = dialog; |
| | | this.title = title; |
| | | } |
| | | /// <summary> |
| | | /// 弹窗标题 |
| | | /// </summary> |
| | | public string title = string.Empty; |
| | | public Dialog dialog; |
| | | |
| | | /// <summary> |
| | | /// 弹窗取消按键 |
| | | /// 弹窗标题栏下的线条 |
| | | /// </summary> |
| | | public Button dialogLine = new Button |
| | | { |
| | |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// 阴影部分 |
| | | /// 弹窗阴影背景 |
| | | /// </summary> |
| | | public FrameLayout flMain = new FrameLayout |
| | | { |
| | | BackgroundColor = 0x00000000, |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// 弹窗显示 |
| | | /// </summary> |
| | | public void Show() |
| | | { |
| | | dialog.Show(); |