//Deletes patient
        private void Delete_Click(object sender, EventArgs e)
        {
            Patient_Database.DeletePatient(Delete_Existing_Dropdown, Input_1);

            if (Delete_Existing_Dropdown.DataSource == null)
            {
                Input_1.Clear();
                Input_2.Clear();
                Input_3.Clear();
                Input_4.Clear();
                Input_5.Clear();
                Input_6.Clear();
                Input_7.Clear();
                Input_8.Clear();
                Input_9.Clear();
                Input_10.Clear();
                Input_11.Clear();
                Input_12.Clear();
                Input_13.Clear();
                Input_14.Clear();
                Input_15.Clear();
                Current_Patient.Checked = false;
                GP_Letter.Checked       = false;
            }
        }
 //Changes the way that the dropdown is sorted
 private void Sort_Lists_Click(object sender, EventArgs e)
 {
     if (Global.sortDropdown == Global.ID)
     {
         Global.sortDropdown = Global.NAME;
     }
     else if (Global.sortDropdown == Global.NAME)
     {
         Global.sortDropdown = Global.ID;
     }
     setSortedButtonText();
     Delete_Existing_Dropdown.DataSource = null;
     Input_1.Clear();
     Input_2.Clear();
     Input_3.Clear();
     Input_4.Clear();
     Input_5.Clear();
     Input_6.Clear();
     Input_7.Clear();
     Input_8.Clear();
     Input_9.Clear();
     Input_10.Clear();
     Input_11.Clear();
     Input_12.Clear();
     Input_13.Clear();
     Input_14.Clear();
     Input_15.Clear();
     Current_Patient.Checked = false;
     GP_Letter.Checked       = false;
 }
        //Clears dropdown items if any
        //Also clears any text in the input fields
        private void Add_Dropdown_1_Click(object sender, EventArgs e)
        {
            Dropdown_1.DataSource = null;
            Input_1.Clear();
            Input_2.Clear();
            Input_3.Clear();
            Input_4.Clear();
            Input_5.Clear();
            Input_6.Clear();
            Input_7.Clear();
            Input_8.Clear();
            Input_9.Clear();
            Input_10.Clear();
            Dropdown_3.DataSource = null;
            Input_11.Clear();

            AddOrEditFields(true);              //Allows fields to be entered into
            Current_Patient.Checked = true;     //Changes current patient checkbox to true

            //When creating a Patient it would be impossible to have already sent the letter
            GP_Letter.Checked = false;
            GP_Letter.Enabled = false;
            Dropdown_2.Focus();                 //Focuses on gender dropdown
            Global.editingExistingPatient = false;

            //Sets Save button enabled to false forcing users to satisfy minimum requirements
            Save.Enabled = false;
        }
 //Deletes Practice
 private void Delete_Click(object sender, EventArgs e)
 {
     Practice_Database.DeletePractice(Delete_Existing_Dropdown, Input_1);
     if (Delete_Existing_Dropdown.DataSource == null)
     {
         Input_1.Clear();
         Input_2.Clear();
         Input_3.Clear();
         Input_4.Clear();
         Input_5.Clear();
         Input_6.Clear();
         Input_7.Clear();
         Input_8.Clear();
     }
 }
        //Clears dropdown datasource
        //Also clears any text in the input fields
        private void Add_Dropdown_1_Click(object sender, EventArgs e)
        {
            Dropdown_1.DataSource = null;
            Input_1.Clear();
            Input_2.Clear();
            Input_3.Clear();
            Input_4.Clear();
            Input_5.Clear();
            Input_6.Clear();
            Input_7.Clear();
            Input_8.Clear();
            Input_8.Clear();
            AddOrEditFields(true); //Allows fields to be entered into
            Input_1.Focus();       //Moves cursor to first name

            Global.editingExistingPractice = false;

            Save.Enabled = true;
        }