On Mon, Jun 2, 2008 at 10:35 AM, Adam Tauno Williams <[EMAIL PROTECTED]> 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 _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list