コード例 #1
0
        async void ShipOwnerVMList_CurrentChangedAsync()
        {
            CurrentElement = null;
            await CollectionInitializeAsync();

            ModifyAndViewVM.Initialize_ActionView(CurrentElement);
            this.MenuCommandCRUDVM.AddNewCommand.InvalidateCanExecute();
        }
コード例 #2
0
 protected override void OnAddCommandExecute()
 {
     ModifyAndViewVM.Initialize_ActionAdd((CurrentElement != null) ? (int?)CurrentElement.Id : null);
 }