private void TextBoxSearch_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "Name, Email, or Phone Number"); TextBox passedBox = (TextBox)sender; if (passedBox.Text == "Name, Email, or Phone Number") { RefreshTable(); } }
private void TextBoxFirstName_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "First Name"); }
private void TextBoxRoomCount_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "xx"); }
private void TextBoxToZipCode_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "Zip Code"); }
private void TextBoxNotes_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "Additional Information"); }
private void TextBoxToState_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "ST"); }
private void TextBoxToCity_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "City"); }
private void TextBoxFromStreet_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "Street"); }
private void TextBoxPhoneNumber_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "xxx-xxx-xxxx"); }
private void TextBoxEmail_Leave(object sender, EventArgs e) { TextBoxLogic.LeaveTextBox(sender, "*****@*****.**"); }