Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dear all,

how can useing the event for private inputbox in wpf will be use code c#

thanks
Posted
Comments
Prerak Patel 6-Feb-12 5:57am    
What is private inputbox? Is it Microsoft.VisualBasic.Interaction.InputBox or custom control?

1 solution

I don't get the question. Who cares if it is private ? You hook up the events the same way you always would, with code.

You can use an anonymous delegate if you're creating objects on the fly and don't want to write a method for an event handler.
 
Share this answer
 
Comments
khalid_rf 6-Feb-12 7:18am    
i want messagebox out it's requst value can do it?
Christian Graus 6-Feb-12 7:21am    
I have no idea what you're asking. What do you want ?
khalid_rf 6-Feb-12 7:30am    
int x;
x=inputbox("enter th value",x)

i want messagebox display out messega and requst value

thanks
Christian Graus 6-Feb-12 7:32am    
inputbox is not a WPF construct, it's ugly, VB6 based winforms stuff. If you want a WPF box that asks for a value and returns it, you need to write one, I think.
khalid_rf 6-Feb-12 7:36am    
ok , how?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900