hi,
i have an issue with the multiline rich text box. i want to close the text box after appending some strings into it.can u suggest me a way to do this

string str1="I Have an issue with RICH TEXT BOX WHICH I NEED TO SOLVE ASAP";
querybox.appendtext(str1);
querybox.showdialog();

this code gets executed every time i click on a button
is there a way to set the showdialog property to false or do i have to just delete the showdialog line to stop it from displayin it for more than one time.

DO you want to perform this action once? if yes then you can use an integer to do this as

int clickcount=0;

{
//rest code
if(clickcount==0)
{
string str1="I Have an issue with RICH TEXT BOX WHICH I NEED TO SOLVE ASAP";
querybox.appendtext(str1);
querybox.showdialog();
}
clickcount++;
//rest code
}

BTW why are you using querybox.showdialog();