コード例 #1
0
        public void SelectItem(IComponent item)
        {
            var alarm = item as Models.Components.AlarmControlPanel;

            if (alarm != null)
            {
                var alarmVm = new ViewModels.Components.AlarmControlPanelViewModel(alarm);
                Naviation.PushAsync(alarmVm);
            }
        }
コード例 #2
0
 private void MenuItem2_OnClicked(object sender, EventArgs e)
 {
     Naviation.PushAsync(new NextPage());
 }