Example #1
0
        public void showDialog()
        {
            PageBaudrateCustomDialog dialog_BaudrateCustom = new PageBaudrateCustomDialog();

            if (value != 0)
            {
                dialog_BaudrateCustom.BaudrateToShow = value;
            }
            dialog_BaudrateCustom.onAccept = DialogAccept;
            dialog_BaudrateCustom.onCancel = DialogCancel;
            PopupDialogHost.CurrentDialog  = new PopupDialog(dialog_BaudrateCustom);
            PopupDialogHost.Show();
        }
Example #2
0
        private void Buttom_CustomStrBookMark_Click(object sender, RoutedEventArgs e)
        {
            PopupDialogHost popupDialogHost = ((MainWindow)App.Current.MainWindow).PopupDialogHost;

            popupDialogHost.Show(dialogCustomStrBookmark.PopupDialog);
        }