我有一个带主窗口的WPF应用程序和从主窗口按钮打开的第二个窗口.我希望在Visual Studio中将第二个窗口打开为"关于"窗口时禁用主窗口.
我正在尝试创建一个类似 的链接[this](https://stackoverflow.com/),但我似乎无法找到任何可能的答案。
我已经尝试过降价语法(如上所示),但我似乎找不到任何其他答案。
这是我目前使用的代码:
message.author.send({
embed: new Discord.RichEmbed()
.setTitle("DiscordBot Help")
.setColor("#42b6f4")
.addField("help cosmetic - Cosmetic help.", "All cosmetic commands")
.addField("help economy - Economy help.", "All economy commands")
.addField("facts - Gives you facts", "Subcommands required")
.addField("credits - Shows the developers", "All hail the Creators!")
.addField("info - Fun info about DiscordBot", "10 fun facts.. or what?")
.addField("patch - Shows current patch/updates.", "UPDATES ARE AWESOME!")
// This is the line I'm having trouble with.
.addField("Add DiscordBot to your server! [Click here](https://discordapp.com/oauth2/authorize?client_id=439778986050977792&scope=bot&permissions=8)", …Run Code Online (Sandbox Code Playgroud)