//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");
 }
Ejemplo n.º 2
0
 //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");
 }
Ejemplo n.º 4
0
        public void SetupTextBoxes()
        {
            txtMonth.Clear();
            txtDay.Clear();
            txtYear.Clear();

            TextBoxStyle.TextBoxEmpty(txtMonth, "month");
            TextBoxStyle.TextBoxEmpty(txtDay, "day");
            TextBoxStyle.TextBoxEmpty(txtYear, "year");
        }
Ejemplo n.º 5
0
        //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");
 }
Ejemplo n.º 8
0
 private void txtPassword_KeyUp(object sender, KeyEventArgs e)
 {
     TextBoxStyle.TextBoxEmpty(txtPassword, "password");
 }
Ejemplo n.º 9
0
 private void txtUsername_KeyUp(object sender, KeyEventArgs e)
 {
     TextBoxStyle.TextBoxEmpty(txtUsername, "username");
 }
Ejemplo n.º 10
0
 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");
 }
Ejemplo n.º 16
0
 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");
 }