コード例 #1
0
        //private bool canContactWhistler()
        //{
        //    return SelectedWhistleItem != null;
        //}

        private void onDisplayWhistleItem(WhistleItemViewModel whistleItem)
        {
            //this.WhistleEditViewModel = new WhistleEditViewModel
            //{

            //};

            this.WhistleResultViewModel = new ViewModels.WhistleResultViewModel(whistleItem.Whistle.MatchingWhisltes);
            _messenger.Publish(new MessageHandler(this, HomeConstants.ACTION_SHOW_WHISTLERS));
        }
コード例 #2
0
 public void ShowWhistler()
 {
     SelectedWhistleItem = new WhistleItemViewModel(new Whistle());// change by whistlerItem
     RaisePropertyChanged(() => SelectedWhistleItem);
 }