@@ -24,14 +24,14 @@ Public Class ListViewProcess
|
||||
MyBase.OnActivated()
|
||||
If CType(View.Model, IModelListViewAllowSort).IsListViewProcess Then
|
||||
Else
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController)?.Active.SetItemValue("", False)
|
||||
End If
|
||||
End Sub
|
||||
Protected Overrides Sub OnDeactivated()
|
||||
MyBase.OnDeactivated()
|
||||
If CType(View.Model, IModelListViewAllowSort).IsListViewProcess Then
|
||||
Else
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController)?.Active.SetItemValue("", True)
|
||||
End If
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
@@ -31,10 +31,10 @@ Public Class ViewFilterContainerVC
|
||||
Frame.GetController(Of DialogController).CancelAction.Active.SetItemValue("", False)
|
||||
End If
|
||||
If Frame.GetController(Of RefreshController)() IsNot Nothing Then
|
||||
Frame.GetController(Of RefreshController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of RefreshController)?.Active.SetItemValue("", False)
|
||||
End If
|
||||
Frame.GetController(Of ModificationsController).Active.SetItemValue("", False)
|
||||
'Frame.GetController(Of RecordsNavigationController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of ModificationsController)?.Active.SetItemValue("", False)
|
||||
'Frame.GetController(Of RecordsNavigationController)?.Active.SetItemValue("", False)
|
||||
|
||||
End If
|
||||
|
||||
@@ -60,10 +60,10 @@ Public Class ViewFilterContainerVC
|
||||
Frame.GetController(Of DialogController).CancelAction.Active.SetItemValue("", True)
|
||||
End If
|
||||
If Frame.GetController(Of RefreshController)() IsNot Nothing Then
|
||||
Frame.GetController(Of RefreshController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of RefreshController)?.Active.SetItemValue("", True)
|
||||
End If
|
||||
Frame.GetController(Of ModificationsController).Active.SetItemValue("", True)
|
||||
'Frame.GetController(Of RecordsNavigationController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of ModificationsController)?.Active.SetItemValue("", True)
|
||||
'Frame.GetController(Of RecordsNavigationController)?.Active.SetItemValue("", True)
|
||||
End If
|
||||
End Sub
|
||||
Private Sub aResetRequireCriteriaBeforeView_Execute(sender As System.Object, e As DevExpress.ExpressApp.Actions.SimpleActionExecuteEventArgs) Handles aResetRequireCriteriaBeforeView.Execute
|
||||
|
||||
Reference in New Issue
Block a user