//everything below here is the set up for our custom text boxes public void SetupTextBoxes() { TextBoxStyle.TextBoxEmpty(txtUsername, "username"); TextBoxStyle.TextBoxEmpty(txtPassword, "password"); TextBoxStyle.TextBoxEmpty(txtPassword2, "password2"); TextBoxStyle.TextBoxEmpty(txtStaffId, "staffId"); }
//setup all text boxes to our custom look where the input requirements shows up on empty text boxes public void SetupTextBoxes() { txtUsername.Clear(); txtPassword.Clear(); TextBoxStyle.TextBoxEmpty(txtUsername, "username"); TextBoxStyle.TextBoxEmpty(txtPassword, "password"); }
public void SetupTextBoxes() { TextBoxStyle.TextBoxEmpty(txtMonth, "month"); TextBoxStyle.TextBoxEmpty(txtDay, "day"); TextBoxStyle.TextBoxEmpty(txtYear, "year"); TextBoxStyle.TextBoxEmpty(txtBreakStart, "startBreak"); TextBoxStyle.TextBoxEmpty(txtBreakEnd, "endBreak"); }
public void SetupTextBoxes() { txtMonth.Clear(); txtDay.Clear(); txtYear.Clear(); TextBoxStyle.TextBoxEmpty(txtMonth, "month"); TextBoxStyle.TextBoxEmpty(txtDay, "day"); TextBoxStyle.TextBoxEmpty(txtYear, "year"); }
//if register link is clicked, reset any information input my user and show the registration form private void linkRegister_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Hide(); CenterToScreen(); txtUsername.Clear(); txtPassword.Clear(); TextBoxStyle.TextBoxEmpty(txtUsername, "username"); TextBoxStyle.TextBoxEmpty(txtPassword, "password"); var registrationForm = new RegistrationForm(this); registrationForm.ShowDialog(); }
public void SetupTextBoxes() { TextBoxStyle.TextBoxEmpty(txtMondayStart, "startTime"); TextBoxStyle.TextBoxEmpty(txtMondayEnd, "endTime"); TextBoxStyle.TextBoxEmpty(txtTuesdayStart, "startTime"); TextBoxStyle.TextBoxEmpty(txtTuesdayEnd, "endTime"); TextBoxStyle.TextBoxEmpty(txtWednesdayStart, "startTime"); TextBoxStyle.TextBoxEmpty(txtWednesdayEnd, "endTime"); TextBoxStyle.TextBoxEmpty(txtThursdayStart, "startTime"); TextBoxStyle.TextBoxEmpty(txtThursdayEnd, "endTime"); TextBoxStyle.TextBoxEmpty(txtFridayStart, "startTime"); TextBoxStyle.TextBoxEmpty(txtFridayEnd, "endTime"); TextBoxStyle.TextBoxEmpty(txtSaturdayStart, "startTime"); TextBoxStyle.TextBoxEmpty(txtSaturdayEnd, "endTime"); TextBoxStyle.TextBoxEmpty(txtSundayStart, "startTime"); TextBoxStyle.TextBoxEmpty(txtSundayEnd, "endTime"); }
public void SetupTextBoxes() { TextBoxStyle.TextBoxEmpty(txtBreakStart, "startBreak"); TextBoxStyle.TextBoxEmpty(txtBreakEnd, "endBreak"); }
private void txtPassword_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtPassword, "password"); }
private void txtUsername_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtUsername, "username"); }
public AddDaysOff() { InitializeComponent(); TextBoxStyle.TextBoxEmpty(txtDaysOff, "daysOff"); }
private void txtBreakEnd_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtBreakEnd, "endBreak"); }
private void txtBreakStart_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtBreakStart, "startBreak"); }
private void txtYear_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtYear, "year"); }
private void txtDay_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtDay, "day"); }
private void txtMonth_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtMonth, "month"); }
public void SetupTextBoxes() { TextBoxStyle.TextBoxEmpty(txtStartTime, "startTime"); TextBoxStyle.TextBoxEmpty(txtEndTime, "endTime"); }
private void txtSundayEnd_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtSundayEnd, "endTime"); }
private void txtSundayStart_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtSundayStart, "startTime"); }
private void txtStaffId_KeyUp(object sender, KeyEventArgs e) { TextBoxStyle.TextBoxEmpty(txtStaffId, "staffId"); }