public Register() { InitializeComponent(); Ref_PersonViewModel = new ViewModel.PersonViewModel(); Ref_Validation = new Validation(); txtPassReg.PasswordChar = '*'; }
public frmEdit(Int32 id, string title, string nationalCod, string givenName, string familyName, string country, DateTime dateOfBirth, string email, string mobileNumber, string username, string password, string address) { InitializeComponent(); Ref_PersonViewModel = new ViewModel.PersonViewModel(); txtId.Text = System.Convert.ToString(id); cmbTitle.SelectedItem = title; txtNationalCode.Text = nationalCod; txtName.Text = givenName; txtSurname.Text = familyName; txtCountry.Text = country; dtpBirth.Value = dateOfBirth; txtEmailAddress.Text = email; txtMobilNumber.Text = mobileNumber; txtUsername.Text = username; txtPassword.Text = password; txtAddress.Text = address; }
public frmAdd() { InitializeComponent(); Ref_PersonViewModel = new ViewModel.PersonViewModel(); }
public Form1() { InitializeComponent(); Ref_PersonViewModel = new ViewModel.PersonViewModel(); txtPassword.PasswordChar = '*'; }
public Edit() { InitializeComponent(); Ref_ViewModel = new ViewModel.PersonViewModel(); }
public Form1() { InitializeComponent(); Ref_PersonViewModel = new ViewModel.PersonViewModel(); }