<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                win10通知使用Toast 可以使用win10 模板添加通知 ~~~ var t = Windows.UI.Notifications.ToastTemplateType.ToastText02; ~~~ 使用GetTemplateContent得到模板xml,可以修改 ~~~ var content = Windows.UI.Notifications.ToastNotificationManager.GetTemplateContent(t); ~~~ 用XmlNodeList xml = content.GetElementsByTagName("text");來得到xml節點 ~~~ xml[0].AppendChild(content.CreateTextNode("通知")); xml[1].AppendChild(content.CreateTextNode("小文本")); ~~~ 用Windows.UI.Notifications.ToastNotification toast = new ToastNotification(content); ~~~ ToastNotificationManager.CreateToastNotifier().Show(toast);通知 ~~~ 代碼 ~~~ //選擇消息模板 //ToastImageAndText01 在三行文本中被包裝的大型圖像和單個字符串 //ToastImageAndText02 大圖像、加粗文本的一個字符串在第一行、常規文本的一個字符串包裝在第二、三行中 //ToastImageAndText03 大圖像、加粗文本的一個字符串被包裝在開頭兩行中、常規文本的一個字符串包裝在第三行中 //ToastImageAndText04 大圖像、加粗文本的一個字符串在第一行、常規文本的一個字符串在第二行中、常規文本的一個字符串在第三行中 //ToastText01 包裝在三行文本中的單個字符串 //ToastText02 第一行中加粗文本的一個字符串、覆蓋第二行和第三行的常規文本的一個字符串。 //ToastText03 覆蓋第一行和第二行的加粗文本的一個字符串。第三行中常規文本的一個字符串 //ToastText04 第一行中加粗文本的一個字符串、第二行中常規文本的一個字符串、第三行中常規文本的一個字符串 var t = Windows.UI.Notifications.ToastTemplateType.ToastText02; //在模板添加xml要的標題 var content = Windows.UI.Notifications.ToastNotificationManager.GetTemplateContent(t); //需要using Windows.Data.Xml.Dom; XmlNodeList xml = content.GetElementsByTagName("text"); xml[0].AppendChild(content.CreateTextNode("通知")); xml[1].AppendChild(content.CreateTextNode("小文本")); //需要using Windows.UI.Notifications; Windows.UI.Notifications.ToastNotification toast = new ToastNotification(content); ToastNotificationManager.CreateToastNotifier().Show(toast); ~~~ 代碼:[https://code.csdn.net/lindexi_gd/lindexi_gd/tree/master/Toast_%E9%80%9A%E7%9F%A5](https://code.csdn.net/lindexi_gd/lindexi_gd/tree/master/Toast_%E9%80%9A%E7%9F%A5) 文章有參考某大神,但是忘了他寫的在哪,很抱歉
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看