企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 函数 ``` <pre class="calibre18">``` <span class="token1">sizeof</span><span class="token2">(</span>int<span class="token2">)</span> 数据在本平台长度 MessageBox<span class="token2">.</span><span class="token1">Show</span><span class="token2">(</span><span class="token4">"消息内容"</span><span class="token2">,</span> <span class="token4">"返回值 确定1"</span><span class="token2">,</span>MessageBoxButtons<span class="token2">.</span>OK<span class="token2">,</span>MessageBoxIcon<span class="token2">.</span>Question<span class="token2">)</span><span class="token2">;</span> MessageBox<span class="token2">.</span><span class="token1">Show</span><span class="token2">(</span><span class="token4">"消息内容"</span><span class="token2">,</span><span class="token2">,</span> <span class="token4">"返回值 确定1 取消2"</span><span class="token2">,</span>MessageBoxButtons<span class="token2">.</span>OKCancel<span class="token2">,</span> MessageBoxIcon<span class="token2">.</span>Asterisk<span class="token2">)</span><span class="token2">;</span> MessageBox<span class="token2">.</span><span class="token1">Show</span><span class="token2">(</span><span class="token4">"消息内容"</span><span class="token2">,</span> <span class="token4">"返回值 终止3 重试4 忽略5"</span><span class="token2">,</span>MessageBoxButtons<span class="token2">.</span>AbortRetryIgnore<span class="token2">,</span>MessageBoxIcon<span class="token2">.</span>Error<span class="token2">)</span><span class="token2">;</span> MessageBox<span class="token2">.</span><span class="token1">Show</span><span class="token2">(</span><span class="token4">"消息内容"</span><span class="token2">,</span> <span class="token4">"返回值 是6 否7 取消2"</span><span class="token2">,</span>MessageBoxButtons<span class="token2">.</span>YesNoCancel<span class="token2">,</span> MessageBoxIcon<span class="token2">.</span>Exclamation<span class="token2">)</span><span class="token2">;</span> MessageBox<span class="token2">.</span><span class="token1">Show</span><span class="token2">(</span><span class="token4">"消息内容"</span><span class="token2">,</span> <span class="token4">"返回值 是6 否7"</span><span class="token2">,</span>MessageBoxButtons<span class="token2">.</span>YesNo<span class="token2">,</span> MessageBoxIcon<span class="token2">.</span>Hand<span class="token2">)</span><span class="token2">;</span> MessageBox<span class="token2">.</span><span class="token1">Show</span><span class="token2">(</span><span class="token4">"消息内容"</span><span class="token2">,</span> <span class="token4">"返回值 重试4 取消2"</span><span class="token2">,</span>MessageBoxButtons<span class="token2">.</span>RetryCancel<span class="token2">,</span> MessageBoxIcon<span class="token2">.</span>Information<span class="token2">)</span><span class="token2">;</span> MessageBox<span class="token2">.</span><span class="token1">Show</span><span class="token2">(</span><span class="token4">"消息内容"</span><span class="token2">,</span> <span class="token4">"返回值 确定1"</span><span class="token2">,</span> MessageBoxButtons<span class="token2">.</span>OK<span class="token2">,</span> MessageBoxIcon<span class="token2">.</span>None<span class="token2">)</span><span class="token2">;</span> MessageBoxIcon<span class="token2">.</span>Warning警告 ``` ```