| | |
| | | |
| | | btnTip.X = Application.GetRealWidth(53); |
| | | btnTip.Y = editBjView.Bottom + Application.GetRealHeight(12); |
| | | btnTip.Width = Application.GetRealWidth(200); |
| | | btnTip.Height = Application.GetRealHeight(17); |
| | | btnTip.Width = Application.GetRealWidth(157);//200 |
| | | btnTip.Height = Application.GetRealHeight(24);//17 |
| | | btnTip.Text = errorId_IsNullOrEmpty; |
| | | btnTip.TextColor = CSS_Color.textRedColor; |
| | | btnTip.TextSize = TextSize.text12; |
| | | btnTip.TextAlignment = TextAlignment.CenterLeft; |
| | | btnTip.IsMoreLines = true; |
| | | return; |
| | | } |
| | | |
| | |
| | | /// 信息提示窗口,自动关闭 |
| | | /// </summary> |
| | | /// <param name="msg">提示错误文本</param> |
| | | public void FlashingBox(string msg,int time=2000) |
| | | public void FlashingBox(string msg,int time=2) |
| | | { |
| | | new PublicAssmebly().TipMsgAutoClose(msg, false, time); |
| | | new PublicAssmebly().TipMsgAutoClose(msg, false, time*1000); |
| | | } |
| | | |
| | | /// <summary> |