예제 #1
0
 public Register()
 {
     InitializeComponent();
     Ref_PersonViewModel     = new ViewModel.PersonViewModel();
     Ref_Validation          = new Validation();
     txtPassReg.PasswordChar = '*';
 }
예제 #2
0
        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;
        }
예제 #3
0
 public frmAdd()
 {
     InitializeComponent();
     Ref_PersonViewModel = new ViewModel.PersonViewModel();
 }
예제 #4
0
 public Form1()
 {
     InitializeComponent();
     Ref_PersonViewModel      = new ViewModel.PersonViewModel();
     txtPassword.PasswordChar = '*';
 }
예제 #5
0
파일: Edit.cs 프로젝트: masoodbrz/Phonebook
 public Edit()
 {
     InitializeComponent();
     Ref_ViewModel = new ViewModel.PersonViewModel();
 }
예제 #6
0
 public Form1()
 {
     InitializeComponent();
     Ref_PersonViewModel = new ViewModel.PersonViewModel();
 }