Inheritance: IClientInfo, INotifyPropertyChanged
示例#1
0
 public ClientEditorViewModel(Client client)
 {
     Client = new ClientInfo();
     _nativeClient = client;
     Client.Login = client.Login;
     Client.Server = client.Server;
     Client.Password = client.Password;
     _isEditing = true;
     SetCommands();
 }
示例#2
0
 public ClientEditorViewModel()
 {
     Client = new ClientInfo();
     _isEditing = false;
     SetCommands();
 }