void ExitApplication(object sender, EventArgs e) { // Call exit application function in the global class NavigationCode.ExitApp(); }
private void Button_Exit_Clicked(object sender, EventArgs e) { NavigationCode.ExitApp(); }