} // OpenAppendOrderWindow // открытие окна для добавление клиента public void OpenAppendOrChangeClientWindow(Client client, bool mode) { AppendOrChangeClientWindow window = new AppendOrChangeClientWindow(client, mode); window.ShowDialog(); } // OpenAppendClientWindow
public AppendOrChangeClientViewModel(Client client, AppendOrChangeClientWindow window) { Client = client; _window = window; } // AppendOrChangeClientViewModel