private void OpenStandardPairingDialog() { #if WP7 UtilityPairingDialog pairingDialog = new UtilityPairingDialog(); ShowDialog(pairingDialog); #else PairingDialog pairingDialog = new PairingDialog(); ShowDialog(pairingDialog); #endif }
protected void ShowPairingDialog() { if (IsDialogOpen) { return; } #if WP7 UtilityPairingDialog pairingDialog = new UtilityPairingDialog(); ShowDialog(pairingDialog); #else PairingDialog pairingDialog = new PairingDialog(); ShowDialog(pairingDialog); #endif }