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]
2 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]2 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
This question allows you to practice proving a language is non-regular via the Pumping Lemma. Using the Pumping Lemma (Theorem 1
Ulleksa [173]

Answer:

<em>L is not a regular language with formal proofs  </em>

Explanation:

<em>(a) To prove that L is not a regular language, we will use a proof by contradiction. the assumption entails  that L is a regular language. Then by the Pumping Lemma for Regular Languages, </em>

<em>there exists a pumping length p for L such that for any string s ∈ L where |s| ≥ p, </em>

<em>s = xyz subject to the following conditions: </em>

<em>(a) |y| > 0 </em>

<em>(b) |xy| ≤ p, and </em>

<em>(c) ∀i > 0, xyi </em>

<em>z ∈ L</em>

<em />

<em>(b) To determine that L is not a regular language, we mke use of proof by contradiction.  lets assume, that L is regular. Then by the Pumping Lemma for Regular Languages, it states also,</em>

<em>The pumping length, p for L such that for any string s ∈ L where |s| ≥ p, s = xyz subject  to the condtions as follows : </em>

<em>(a) |y| > 0 </em>

<em>(b) |xy| ≤ p, and </em>

<em>(c) ∀i > 0, xyi </em>

<em>z ∈ L. </em>

<em>Choose s = 0p10p </em>

<em>. Clearly, |s| ≥ p and s ∈ L. By condition (b) above, it follows is shown. by the first condition x and y are zeros.</em>

<em>for some  k > 0. Per (c), we can take i = 0 and the resulting string will still be in L. Thus,  xy0 </em>

<em>z should be in L. xy0 </em>

<em>z = xz = 0(p−k)10p </em>

<em>It is shown that is is  not in L. This is a  contraption with the pumping lemma.  our assumption that L is regular is  incorrect, and L is not a regular language</em>

6 0
3 years ago
A piston-cylinder device contains 0.8 kg of steam at 300°C and 1 MPa. Steam is cooled at constant pressure until one-half of the
liberstina [14]

The answer & explanation for this question is given in the attachment below.

8 0
3 years ago
Two players find themselves in a legal battle over a patent. The patent is worth 20 for each player, so the winner would receive
Alborosie

Answer:

The solution and complete explanation for the above question and mentioned conditions is given below in the attached document.i hope my explanation will help you in understanding this particular question.

Explanation:

5 0
3 years ago
A strain gage is mounted at an angle of 30° with respect to the longitudinal axis of the cylindrical pressure. The pressure vess
GuDViN [60]

Answer:

1790 μrad.

Explanation:

Young's modulus, E is given as 10000 ksi,

μ is given as 0.33,

Inside diameter, d = 54 in,

Thickness, t = 1 in,

Pressure, p = 794 psi = 0.794 ksi

To determine shear strain, longitudinal strain and circumferential strain will be evaluated,

Longitudinal strain, eL = (pd/4tE)(1 - 2μ)

eL = (0.794 x 54)(1 - 0.66)/(4 x 1 x 10000)

eL = 3.64 x 10-⁴ radians

Circumferential strain , eH = (pd/4tE)(2-μ)

eH = (0.794 x 54)(2 - 0.33)/(4 x 1 x 10000)

eH = 1.79 x 10-³ radians

The maximum shear strain is 1790 μrad.

4 0
3 years ago
A cyclic tensile load ranging from 0 kN to 55 kN force is applied along the length of a 100 mm long bar with a 15 mm x 15 mm squ
Yuliya22 [10]

Answer:

square cross section. The bar is made of a 7075-T6 aluminum alloy which has a yield strength of 500 MPa, a tensile strength of 575 MPa, and a fracture toughness of 27.5 MPaâm.

Required:

a. What is the nominal maximum tensile stress on the bar?

b. If there were an initial 1.2 mm deep surface crack on the right surface of the bar, what would the critical stress needed to cause instantaneous fast fracture of the bar be?

7 0
3 years ago
Other questions:
  • Signal generator‘s internal impedance is purely resistive and has an open-circuit voltage of 3.5 V. When the generator is loaded
    11·1 answer
  • A rectangular concrete beam has dimensions b=16 in. and h=30 in. The location of the Gr. 60 reinforcing bars, which are placed a
    15·1 answer
  • in a vehicle you're servicing the fuel pressure drops rapidly when the engine is says that one or more turned off. Technician a
    7·1 answer
  • An inventor claims to have developed a power cycle operating between hot and cold reservoirs at 1175 K and 295 K, respectively,
    9·1 answer
  • Which of the following is not necessary a reason to machine a brake drum?
    8·1 answer
  • I really need a good grade please help
    13·1 answer
  • How do you explain the application of regulations in locations containing baths, showers and electric floor heating, including t
    10·1 answer
  • To measure the greening of the U.S. economy, you need only to look at the growing number of green jobs and occupations.
    10·2 answers
  • "Transformer is used to change the voltage".
    5·1 answer
  • What is the width of a professional football field?.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!