private void buttonReset_Click(object sender, EventArgs e) { dc = new dcInventoryDataContext(); _userProfile = new UserProfile(); textBoxUserName.Enabled = true; textBoxUserName.Text = string.Empty; textBoxPassword.Text = string.Empty; textBoxConfirmPassword.Text = string.Empty; comboBoxType.SelectedIndex = -1; textBoxFullName.Text = string.Empty; textBoxFullName.Focus(); }
partial void UpdateUserProfile(UserProfile instance);
partial void DeleteUserProfile(UserProfile instance);
partial void InsertUserProfile(UserProfile instance);