/// <summary> /// 显示提示对话框 /// </summary> /// <param name="content">内容</param> /// <param name="icon">图标</param> public static void ShowDialog(string content, AlertIcon icon) { AlertPopup notifyPopup = new AlertPopup(content, Icon[Convert.ToInt32(icon)]); notifyPopup.Show(); }