Professional Documents
Culture Documents
VP Assignement No 2
VP Assignement No 2
Assignment No. 2
Rules
Question No. 2 Design a C# form to read a number using Text Box and then
compute the factorial of that number and display the result using MessageBox
Question No. 3 Write the code for the following design form, design this form in
your Visual Studio and then write complete code using C# programming language.
Next, C# code to get the details and show the patient details using single
MessageBox
Question No. 6 Design the following form
Select your Date of Birth using DateTimePicker Control and then compute your
Age and display the same using TextBox as shown in the above figure.
Question No. 7 Design the following form using numericUpDown Control, button,
lable
Define the Maximum and Minimum Limit of the two numericupdown controls and
then display the time in AM/PM format, as an example is shown in above figure
Question No. 8 Design the following form using MaskText Control, button, lable
When you press the OK button, then the entered IP address will be shown in
MessageBox
When you click the Selected Movies button, then all of your selected Movie types
should be displayed in MessageBox
&
When you click the Favorite Movies button, then your Favorite Movie type should
be displayed in MessageBox