Skip to content

Repository for "Vaccines Managment Application" Project from Technical University made using C#, Windows Forms and Microsoft Access.

Notifications You must be signed in to change notification settings

ngdechev/vaccines-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

version GitHub repo size Bitbucket open issues

Software Production Technology Project

Assignment - "Vaccines Management Application"

To create a Vaccine application. For this purpose, three forms should be added.

  1. Add the controls to the first Form1 (Input):
  • Labels:
    • Username
    • Password
  • Text fields:
    • To enter username (textBox1)
    • To enter a password (textBox2)
  • Button:
    • "Forward"

To validate:

  • textBox1 - to allow five to ten characters to accept the numbers one to five and uppercase Latin letters, with the first character in the string not being a number.
  • textBox2 - to allow five to eight characters, no limit.
  1. If the input data is correctly set and an appropriate message is displayed, start Form2 (Personal data). Add the controls to it:
  • Labels:
    • Name
    • Surname
    • EGN
    • Years
    • Date of birth
  • Group (Gender) with two radio buttons:
    • A man
    • A woman
  • Text fields:
    • To enter a name (textBox1)
    • To enter last name (textBox2)
    • To enter the social security number (textBox3)
    • To enter years (textBox4)
  • Date and time selection field:
    • To enter a date of birth (datetimePicker1)
  • Button:
    • "Forward"

To validate:

  • textBox1 and textBox2 - intended for the patient's name, to start with a Cyrillic capital letter followed by lowercase letters
  • textBox3 - must allow ten characters - numbers from 0 to 9
  • textBox4 - to return the result of the calculated difference between the current date and the date of birth, from the string for the entered EGN
  • datetimePicker1 - loads the date of birth, depending on the first 6 characters in the EGN input string.

If the EGN is correctly set, mark one of the two radio buttons (radioButton1 or radioButton2). Taking into account the ninth character in the EGN string, and with an even value, the marker falls on radioButton1, and with an odd value, on radioButton2. 3. With correctly set input data, an appropriate message should be displayed and after it a third Form3 (Vaccines) should be launched. Add the controls to it:

  • Group of three radio buttons:
    • Hepatitis B (First intake) (radioButton1)
    • BCG vaccine (radioButton2)
    • ThetaDiff vaccine (radioButton3)
  • Button:
    • "Forward"

Condition for active radio button from Form3:

  • If the patient's years calculated in Form2 are from 1 to 6 years, to automatically mark radioButton1
  • If the patient's years calculated in Form2 are from 7 to 12 years, to automatically mark radioButton2
  • If the patient's age calculated in Form2 is from 13 to 18 years, to automatically mark radioButton3

All data from Form2 and Form3 should be saved in an Excel file after clicking on the button "Save in Excel file" from Form3 (Vaccines).

Test the Application

Sample Input Data:

  • Username: qwerty
  • Password: qwe?
  • EGN: 5907204688

Project Development

The following programming languages were used for the development of the project:

  1. C#

And the following tools:

  1. Visual Studio 2022
  2. Microsoft Excel 2016

C# SQL Visual Studio Microsoft Excel

Contributors

Screenshots of the program execution

Login Form

2.png

Pacient Info Form

3.png

Vaccines Form

4.png

Excel Screenshot

1.png

About

Repository for "Vaccines Managment Application" Project from Technical University made using C#, Windows Forms and Microsoft Access.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages