1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Olegator [25]
3 years ago
14

Create a project named CarDealer that contains a Form for an automobile dealer. Include options for at least three car models. A

fter users make a selection, proceed to a new Form that contains information about the selected model. Use the Controls that you decide are best for each function. Label items on the Form appropriately, and use fonts and colors to achieve an attractive design

Engineering
1 answer:
PIT_PIT [208]3 years ago
7 0

Answer:

/****************** The code for a form application that uses radioButtons * *and displays new form based on the user selection *****************/

Using system;

Using system windows forms;

namespace CarDealer

{

Public partial class Form1 : Form

{

public Form1()

{

//default constructor to initialize components

InitializeComponent();

}

//when user clicks on the details button

private void detail_Click

(Object sender, EventArgs e)

{

if (model1,Checked)

{

Forms2 f = new Form2()

f.ShowDialog()

model1.Checked = false

}

if (model2.Checked)

{

Form3 f = new Form3();

f.ShowDialog();

model2.Checked = false;

}

if (model3.Checked)

{

Form4 f = new Form4();

f.ShowDialog();

model3.Checked = false;

}

}

}

}

Explanation:

Program plan

- Design form: Place label controls with text as select car model and one empty label control to display total price. Change front type and size from each other labels properties window.

- Add three radio buttons with text Renault Kwit, Tata Tiago, Mahindra KUV 100.

- Add button with text View Details.

- Add 3 new windows form from project menu for each car model.

- Change form name and respective car models.

- Place picturebox control to each form by using image property add .jpeg image and place label control containing price of each model to each form

- When user select car model and click on view details, new form containing car model details is displayed.

Form Design is attached below

You might be interested in
Consider the freeway in Problem 1. At one point along this freeway there is a 4% upgrade with a directional hourly traffic volum
ryzh [129]

Answer:

The Question is incomplete, the complete question is as follows:

<em>Consider the freeway in Problem 1. At one point along this freeway there is a 4% upgrade with a directional hourly traffic volume of 5,435 vehicles. If all other conditions are as described in Problem 1, how long can this grade be without the freeway LOS dropping to F? </em>

A six-lane rural freeway (three lanes in each direction) has regular weekday users and currently operates at maximum LOS C conditions. The base free-flow speed is 65 mi/h, lanes are 11 ft wide, the right-side shoulder is 4 ft wide, and the interchange density is 0.25 per mile. The highway is one rolling terrain with 10% large trucks and buses (no recreational vehicles), and the peak-hour factor is 0.90. Determine the hourly volume for these conditions

Explanation:

<em>Make the assumption Base continuous flow velocity (BFFS)= 65 mph. </em>

Pitch width= 11 ft.

Decrease in lane width pace,fLW= 1.9 mph.

Complete Lateral clearance= 4 ft. Lateral clearance speed reduction, fLC= 0.8 mph.

Complete Width of the Ramp= 0.25 mile.

Velocity reduction proportional to the ramp height, f ID= 0 mph.

Assume lane number to be = 3.

Reduction in speed corresponding to no. of lanes, fN = 3 mph

Free Flow Speed (FFS) = BFFS – fLW – fLC – fN – fID = 65 – 1.9 – 0.8 – 3 – 0 = 59.3 mph

Peak Flow, V veh/hr

Peak-hour factor = 0.90

Trucks = 10%

Rolling Terrain

fHV = 1/ (1 + 0.10 (2.5-1)) = 1/1.15 = 0.8696

fP = 1.0

Peak Flow Rate, Vp = V / (PHV*n*fHV*fP) = V/ (0.90*3*0.8696*1.0) = 0.426V veh/hr/ln

Average speed of vehicles, S = FFS = 59.3 mph

Level of service C

Density of LOS C lies between 18 - 25 veh/mi/ln

Maximum density = 25 veh/mi/ln

Density = V​​​​​​p /S = 25

0.426V = 25 * 59.3

V = 3480 veh/hr

b) V = 5435 veh/hr

LOS dropping to F

Max density = 45 veh/mi/ln

Density = Vp/S = 45

V​​​​​​p = 45 * 59.3 = 2668.5 veh/hr/ln

V/(PHF * n * f​​​​​​HV * f​​​​​​P​​​) = 2668.5

f​​​​​​HV = 5435/(0.9*3*2668.5*1.0) = 0.754

1/(1+0.10 (E​​​​​​T -1)) = 0.754

E​​​​​​T = 4.26 ~ 3.5

<em>For 4% upgrade and 10% trucks with E​​​​​​T = 3.5, length of the grade is Greater than 1.0 miles</em>

6 0
3 years ago
Read 2 more answers
What can your employer do to protect you from overhead power lines?
agasfer [191]

Answer:

Have the power company install insulated sleeves (also known as “eels”) over power lines.​

Wearing PPE is the only way to prevent being electrocuted

Explanation:

To prevent electrocution at workplace, employers can ensure that the  power company install insulated sleeves (also known as “eels”) over power lines.​ Additionally, the employees should wear PPEs which are insulators to prevent electrocution.

5 0
3 years ago
How old are legos? Who created them? Why did they create them?
Sunny_sXe [5.5K]
“How old are the legos” 89 years old.


“Who created them?” Ole Kirk Christiansen.


“Why did they created them?” As a you man, Christiansen turned his love of whittling and playing with wood into a Business and, in 1916, he opened his own shop. Since times were so hard, Christiansen made the hard decision to use his wood to create inexpensive goods that might actually sell. Among them were Cheap toys.





Hope this helps•


Bye~



•Kate•
4 0
3 years ago
Ma poate ajuta cineva?
kari74 [83]
Da, sigur. cu ce ai nevoie de ajutor?
5 0
3 years ago
Only respond if your the person im talkin to
bagirrra123 [75]

Answer: um wuh anyways thxs for the points!

Explanation: ....:/

5 0
3 years ago
Other questions:
  • The hot water needs of an office are met by heating tab water by a heat pump from 16 C to 50 C at an average rate of 0.2 kg/min.
    5·1 answer
  • What is a magnitute?
    5·2 answers
  • Basic output with variables (Java) This zyLab activity is intended for students to prepare for a larger programming assignment.
    7·1 answer
  • Nitrogen enters a steady-flow heat exchanger at 150 kPa, 10°C, and 100 m/s, and it receives heat as it flows through it. Nitroge
    15·1 answer
  • Kim is working on the cost estimate and feasible design options for a building. Which stage of a construction plan is Kim workin
    5·1 answer
  • For laminar flow of air over a flat plate that has a uniform surface temperature, the curve that most closely describes the vari
    15·1 answer
  • Somebody help me!! It’s due today
    9·1 answer
  • In a long trip what is considered a life line to take with you.
    12·1 answer
  • If we didn’t have the spark what could not happen?
    9·1 answer
  • What person at the construction worksite keeps workers safe from asbestos exposure?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!