我是WPF的新手,我创建了一个聊天应用程序,现在我需要显示类似this的消息框,但是我的问题是,当用户从我的应用程序中单击时,该应用程序进入后台但打开了弹出窗口在this
等前台打开使用的代码是::
if (string.IsNullOrEmpty(EmailId))
{
BusyIndication = Visibility.Hidden;
CustomMessageBox.Show("Email ID should not be empty", "Email ID", MessageBoxButton.OK);
LoginView.SignInButton.IsEnabled = true;
}
我认为我需要设置所有权属性,但不知道该怎么做。
任何建议?
请选择: