Group: Awaiting Activation
Posts: 172,
Visits: 12K
|
It is becoming evident that there is no corruption on my server ... the pattern that I did notice is that I can handle every event that either has no parameters or uses the standard .NET event argument base classes ... but as soon as one of the events uses one of the EventArgumentClasses contained in the Microfour StrataFrame Business solution:
AfterDeleteEventArgs
BeforeAddNewEventArgs
BeforeDeleteEventArgs
BusinessRuleCheckedEventArgs
CheckFieldSecurityEventArgs
CheckRulesEventArgs
CheckSecurityEventArgs
EditingStateChangedEventArgs
ErrorSavingByFormEventArgs
ErrorSavingEventArgs
NavigatedEventArgs
NavigatingEventArgs
SecurityDeniedEventArgs
UnsavedChangesExistEventArgs
I get that error saying that the signatures are different and I cannot handle the event in the Codebehind page.
Do Not Work
Public Sub Prefix_ErrorSavingEventHandler(ByVal e As MicroFour.StrataFrame.Business.ErrorSavingEventArgs) Handles oPrefix.ErrorSaving
End Sub
Protected Sub Prefix_EditingStateChangedEventHandler(ByVal e As MicroFour.StrataFrame.Business.EditingStateChangedEventArgs) Handles oPrefix.EditingStateChanged
End Sub
Protected Sub Prefix_AfterDelete(ByVal e As MicroFour.StrataFrame.Business.AfterDeleteEventArgs) Handles oPrefix.AfterDelete
End Sub
Protected Sub Prefix_AfterSave(ByVal e As MicroFour.StrataFrame.Data.AfterSaveUndoEventArgs) Handles oPrefix.AfterSave
End Sub
Protected Sub Prefix_BusinessRulesChecked(ByVal e As MicroFour.StrataFrame.Business.BusinessRulesCheckedEventArgs) Handles oPrefix.BusinessRulesChecked
End Sub
Work Just Fine
Protected Sub Prefix_FilterChanged(ByVal e As EventArgs) Handles oPrefix.FilterChanged
End Sub
Protected Sub Prefix_Whatever(ByVal sender As Object, ByVal e As System.EventArgs) Handles oPrefix.Disposed
End Sub
Protected Sub Prefix_AfterAddNew(ByVal e As System.EventArgs) Handles oPrefix.AfterAddNew
End Sub
Protected Sub Prefix_SetDefaultValues() Handles oPrefix.SetDefaultValues
End Sub
Protected Sub Prefix_ParentFormLoading() Handles oPrefix.ParentFormLoading
End Sub
Protected Sub Prefix_CurrentDataTableRefilled() Handles oPrefix.CurrentDataTableRefilled
End Sub
Protected Sub Prefix_ServerDataChanged(ByVal e As System.Data.SqlClient.SqlNotificationEventArgs) Handles oPrefix.ServerDataChanged
End Sub
Hope this helps.
C. T. Blankenship
Charles T. Blankenship Senior Consultant Novant Consulting, Inc. 704.975.7152 http://www.novantconsulting.com
|