Exemple #1
0
 public ConnectionViewModel(string IpAddress, int Port, string UserName, string Password)
 {
     modelIP = new ConnectionIPModel();
     modelIP.IpAddress = IpAddress;
     modelIP.Port = Port;
     modelIP.UserName = UserName;
     modelIP.Password = Password;
 }
 public ConnectionViewModel(string IpAddress, int Port, string UserName, string Password)
 {
     modelIP           = new ConnectionIPModel();
     modelIP.IpAddress = IpAddress;
     modelIP.Port      = Port;
     modelIP.UserName  = UserName;
     modelIP.Password  = Password;
 }
Exemple #3
0
 public ConnectionViewModel()
 {
     modelCOM = new ConnectionCOMModel(3);
     modelIP = new ConnectionIPModel();
 }
 public ConnectionViewModel()
 {
     modelCOM = new ConnectionCOMModel(3);
     modelIP  = new ConnectionIPModel();
 }