예제 #1
0
        public MainPage(IWindowManager windowManager)
        {
            InitializeComponent ();

            ToolbarItems.Add (new ToolbarItem {
                Text = "AddTicket",
                Order = ToolbarItemOrder.Primary,
                Command = new Command(() => windowManager.PushAsync<AddTicketViewModel>())
            });
        }