Re: Refreshing a Windows Form
- From: "Ignacio Machin \( .NET/ C# MVP \)" <ignacio.machin AT dot.state.fl.us>
- Date: Mon, 1 Aug 2005 08:40:33 -0400
Hi,
What you really need to do is call a method in the parent form that refresh
the info displayed in the controls,
refreshing the form is only repaint it, each control repaint itself using
the data they contains.
If the info that they need to display changed, you will have to update them,
then they will repaint itself alone :)
Create a method ( you probably have one already ) that will assign the info
read from the webservice to the control, you have to call this method when
the second form closes.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Robert Clark" <rclark> wrote in message
news:%23$DEKxnlFHA.3936@xxxxxxxxxxxxxxxxxxxxxxx
> This a pocket pc/smartphone questions mainly, but i thought i'd ask the
> question in the C# newsgroup. I have a form which i use to display
> information from a web service. From this form i open another Form. On
> this form i update the webservice which in turn updates the information
> displayed on the previous form. When i close this form, I wish to refresh
> the previous Form to show the new modified data.
>
> How can i do this?
>
> Is there a way to refresh the form every time it gains focus ?
>
.
- References:
- Refreshing a Windows Form
- From: Robert Clark
- Refreshing a Windows Form
- Prev by Date: Re: Using TempFileCollection
- Next by Date: Re: Need help with multiple socket server
- Previous by thread: Refreshing a Windows Form
- Next by thread: how to window search CSharp file word or phase??
- Index(es):
Relevant Pages
|