Это означает, что у меня есть окно:
<Window x:Class="PPJ_LogisticsCost_PC.Module.IEOperation.Views.frmBill" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PPJ_LogisticsCost_PC.Module.IEOperation.Views"...> ... <uc:UC1/> <uc:UC2/> ... </Window>
И у каждого ОК у меня есть кнопка закрытия.Я использую async, await, thread для привязки данных.Как я могу связать команду закрытия, чтобы закрыть родительское окно и избавиться от этого?