Sunteți pe pagina 1din 3

The Main Page consists of 3 buttons.

1st button is to
navigate to the resistance calculator page. 2 nd button is
to navigate to the capacitance calculator page. 3 rd button
allows you to navigate to the component shop.

The main page consists of a button template that I made. The


buttons have a slight exploding animation when hovering on
top and sink when clicked.

The resistor’s and capacitor’s colours change based on the


selected color chosen. The color selector is a custom-made
element that I made using a scroll viewer and a stackpanel within
it and buttons within the stackpanel.

The same buttons are utilized in the component page. Clicking


the buttons is supposed to take you to the websites used to
get the resistor and capacitor tables. And clicking the
resistor shop and capacitor shop will take you to the website of a retailer
for the respective components.
Models Description:

Capacitor: Calculates the capacitance based on the user input.

CapacitorBand: Stores all the necessary capacitor colours and values.

ColorManager: Contains a dictionary of the color and values of the capacitor

Prefix: Returns the necessary prefix for the unit and converts it to an appropriate value based on how
large or small the unit value in the view is.

Resistor: Calculates the resistance based on the user input.

ResistorBand: Stores all the necessary capacitor colours and values .

S-ar putea să vă placă și