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

#if WP7
            UtilityPairingDialog pairingDialog = new UtilityPairingDialog();
            ShowDialog(pairingDialog);
#else
            PairingDialog pairingDialog = new PairingDialog();
            ShowDialog(pairingDialog);
#endif
        }