Thursday 16 October 2014

Example : DialogButton with box YesNo


Dialogbutton db;
;
db = box::yesNo("Choose Yes or No", dialogButton::Yes, "YesNo Box Example");
if (db == dialogButton::Yes)
  {
      info( "We chose Yes");
  }
else if (db == dialogButton::No)
{
     info( "We chose No");
}

@RahulTalasila

No comments:

Post a Comment

Adding a newline into a string in C# and X++

Below is the sample code we can use for  adding a newline after every occurrence of "@" symbol in the string in C#   using System...