MessageBoxResult dr = System.Windows.MessageBox.Show("确定要删除这个节点吗?", "提示", MessageBoxButton.OKCancel); if (dr == MessageBoxResult.OK) { System.Windows.MessageBox.Show("成功删除节点!"); }
MessageBoxResult dr = System.Windows.MessageBox.Show("确定要删除这个节点吗?", "提示", MessageBoxButton.OKCancel); if (dr == MessageBoxResult.OK) { System.Windows.MessageBox.Show("成功删除节点!"); }