+17
-17
@@ -35,20 +35,20 @@ Public Class StoragePDACollectionHeaderVC
|
||||
|
||||
|
||||
If View.Id = "StoragePDACollectionHeader_ListView" Then
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)()?.Active.SetItemValue("", False)
|
||||
End If
|
||||
If View.Id = "StoragePDACollectionHeader_StoragePDACollectionRows_ListView" Then
|
||||
Frame.GetController(Of LinkUnlinkController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of NewObjectViewController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of DeleteObjectsViewController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of LinkUnlinkController)()?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of NewObjectViewController)()?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of DeleteObjectsViewController)()?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)()?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController)()?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of AuditTrailVC)().aGetAuditTrail.Active.SetItemValue("", False)
|
||||
End If
|
||||
|
||||
'--------------------------DetailViewZ----------------------------------------
|
||||
If View.Id = "StoragePDACollectionHeader_DetailView" Then
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)().Active.SetItemValue("", False)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)()?.Active.SetItemValue("", False)
|
||||
End If
|
||||
If View.Id = "StorageInFromPDACollectionPopup_DetailView" Then
|
||||
AddHandler Frame.GetController(Of DevExpress.ExpressApp.SystemModule.DialogController)().AcceptAction.Executing, AddressOf AcceptAction_Executing
|
||||
@@ -57,20 +57,20 @@ Public Class StoragePDACollectionHeaderVC
|
||||
Protected Overrides Sub OnDeactivated()
|
||||
MyBase.OnDeactivated()
|
||||
If View.Id = "StoragePDACollectionHeader_ListView" Then
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)()?.Active.SetItemValue("", True)
|
||||
End If
|
||||
If View.Id = "StoragePDACollectionHeader_StoragePDACollectionRows_ListView" Then
|
||||
Frame.GetController(Of LinkUnlinkController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of NewObjectViewController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of DeleteObjectsViewController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of LinkUnlinkController)()?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of NewObjectViewController)()?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of DeleteObjectsViewController)()?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)()?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of ListViewProcessCurrentObjectController)()?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of AuditTrailVC)().aGetAuditTrail.Active.SetItemValue("", True)
|
||||
End If
|
||||
|
||||
'--------------------------DetailViewZ----------------------------------------
|
||||
If View.Id = "StoragePDACollectionHeader_DetailView" Then
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)().Active.SetItemValue("", True)
|
||||
Frame.GetController(Of CloneObject.CloneObjectViewController)()?.Active.SetItemValue("", True)
|
||||
End If
|
||||
If View.Id = "StorageInFromPDACollectionPopup_DetailView" Then
|
||||
RemoveHandler Frame.GetController(Of DevExpress.ExpressApp.SystemModule.DialogController)().AcceptAction.Executing, AddressOf AcceptAction_Executing
|
||||
@@ -323,7 +323,7 @@ Public Class StoragePDACollectionHeaderVC
|
||||
' _StreamReader.Close()
|
||||
' _StreamFile.Close()
|
||||
' File.Delete(_DeliveryNoteInType.PDAPath)
|
||||
' Frame.GetController(Of Validation.PersistenceValidationController).Active.SetItemValue("", False)
|
||||
' Frame.GetController(Of Validation.PersistenceValidationController)?.Active.SetItemValue("", False)
|
||||
' Using parser As New TextFieldParser(New StringReader(_StrBuffer))
|
||||
' parser.TextFieldType = FieldType.Delimited
|
||||
' parser.SetDelimiters(",")
|
||||
@@ -350,7 +350,7 @@ Public Class StoragePDACollectionHeaderVC
|
||||
' End While
|
||||
' End Using
|
||||
' _onew.CommitChanges()
|
||||
' Frame.GetController(Of Validation.PersistenceValidationController).Active.SetItemValue("", True)
|
||||
' Frame.GetController(Of Validation.PersistenceValidationController)?.Active.SetItemValue("", True)
|
||||
' End If
|
||||
'Catch ex As Exception
|
||||
' MsgBox(ex.Message, MsgBoxStyle.Critical + MsgBoxStyle.OkOnly)
|
||||
@@ -506,7 +506,7 @@ Public Class StoragePDACollectionHeaderVC
|
||||
' _StreamReader.Close()
|
||||
' _StreamFile.Close()
|
||||
' File.Delete(_DeliveryNoteInType.PDAPath)
|
||||
' Frame.GetController(Of Validation.PersistenceValidationController).Active.SetItemValue("", False)
|
||||
' Frame.GetController(Of Validation.PersistenceValidationController)?.Active.SetItemValue("", False)
|
||||
' Using parser As New TextFieldParser(New StringReader(_StrBuffer))
|
||||
' parser.TextFieldType = FieldType.Delimited
|
||||
' parser.SetDelimiters(",")
|
||||
|
||||
Reference in New Issue
Block a user