In a VB.NET Windows Forms application I have a Module called
AppConfiguration.vb. this holds values from the Options window.

What I want to do is if the user has the report form open and then the
user opens the options window and changes the spell checker option to
autocheck = true. How can I pass this to the open reports form so I can
respond to the event notification and take action?


AppModule.vb
============

Module AppConfiguration

Private useSpellCheckerAutoCorrect As Boolean

Public Property UseSpellCheckerAutoCorrect() As Boolean
Get
Return useSpellCheckerAutoCorrect
End Get
Set(ByVal Value As Boolean)
useSpellCheckerAutoCorrect = Value
RaiseEvent SpellCheckerAutoCorrectOptionChanged(Value)
End Set
End Property

End Module


Reports.vb
==========

Public Class Reports

'How Do I handle The Event in Here?

End Class






*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!