public ClientEditorViewModel(Client client) { Client = new ClientInfo(); _nativeClient = client; Client.Login = client.Login; Client.Server = client.Server; Client.Password = client.Password; _isEditing = true; SetCommands(); }
public ClientEditorViewModel() { Client = new ClientInfo(); _isEditing = false; SetCommands(); }