{"id":97,"date":"2016-02-12T17:19:19","date_gmt":"2016-02-12T17:19:19","guid":{"rendered":"https:\/\/ibex.tech\/csharp\/?p=97"},"modified":"2022-02-17T06:24:15","modified_gmt":"2022-02-17T06:24:15","slug":"using-message-boxes","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/c-sharp\/message-box\/using-message-boxes","title":{"rendered":"Using Message Boxes"},"content":{"rendered":"<h4>\n\tTypical Info Message Box<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tMessageBox.Show(&quot;Message Text&quot;, &quot;Message Box Title&quot;, MessageBoxButtons.OK, MessageBoxIcon.Information);\r\n<\/code><\/pre>\n<h4>\n\tAre you Sure Message Box<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tif (\r\n\t\tMessageBox.Show(\r\n\t\t\t\t\t&quot;Are you sure you want to do this?&quot;,\r\n\t\t\t\t\t&quot;Continue?&quot;,\r\n\t\t\t\t\tMessageBoxButtons.YesNo,\r\n\t\t\t\t\tMessageBoxIcon.Exclamation\r\n\t\t\t\t\t) == System.Windows.Forms.DialogResult.Yes)\r\n\t{\r\n<\/code><\/pre>\n<p>\n\t&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Typical Info Message Box MessageBox.Show(&quot;Message Text&quot;, &quot;Message Box Title&quot;, MessageBoxButtons.OK, MessageBoxIcon.Information); Are you Sure Message Box if ( MessageBox.Show( &quot;Are you sure you want to do this?&quot;, &quot;Continue?&quot;, MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation ) == System.Windows.Forms.DialogResult.Yes) { &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-message-box"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/97\/revisions\/156"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}