I am trying to develop a custom input dialog box. In its constructor I want to take a parameter as follows-
PromptType.Question
PromptType.Information
PromptType.Feedback
//etc....
private void buttonTest_Click(object sender, System.EventArgs e)
{
InputBoxResult result = InputBox.Show("Some title",PromptType.Question);
}
How can i do it??
What you want is an enum: