foreach (Window item in Application.Current.Windows)
{
if (item is window1) return;
}
转载于:https://www.cnblogs.com/ykgbk/p/10825723.html
foreach (Window item in Application.Current.Windows)
{
if (item is window1) return;
}
转载于:https://www.cnblogs.com/ykgbk/p/10825723.html