I want to encapsulate MessageBox Class inside another Class and pass this object to some method and get Text, Caption, Buttons, Icon for MessageBox from the method based on business logic, and show the message in calling method..
How can I do this?
Please show some code samples..
1 Answer