private void frmUpdateUser_Load(object sender, EventArgs e) { ComboHelper.FillUserTypes(cmbSelectUserType); cmbSelectUserType.Focus(); if (CurrentUser.UserID > 0) { cmbSelectUserType.SelectedValue = CurrentUser.UserType_ID; txtFullName.Text = CurrentUser.FullName; txtContactNo.Text = CurrentUser.ContactNo; txtEmail.Text = CurrentUser.Email; txtUsername.Text = CurrentUser.UserName; } }
private void button3_Click(object sender, EventArgs e) { ComboHelper.FillUserTypes(cmbSelectUserType); }
private void frmAddUsers_Load(object sender, EventArgs e) { ComboHelper.FillUserTypes(cmbSelectUserType); cmbSelectUserType.Focus(); return; }