VB Code:
Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
m_Test = PropBag.ReadProperty("Test", m_def_Test)
End Sub
Private Sub UserControl_WriteProperties(PropBag As PropertyBag)
Call PropBag.WriteProperty("Test", m_Test, m_def_Test)
End Sub
When the user of your control changes a property in the Properties Window of that control, that value needs to be saved somewhere (in the .FRX file) so that next time the control is instantiated (i.e. when the project is run) that value can be read from the property bag and used as the initial value of that property rather than the default value you specified when you created the control.