title: Creating Input Box on C# Windows Form
body: <p>I have a c# windows form in which I need a pop-up box to appear if the an arraylist that is populated contains more than one item so the user can select one of the items from that arraylist.  I would like to avoid creating a seperate windows form for this if possible.  Is it possible to create an input box that would stay on this form and look similar to a messageBox.  The main problem is that I need to halt the code on this form from continuing to run until after the user either selects an item from the so called input box or cancels or closes out of the input box.  Then the code would either resume with the value from the arraylist the user selected in the input box or it would jump out of this sequence of code and do nothing if the user decides to not select an item from the input box.  I have never done anything like this before and would appreciate suggestions for the most efficient way of accomplishing this.  Thanks</p>