I marked which one I need help the most. In parenthesis.
Requirement 1: Make sure the form is named SercviceForm. Change the Forms Text property to “Pet Boutique Service Form”.
View in a new window
Requirement 2: When the user selects service options and clicks on the Total button, the application displays the appropriate Total Fee amount.
(5 Points) Open Visual Studio and create a new Window Application Project. Name the Project Lab3. NOTE: Ensure that C# is the programming language selected.
(5 Points) Make sure the form is named ServiceForm. Change the Forms Text property to “Pet Boutique Service Form”. Re-size the form to Width = 400, Height = 450.
(30 Points) Setup the applications form as shown in the screen shot above. As you place each of the controls on the form, refer to the following:
totalFeeLabel (Total Fee:)
priceLabel (will include the total price)
(all separate from the check box labels)
[plus labels for other form controls – with default names used]
(((((4. (35 Points) Add code to the totalButton that will do this following when the user clicks:
Create a Try and Catch block statement to store the code and trap the error if one occurs
Declare a double variable called TotalFee and intialize it to 0
Then set the value of the TotalFee variable to the appropriate value depending on the selected service check-boxes (fleaRemovalCheckBox $5, shampooCheckBox $4)
You will need to convert TotalFee variable to string before assigning it to the priceLabel.
Make sure that if both FleaRemoval and Shampoo are selected, the total fee represents the total amount of $9.))))))))
public partial class ServiceForm : Form
private void radioButton2_CheckedChanged(object sender, EventArgs e)
private void textBox2_TextChanged(object sender, EventArgs e)
private void label5_Click(object sender, EventArgs e)
private void totalButton_Click(object sender, EventArgs e)
const double TotalFee=0; //TotalFee Value
private void clearButton_Click(object sender, EventArgs e)
//Clear the TextBoxes
ownerNameTextBox.Text = "";
ownerPhoneTextBox.Text = "";
petNameTextBox.Text = "";
petDOBTextBox.Text = "";
// Reset the Focus();
private void quitButton_Click(object sender, EventArgs e)
//close the form.
This is what I currently have..Please Help me I looked all over for guidance, but I cant get help. The assignment is due by Sunday. I would really like if someone can help me solve the last part in the parenthesis section I selected. So i can keep note of it in the future.. Thank you