Beispiel #1
0
 /// <summary>
 /// 显示弹框
 /// </summary>
 /// <param name="title">弹框标题</param>
 /// <param name="content">弹框主体内容</param>
 /// <param name="AlertTheme">弹框类型</param>
 /// <param name="userButton1">交互按钮1</param>
 /// <param name="userButton2">交互按钮2</param>
 /// <param name="alertConfig">用户自定义配置</param>
 public static void Show(string title, string content, AlertTheme AlertTheme, UserButton userButton1, UserButton userButton2, AlertConfig alertConfig)
 => Show(title, content, AlertTheme, new List <UserButton>()
 {
     userButton1, userButton2
 }, alertConfig);
Beispiel #2
0
 /// <summary>
 /// 显示弹框
 /// </summary>
 /// <param name="title">弹框标题</param>
 /// <param name="content">弹框主体内容</param>
 /// <param name="AlertTheme">弹框类型</param>
 /// <param name="userButton">交互按钮</param>
 public static void Show(string title, string content, AlertTheme AlertTheme, UserButton userButton)
 => Show(title, content, AlertTheme, new List <UserButton>()
 {
     userButton
 }, null);