+4
-4
@@ -39,7 +39,7 @@ Public Class ContractsVC
|
||||
MyBase.OnActivated()
|
||||
Frame.GetController(Of WinModificationsController).ModificationsHandlingMode = SystemModule.ModificationsHandlingMode.AutoRollback
|
||||
If View.Id Like "Contracts_ListView*" Or View.Id Like "Contract*LookupListView" Then
|
||||
Frame.GetController(Of FileAttachmentListViewController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of FileAttachmentListViewController)()?.Active.SetItemValue("", False)
|
||||
End If
|
||||
If View.Id = "Contracts_DetailView" Then
|
||||
_Contracts = TryCast(View.SelectedObjects(0), Contracts)
|
||||
@@ -54,7 +54,7 @@ Public Class ContractsVC
|
||||
Protected Overrides Sub OnViewControlsCreated()
|
||||
MyBase.OnViewControlsCreated()
|
||||
If View.Id = "Contracts_ListView" Then
|
||||
Frame.GetController(Of FileAttachmentListViewController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of FileAttachmentListViewController)()?.Active.SetItemValue("", True)
|
||||
End If
|
||||
End Sub
|
||||
Sub InitQTT_ProcessColumn()
|
||||
@@ -91,11 +91,11 @@ Public Class ContractsVC
|
||||
_Contracts = TryCast(View.SelectedObjects(0), Contracts)
|
||||
If Not _Contracts Is Nothing Then
|
||||
If _Contracts.State = State.Ready Or _Contracts.State = State.Signed Then
|
||||
Frame.GetController(Of DevExpress.ExpressApp.SystemModule.DeleteObjectsViewController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of DevExpress.ExpressApp.SystemModule.DeleteObjectsViewController)?.Active.SetItemValue("", False)
|
||||
End If
|
||||
End If
|
||||
Else
|
||||
Frame.GetController(Of DevExpress.ExpressApp.SystemModule.DeleteObjectsViewController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of DevExpress.ExpressApp.SystemModule.DeleteObjectsViewController)?.Active.SetItemValue("", False)
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user