Hi,
Sorry posted the last to the wrong message. Try something like
this.
Private mstrParameter As String
Public Event PropertyChanged(ByVal e As EventArgs)
Public Property MyParameter() As String
Get
Return mstrParameter
End Get
Set(ByVal Value As String)
mstrParameter = Value
If Not Me.DesignMode Then RaiseEvent PropertyChanged(New
EventArgs)
End Set
End Property
Ken
--------------------
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OY**************@tk2msftngp13.phx.gbl...
Hi,
Create a windows hook to look for the WM_DEVICECHANGE message.
http://msdn.microsoft.com/msdnmag/is...0/CuttingEdge/
http://www.dotnet247.com/247referenc...43/217435.aspx
Ken
--------------------
"David L Wright II" <dl******@radiks.net> wrote in message
news:eJ*************@TK2MSFTNGP09.phx.gbl...I am extending the datagrid by adding 3 parameters that can be set both
during design time and run time. How can I develop an event that is
executed at run time based on the value of the parameter?