[Gtk-sharp-list] I really need some sort of tutorial

Chris Howie cdhowie at gmail.com
Tue Jun 3 11:52:56 EDT 2008


On Mon, Jun 2, 2008 at 10:35 AM, Adam Tauno Williams
<adam at morrison-ind.com> wrote:
> I assume your Window / Dialog with the form fields is a class?  Just
> expose the fields as properties might be the simplest way.
>
> ...
> public string Jackpot { set { jackpot.Text = value; } }
> ...
>
> That should update the value in the field.  Have your command class call
> that method of your Window/Dialog/Form class.
>
> [snip]
>
> You can either update the field whenever the value is changed by the
> calculation or call a Timer to refresh the values from the command
> class.

If the application is multi-threaded, this approach will die horribly.
 Kenneth, have a look at
<http://www.mono-project.com/Responsive_Applications>.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Gtk-sharp-list mailing list