コード例 #1
0
            private void Cell_Click(object send, EventArgs eventArgs)
            {
                if ((send as IView)?.Tag is IEvent model)
                {
                    EventManager.Instance.GetDetailsSecond(model.Id);
                }

                _baseViewModel.GoPage(PageConstants.PageNameEventDetails);
            }
コード例 #2
0
            private void GetPage(IHome data)
            {
                var page = MenuManager.Instance.GetItem()
                           .OfType <IHome>()
                           .FirstOrDefault(x => x.Page == data.Page && x.PageActive)
                           ?.ClickArgument;

                _baseViewModel.GoPage(page);
            }