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
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of poun
RoseWind [281]

Answer:

Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of pounds), and let y be the miles per gallon (mpg)

Explanation:

6 0
3 years ago
Find the resolving power of a Fabry-Perot interferometer in which two silver coated plates have reflectance of ???? = 0.9, if th
pochemuha

Answer:

Resolving Power=625000

Explanation:

See attached picture.

7 0
3 years ago
I need your help to answer in the picture plss help me!​
Aloiza [94]

this looks like its the different phases of a single cylinder 4 stroke engine what are you doing in the picture or assignment though matching the numbers to the descriptions on the side?

3 0
3 years ago
The toggle (t) flip-flop has one input, clk, and one output, q. on each rising edge of clk, q toggles to the complement of its p
jeyben [28]

Answer:

  See attached

Explanation:

The next state of a toggle flip-flop is the inverse of the present state. This behavior can be produced using a D flip-flop that has its input connected to the inverse of its output.

__

A schematic is attached.

7 0
2 years ago
Solve using Matlab the problems:
Firlakuza [10]

Answer:

Explanation:

% Clears variables and screen

clear; clc

% Asks user for input

n = input('Total number of objects: ');

r = input('Size of subgroup: ');

% Computes and displays permutation according to basic formulas

p = 1;

for i = n - r + 1 : n

   p = p*i;

end

str1 = [num2str(p) ' permutations'];

disp(str1)

% Computes and displays combinations according to basic formulas

str2 = [num2str(p/factorial(r)) ' combinations'];

disp(str2)

=================================================================================

Example: check

How many permutations and combinations can be made of the 15 alphabets, taking four at a time?

The answer is:

32760 permutations

1365 combinations

==================================================================================

7 0
3 years ago
Other questions:
  • Technician A says that when using an impact wrench to remove a bolt from the front of an engine's crankshaft, the crankshaft mus
    15·1 answer
  • A slight breeze is blowing over the hot tub above and yields a heat transfer coefficient h of 20 W/m2 -K. The air temperature is
    15·1 answer
  • 29
    6·1 answer
  • How do we need to prepare for the future?
    10·1 answer
  • What major financial flop led to the end of the Sega Dreamcast and ultimately caused Sega to stop making game consoles altogethe
    15·1 answer
  • Respond with TRUE if the symbol of the valve shown below is
    10·1 answer
  • 3
    6·1 answer
  • Can someone please help me?
    11·2 answers
  • How might a field like philosophy of history help scientists​
    14·1 answer
  • I feel so pressured..
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!