I'm using a WebBrowser control in my Visual C# (.net 2.0) application.
Now I'd like to add a print button which shows the page setup dialog and then directly prints when the user presses the OK button or cancels the printing when the user presses the cancel button.
However WebBrowser.ShowPageSetupDialog doesn't return DialogResult, but j...
In System.Windows.Forms.Button there is a property DialogResult, where is this property in the System.Windows.Controls.Button (WPF)?
...
I want to make simple Y/N messagebox but I think it is nonsense to design a form for that. I thought I can use MessageBox, add buttons etc. It is simple but since there is no dialog result, I don't know how to retrieve the result?
...
hi i have on object (serverconnection from sqlserver Managament object ) i need send this object to other form to configure connection option and connect so object return but when i send this object to form2 how return it or when i use form.ShowDialog() when this return or how return from this
...
I have a form that calls a custom child form. The child form is basically a popup box that gets some user data.
I want the Parent form to process information returned by the Child form.
The problem is, the Parent form is calling the Child, and isn't waiting for a reply.
Ideally, I'd like to make the Child form return a DialogResult. ...
EDIT: This method actually works great and I asked it then found the solution later. I added the correct call in the overloaded ShowDialog() method (it's not exacly an overload, or even an override, but it works just the same. My new question is the one at the bottom.
I have a form in which you click one of three buttons. I have define...