├── DPPD Dental Clinic Management System
├── obj
│ ├── Debug
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── TempPE
│ │ │ ├── DCModel.cs.dll
│ │ │ ├── DCModel.Context.cs.dll
│ │ │ └── DCModel.Designer.cs.dll
│ │ ├── DPPD Dental Clinic Management System.exe
│ │ ├── DPPD Dental Clinic Management System.pdb
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── DPPD_Dental_Clinic_Management_System.Search.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Login_Form.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Statistics.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Edit_Patient.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Delete_Patients.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Search_Result.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Database_Browser.resources
│ │ ├── DPPD Dental Clinic Management System.csproj.GenerateResource.Cache
│ │ ├── DPPD_Dental_Clinic_Management_System.Create_New_Account.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Properties.Resources.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources
│ │ ├── DPPD Dental Clinic Management System.csproj.FileListAbsolute.txt
│ │ └── edmxResourcesToEmbed
│ │ │ ├── DCModel.msl
│ │ │ ├── DCModel.ssdl
│ │ │ └── DCModel.csdl
│ └── Release
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── TempPE
│ │ ├── DCModel.cs.dll
│ │ └── DCModel.Designer.cs.dll
│ │ ├── DPPD Dental Clinic Management System.exe
│ │ ├── DPPD Dental Clinic Management System.pdb
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── DPPD_Dental_Clinic_Management_System.Search.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Login_Form.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Statistics.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Edit_Patient.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Search_Result.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Delete_Patients.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Create_New_Account.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Database_Browser.resources
│ │ ├── DPPD Dental Clinic Management System.csproj.GenerateResource.Cache
│ │ ├── DPPD_Dental_Clinic_Management_System.Properties.Resources.resources
│ │ ├── DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources
│ │ ├── DPPD Dental Clinic Management System.csprojResolveAssemblyReference.cache
│ │ ├── DPPD Dental Clinic Management System.csproj.FileListAbsolute.txt
│ │ └── edmxResourcesToEmbed
│ │ ├── DCModel.msl
│ │ ├── DCModel.ssdl
│ │ └── DCModel.csdl
├── packages.config
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── DCModel.Designer.cs
├── DCModel.cs
├── Program.cs
├── DiagnosisList.cs
├── ProcedureList.cs
├── Login.cs
├── Diagnosis.cs
├── X_ray_images.cs
├── App.config
├── Date.cs
├── DCModel.Context.cs
├── DCModel.edmx.diagram
├── DataSourceConnection.cs
├── SlightlyMoreSophisticatedDirtyTracker.cs
├── SimpleDirtyTracker.cs
├── ControlDirtyTrackerCollection.cs
├── Patient_info.cs
├── Search Result.cs
├── ControlDirtyTracker.cs
├── Create New Account.cs
├── Delete Patients.cs
├── Search Result.Designer.cs
├── Login_Form.cs
├── Delete Patients.Designer.cs
├── Database Browser.cs
├── Create New Account.Designer.cs
├── Statistics.cs
├── Patient Profile Viewer.cs
└── Statistics.Designer.cs
├── DPPD Dental Clinic Management System.v11.suo
└── packages
├── EntityFramework.5.0.0
├── tools
│ ├── migrate.exe
│ ├── EntityFramework.psd1
│ ├── EntityFramework.PS3.psd1
│ ├── EntityFramework.PowerShell.dll
│ ├── EntityFramework.PowerShell.Utility.dll
│ ├── Redirect.config
│ ├── Redirect.VS11.config
│ ├── about_EntityFramework.help.txt
│ ├── init.ps1
│ └── install.ps1
├── EntityFramework.5.0.0.nupkg
├── lib
│ ├── net40
│ │ └── EntityFramework.dll
│ └── net45
│ │ └── EntityFramework.dll
├── Content
│ ├── App.config.transform
│ └── Web.config.transform
└── EntityFramework.5.0.0.nuspec
└── repositories.config
/DPPD Dental Clinic Management System/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System.v11.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System.v11.suo
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/migrate.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/tools/migrate.exe
--------------------------------------------------------------------------------
/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/EntityFramework.5.0.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/EntityFramework.5.0.0.nupkg
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/EntityFramework.psd1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/tools/EntityFramework.psd1
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/lib/net40/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/lib/net40/EntityFramework.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/lib/net45/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/lib/net45/EntityFramework.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/EntityFramework.PS3.psd1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/tools/EntityFramework.PS3.psd1
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/TempPE/DCModel.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/TempPE/DCModel.cs.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/EntityFramework.PowerShell.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/tools/EntityFramework.PowerShell.dll
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/TempPE/DCModel.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/TempPE/DCModel.cs.dll
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/TempPE/DCModel.Context.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/TempPE/DCModel.Context.cs.dll
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/EntityFramework.PowerShell.Utility.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/packages/EntityFramework.5.0.0/tools/EntityFramework.PowerShell.Utility.dll
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/TempPE/DCModel.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/TempPE/DCModel.Designer.cs.dll
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/TempPE/DCModel.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/TempPE/DCModel.Designer.cs.dll
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD Dental Clinic Management System.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD Dental Clinic Management System.exe
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD Dental Clinic Management System.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD Dental Clinic Management System.pdb
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.exe
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.pdb
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/Content/App.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/Content/Web.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Search.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Search.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Login_Form.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Login_Form.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Statistics.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Statistics.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Search.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Search.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Edit_Patient.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Edit_Patient.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Login_Form.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Login_Form.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Statistics.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Statistics.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Delete_Patients.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Delete_Patients.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Search_Result.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Search_Result.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Edit_Patient.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Edit_Patient.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Search_Result.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Search_Result.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Database_Browser.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Database_Browser.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Delete_Patients.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Delete_Patients.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD Dental Clinic Management System.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD Dental Clinic Management System.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Create_New_Account.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Create_New_Account.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Properties.Resources.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Create_New_Account.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Create_New_Account.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Database_Browser.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Database_Browser.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Debug/DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Properties.Resources.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohamedgeemi/DPPD-Dental-Clinic-Management-System/HEAD/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/DCModel.Designer.cs:
--------------------------------------------------------------------------------
1 | // Default code generation is disabled for model 'C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\DCModel.edmx'.
2 | // To enable default code generation, change the value of the 'Code Generation Strategy' designer
3 | // property to an alternate value. This property is available in the Properties Window when the model is
4 | // open in the designer.
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/DCModel.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/Redirect.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
9 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace DPPD_Dental_Clinic_Management_System
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new Login_Form());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/DiagnosisList.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class DiagnosisList
16 | {
17 | public int ID { get; set; }
18 | public string Diagnose { get; set; }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/ProcedureList.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class ProcedureList
16 | {
17 | public int ID { get; set; }
18 | public string Procedures { get; set; }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Login.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class Login
16 | {
17 | public int User_ID { get; set; }
18 | public string Username { get; set; }
19 | public string Password { get; set; }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/Redirect.VS11.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
9 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Diagnosis.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class Diagnosis
16 | {
17 | public int Diagnose_ID { get; set; }
18 | public int Patient_ID { get; set; }
19 | public string Diagnose { get; set; }
20 | public string Treatment_Plan { get; set; }
21 | public int Virtual_ID { get; set; }
22 |
23 | public virtual Patient_info Patient_info { get; set; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/X_ray_images.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class X_ray_images
16 | {
17 | public int Xray_images_ID { get; set; }
18 | public int Patient_ID { get; set; }
19 | public byte[] Xray_image { get; set; }
20 | public string Image_name { get; set; }
21 | public int Virtual_ID { get; set; }
22 |
23 | public virtual Patient_info Patient_info { get; set; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/about_EntityFramework.help.txt:
--------------------------------------------------------------------------------
1 | TOPIC
2 | about_EntityFramework
3 |
4 | SHORT DESCRIPTION
5 | Provides information about Entity Framework commands.
6 |
7 | LONG DESCRIPTION
8 | This topic describes the Entity Framework commands. Entity Framework is
9 | Microsoft's recommended data access technology for new applications.
10 |
11 |
12 | The following Entity Framework cmdlets are included.
13 |
14 | Cmdlet Description
15 | ----------------- ---------------------------------------------------
16 | Enable-Migrations Enables Code First Migrations in a project.
17 |
18 | Add-Migration Scaffolds a migration script for any pending model
19 | changes.
20 |
21 | Update-Database Applies any pending migrations to the database.
22 |
23 | Get-Migrations Displays the migrations that have been applied to
24 | the target database.
25 |
26 | SEE ALSO
27 | Enable-Migrations
28 | Add-Migration
29 | Update-Database
30 | Get-Migrations
31 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/EntityFramework.5.0.0.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | EntityFramework
5 | 5.0.0
6 | Microsoft
7 | Microsoft
8 | http://go.microsoft.com/fwlink/?LinkId=253898&clcid=0x409
9 | http://go.microsoft.com/fwlink/?LinkId=253891&clcid=0x409
10 | true
11 | Entity Framework is Microsoft's recommended data access technology for new applications.
12 | Entity Framework is Microsoft's recommended data access technology for new applications.
13 | en-US
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Date.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class Date
16 | {
17 | public int Dates_ID { get; set; }
18 | public int Patient_ID { get; set; }
19 | public System.DateTime Date1 { get; set; }
20 | public string Doctor_name { get; set; }
21 | public string Procedures { get; set; }
22 | public string Procedure_Comment { get; set; }
23 | public string Medication { get; set; }
24 | public string Supervisor_signature { get; set; }
25 | public int Virtual_ID { get; set; }
26 |
27 | public virtual Patient_info Patient_info { get; set; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.34209
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DPPD_Dental_Clinic_Management_System.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/DCModel.Context.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Data.Entity;
14 | using System.Data.Entity.Infrastructure;
15 |
16 | public partial class DCEntities : DbContext
17 | {
18 | public DCEntities()
19 | : base("name=DCEntities")
20 | {
21 | }
22 |
23 | protected override void OnModelCreating(DbModelBuilder modelBuilder)
24 | {
25 | throw new UnintentionalCodeFirstException();
26 | }
27 |
28 | public DbSet Patient_info { get; set; }
29 | public DbSet DiagnosisLists { get; set; }
30 | public DbSet ProcedureLists { get; set; }
31 | public DbSet Dates { get; set; }
32 | public DbSet Diagnoses { get; set; }
33 | public DbSet Logins { get; set; }
34 | public DbSet X_ray_images { get; set; }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/DCModel.edmx.diagram:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/DataSourceConnection.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data.SqlClient;
5 | using System.Data.Sql;
6 | using System.Data;
7 | using System.Drawing;
8 | using System.Linq;
9 | using System.Text.RegularExpressions;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 | using System.IO;
13 | using Microsoft.VisualBasic;
14 |
15 | namespace DPPD_Dental_Clinic_Management_System
16 | {
17 | public class DataSourceConnection
18 | {
19 | public String SQLCommand;
20 | public DataSourceConnection()
21 | {
22 | }
23 |
24 | // Get Data Table of specific SQL Query
25 | public DataTable GetData(string sqlCommand)
26 | {
27 | SQLCommand = sqlCommand;
28 | string connectionString = "Integrated Security=SSPI;" +
29 | "Persist Security Info=False;" +
30 | @"Initial Catalog=DPPD_DentalClinic_DB;Data Source=.\SQLEXPRESS";
31 |
32 | SqlConnection northwindConnection = new SqlConnection(connectionString);
33 |
34 | SqlCommand command = new SqlCommand(sqlCommand, northwindConnection);
35 | SqlDataAdapter adapter = new SqlDataAdapter();
36 | adapter.SelectCommand = command;
37 |
38 | DataTable table = new DataTable();
39 | table.Locale = System.Globalization.CultureInfo.InvariantCulture;
40 | adapter.Fill(table);
41 |
42 | return table;
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("DPPD Dental Clinic Management System")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("DPPD Dental Clinic Management System")]
13 | [assembly: AssemblyCopyright("Copyright © 2015")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("ef07ad81-5b50-4e9a-b6d5-57c76911b8ff")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/SlightlyMoreSophisticatedDirtyTracker.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows.Forms;
6 |
7 | namespace DPPD_Dental_Clinic_Management_System
8 | {
9 | public class SlightlyMoreSophisticatedDirtyTracker
10 | {
11 | private Form _frmTracked;
12 | private ControlDirtyTrackerCollection _controlsTracked;
13 |
14 | // property denoting whether the tracked form is clean or dirty;
15 | // used if the full list of dirty controls isn't necessary
16 | public bool IsDirty
17 | {
18 | get
19 | {
20 | List dirtyControls
21 | = _controlsTracked.GetListOfDirtyControls();
22 |
23 | return (dirtyControls.Count > 0);
24 | }
25 | }
26 |
27 |
28 | // public method for accessing the list of currently
29 | // "dirty" controls
30 | public List GetListOfDirtyControls()
31 | {
32 | return _controlsTracked.GetListOfDirtyControls();
33 | }
34 |
35 |
36 | // establish the form as "clean" with whatever current
37 | // control values exist
38 | public void MarkAsClean()
39 | {
40 | _controlsTracked.MarkAllControlsAsClean();
41 | }
42 |
43 |
44 | // initialize in the constructor by assigning controls to track
45 | public SlightlyMoreSophisticatedDirtyTracker(Form frm)
46 | {
47 | _frmTracked = frm;
48 | _controlsTracked = new ControlDirtyTrackerCollection(frm);
49 | }
50 |
51 |
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/SimpleDirtyTracker.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows.Forms;
6 |
7 | namespace DPPD_Dental_Clinic_Management_System
8 | {
9 | public class SimpleDirtyTracker
10 | {
11 | private Form _frmTracked;
12 | private bool _isDirty;
13 |
14 | // property denoting whether the tracked form is clean or dirty
15 | public bool IsDirty
16 | {
17 | get { return _isDirty; }
18 | set { _isDirty = value; }
19 | }
20 |
21 | // methods to make dirty or clean
22 | public void SetAsDirty()
23 | {
24 | _isDirty = true;
25 | }
26 |
27 | public void SetAsClean()
28 | {
29 | _isDirty = false;
30 | }
31 |
32 | // initialize in the constructor by assigning event handlers
33 | public SimpleDirtyTracker(Form frm)
34 | {
35 | _frmTracked = frm;
36 | AssignHandlersForControlCollection(frm.Controls);
37 | }
38 |
39 |
40 | // recursive routine to inspect each control and assign handlers accordingly
41 | private void AssignHandlersForControlCollection(Control.ControlCollection coll)
42 | {
43 | foreach (Control c in coll)
44 | {
45 | if (c is TextBox)
46 | (c as TextBox).TextChanged += new EventHandler(SimpleDirtyTracker_TextChanged);
47 |
48 | if (c is CheckBox)
49 | (c as CheckBox).CheckedChanged += new EventHandler(SimpleDirtyTracker_CheckedChanged);
50 |
51 | // ... apply for other input types similarly ...
52 |
53 | // recurively apply to inner collections
54 | if (c.HasChildren)
55 | AssignHandlersForControlCollection(c.Controls);
56 | }
57 | }
58 |
59 | // event handlers
60 | private void SimpleDirtyTracker_TextChanged(object sender, EventArgs e)
61 | {
62 | _isDirty = true;
63 | }
64 |
65 | private void SimpleDirtyTracker_CheckedChanged(object sender, EventArgs e)
66 | {
67 | _isDirty = true;
68 | }
69 |
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/ControlDirtyTrackerCollection.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows.Forms;
6 |
7 | namespace DPPD_Dental_Clinic_Management_System
8 | {
9 | public class ControlDirtyTrackerCollection: List
10 | {
11 |
12 | // constructors
13 | public ControlDirtyTrackerCollection() : base() { }
14 | public ControlDirtyTrackerCollection(Form frm) : base()
15 | {
16 | // initialize to the controls on the passed in form
17 | AddControlsFromForm(frm);
18 | }
19 |
20 |
21 | // utility method to add the controls from a Form to this collection
22 | public void AddControlsFromForm(Form frm)
23 | {
24 | AddControlsFromCollection(frm.Controls);
25 | }
26 |
27 | // recursive routine to inspect each control and add to the collection accordingly
28 | public void AddControlsFromCollection(Control.ControlCollection coll)
29 | {
30 | foreach (Control c in coll)
31 | {
32 | // if the control is supported for dirty tracking, add it
33 | if (ControlDirtyTracker.IsControlTypeSupported(c))
34 | this.Add(new ControlDirtyTracker(c));
35 |
36 | // recurively apply to inner collections
37 | if (c.HasChildren)
38 | AddControlsFromCollection(c.Controls);
39 | }
40 | }
41 |
42 | // loop through all controls and return a list of those that are dirty
43 | public List GetListOfDirtyControls()
44 | {
45 | List list = new List();
46 |
47 | foreach (ControlDirtyTracker c in this)
48 | {
49 | if (c.DetermineIfDirty())
50 | list.Add(c.Control);
51 | }
52 |
53 | return list;
54 | }
55 |
56 |
57 | // mark all the tracked controls as clean
58 | public void MarkAllControlsAsClean()
59 | {
60 | foreach (ControlDirtyTracker c in this)
61 | c.EstablishValueAsClean();
62 | }
63 |
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Patient_info.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace DPPD_Dental_Clinic_Management_System
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class Patient_info
16 | {
17 | public Patient_info()
18 | {
19 | this.Dates = new HashSet();
20 | this.Diagnoses = new HashSet();
21 | this.X_ray_images = new HashSet();
22 | }
23 |
24 | public int Patient_ID { get; set; }
25 | public string Patient_name { get; set; }
26 | public int Age { get; set; }
27 | public System.DateTime Visit_date { get; set; }
28 | public System.DateTime Birth_date { get; set; }
29 | public byte[] Patient_image { get; set; }
30 | public string Sex { get; set; }
31 | public string Home_number { get; set; }
32 | public string Phone_number { get; set; }
33 | public string Address { get; set; }
34 | public string Cheif_complaint { get; set; }
35 | public string Medical_alert { get; set; }
36 | public string Relative_marriage { get; set; }
37 | public double DMF { get; set; }
38 | public double C_dmf { get; set; }
39 | public double DEF { get; set; }
40 | public string Comments { get; set; }
41 | public Nullable D_DMF { get; set; }
42 | public Nullable M_DMF { get; set; }
43 | public Nullable F_DMF { get; set; }
44 | public Nullable dd_dmf { get; set; }
45 | public Nullable mm_dmf { get; set; }
46 | public Nullable ff_dmf { get; set; }
47 | public Nullable D_DEF { get; set; }
48 | public Nullable E_DEF { get; set; }
49 | public Nullable F_DEF { get; set; }
50 |
51 | public virtual ICollection Dates { get; set; }
52 | public virtual ICollection Diagnoses { get; set; }
53 | public virtual ICollection X_ray_images { get; set; }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.34209
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DPPD_Dental_Clinic_Management_System.Properties
12 | {
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources
26 | {
27 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// Returns the cached ResourceManager instance used by this class.
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DPPD_Dental_Clinic_Management_System.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// Overrides the current thread's CurrentUICulture property for all
56 | /// resource lookups using this strongly typed resource class.
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Search Result.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Data.SqlClient;
6 | using System.Drawing;
7 | using System.Linq;
8 | using System.Text;
9 | using System.Threading.Tasks;
10 | using System.Windows.Forms;
11 |
12 | namespace DPPD_Dental_Clinic_Management_System
13 | {
14 | public partial class Search_Result : Form
15 | {
16 | String sqlCommand;
17 | BindingSource BS;
18 | DataSourceConnection myDSC;
19 | public bool ShowForm;
20 | public Search_Result(String SQLCOMMAND)
21 | {
22 | InitializeComponent();
23 | sqlCommand = SQLCOMMAND;
24 | ShowForm = true;
25 | BS = new BindingSource();
26 | myDSC = new DataSourceConnection();
27 | ViewData();
28 | }
29 |
30 | // View the data of the result search
31 | public void ViewData()
32 | {
33 | // Automatically generate the DataGridView columns.
34 | DataTable Check = new DataTable();
35 | try
36 | {
37 | Search_Result_dataGridView.AutoGenerateColumns = true;
38 | Search_Result_dataGridView.AllowUserToResizeColumns = true;
39 | Search_Result_dataGridView.AllowUserToResizeRows = true;
40 | // Set up the data source.
41 | BS.DataSource = myDSC.GetData(sqlCommand);
42 | Check = myDSC.GetData(sqlCommand);
43 |
44 | if (Check.Rows.Count == 0)
45 | {
46 | ShowForm = false;
47 | MessageBox.Show("This Search key is not exist in the database\nPlease try again with different Search Key/s");
48 | return;
49 | }
50 | Search_Result_dataGridView.DataSource = BS.DataSource;
51 | // Set the DataGridView control's border.
52 | Search_Result_dataGridView.BorderStyle = BorderStyle.Fixed3D;
53 |
54 | // Put the cells in edit mode when user enters them.
55 | Search_Result_dataGridView.EditMode = DataGridViewEditMode.EditOnEnter;
56 | }
57 | catch (SqlException)
58 | {
59 | MessageBox.Show("To run this sample replace connection.ConnectionString" +
60 | " with a valid connection string to a Your DB" +
61 | " database accessible to your system.", "ERROR",
62 | MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
63 | System.Threading.Thread.CurrentThread.Abort();
64 | }
65 |
66 | }
67 |
68 | // Close the form
69 | private void Close_button_Click(object sender, EventArgs e)
70 | {
71 | this.Close();
72 | }
73 |
74 | // Open selected patient profile from the search result
75 | private void Search_Result_dataGridView_CellClick(object sender, DataGridViewCellEventArgs e)
76 | {
77 | String temp;
78 | int ID;
79 | if (e.ColumnIndex == 0)
80 | {
81 | temp = Search_Result_dataGridView.Rows[e.RowIndex].Cells[1].Value.ToString();
82 | ID = Int32.Parse(temp);
83 |
84 | Patient_Profile_Viewer PatientProfile = new Patient_Profile_Viewer(ID);
85 | PatientProfile.Show();
86 | }
87 | }
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/DPPD Dental Clinic Management System.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Debug\DPPD Dental Clinic Management System.exe.config
2 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Debug\DPPD Dental Clinic Management System.exe
3 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Debug\DPPD Dental Clinic Management System.pdb
4 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Debug\EntityFramework.dll
5 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Debug\EntityFramework.xml
6 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Create_New_Account.resources
7 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Properties.Resources.resources
8 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD Dental Clinic Management System.csproj.GenerateResource.Cache
9 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD Dental Clinic Management System.exe
10 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD Dental Clinic Management System.pdb
11 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Login_Form.resources
12 | c:\users\mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources
13 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources
14 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Database_Browser.resources
15 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Search.resources
16 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Search_Result.resources
17 | C:\Users\Mohamed\Documents\Visual Studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Delete_Patients.resources
18 | C:\Users\Mohamed\Documents\Visual Studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Edit_Patient.resources
19 | C:\Users\Mohamed\Documents\Visual Studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Debug\DPPD_Dental_Clinic_Management_System.Statistics.resources
20 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/DPPD Dental Clinic Management System.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Release\DPPD Dental Clinic Management System.exe.config
2 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Release\DPPD Dental Clinic Management System.exe
3 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Release\DPPD Dental Clinic Management System.pdb
4 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Release\EntityFramework.dll
5 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\bin\Release\EntityFramework.xml
6 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Add_new_Patient.resources
7 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Create_New_Account.resources
8 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Database_Browser.resources
9 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Login_Form.resources
10 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Patient_Profile_Viewer.resources
11 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Properties.Resources.resources
12 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Search_Result.resources
13 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Search.resources
14 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD Dental Clinic Management System.csproj.GenerateResource.Cache
15 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD Dental Clinic Management System.exe
16 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD Dental Clinic Management System.pdb
17 | C:\Users\Mohamed\documents\visual studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Edit_Patient.resources
18 | C:\Users\Mohamed\Documents\Visual Studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Delete_Patients.resources
19 | C:\Users\Mohamed\Documents\Visual Studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD_Dental_Clinic_Management_System.Statistics.resources
20 | C:\Users\Mohamed\Documents\Visual Studio 2012\Projects\DPPD Dental Clinic Management System\DPPD Dental Clinic Management System\obj\Release\DPPD Dental Clinic Management System.csprojResolveAssemblyReference.cache
21 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/ControlDirtyTracker.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows.Forms;
6 |
7 | namespace DPPD_Dental_Clinic_Management_System
8 | {
9 | public class ControlDirtyTracker
10 | {
11 | private Control _control;
12 | private string _cleanValue;
13 |
14 | // read only properties
15 | public Control Control { get { return _control; } }
16 | public string CleanValue { get { return _cleanValue; } }
17 |
18 | // constructor establishes the control and uses its current value as "clean"
19 | public ControlDirtyTracker(Control ctl)
20 | {
21 | // if the control type is not one that is supported, throw an exception
22 | if (ControlDirtyTracker.IsControlTypeSupported(ctl))
23 | _control = ctl;
24 | else
25 | throw new NotSupportedException(
26 | string.Format("The control type for '{0}' is not supported by the ControlDirtyTracker class."
27 | , ctl.Name)
28 | );
29 |
30 | }
31 |
32 |
33 | // method to establish the the current control value as "clean"
34 | public void EstablishValueAsClean()
35 | {
36 | _cleanValue = GetControlCurrentValue();
37 | }
38 |
39 |
40 | // determine if the current control value is considered "dirty";
41 | // i.e. if the current control value is different than the one
42 | // remembered as "clean"
43 | public bool DetermineIfDirty()
44 | {
45 | // compare the remembered "clean value" to the current value;
46 | // if they are the same, the control is still clean;
47 | // if they are different, the control is considered dirty.
48 | return (string.Compare(_cleanValue, GetControlCurrentValue(), false) != 0);
49 | }
50 |
51 |
52 |
53 | //////////////////////////////////////////////////////////////////////////////////////
54 | // developers may modify the following two methods to extend support for other types
55 | //////////////////////////////////////////////////////////////////////////////////////
56 |
57 | // static class utility method; return whether or not the control type
58 | // of the given control is supported by this class;
59 | // developers may modify this to extend support for other types
60 | public static bool IsControlTypeSupported(Control ctl)
61 | {
62 | // list of types supported
63 | if (ctl is TextBox) return true;
64 | if (ctl is CheckBox) return true;
65 | if (ctl is ComboBox) return true;
66 | if (ctl is ListBox) return true;
67 |
68 | // ... add additional types as desired ...
69 |
70 | // not a supported type
71 | return false;
72 | }
73 |
74 |
75 | // private method to determine the current value (as a string) of the control;
76 | // if the control is not supported, return a NotSupported exception
77 | // developers may modify this to extend support for other types
78 | private string GetControlCurrentValue()
79 | {
80 | if (_control is TextBox)
81 | return (_control as TextBox).Text;
82 |
83 | if (_control is CheckBox)
84 | return (_control as CheckBox).Checked.ToString();
85 |
86 | if (_control is ComboBox)
87 | return (_control as ComboBox).Text;
88 |
89 | if (_control is ListBox)
90 | {
91 | // for a listbox, create a list of the selected indexes
92 | StringBuilder val = new StringBuilder();
93 | ListBox lb = (_control as ListBox);
94 | ListBox.SelectedIndexCollection coll = lb.SelectedIndices;
95 | for (int i = 0; i < coll.Count; i++)
96 | val.AppendFormat("{0};", coll[i]);
97 |
98 | return val.ToString();
99 | }
100 |
101 | // ... add additional types as desired ...
102 |
103 | return "";
104 | }
105 |
106 | }
107 | }
108 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Create New Account.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace DPPD_Dental_Clinic_Management_System
12 | {
13 | public partial class Create_New_Account : Form
14 | {
15 | ErrorProvider Error;
16 | public Create_New_Account()
17 | {
18 | InitializeComponent();
19 | Error = new ErrorProvider();
20 |
21 | newPasstextBox.PasswordChar = '*';
22 | newPasstextBox.MaxLength = 20;
23 |
24 | newPassRetextbox.PasswordChar = '*';
25 | newPassRetextbox.MaxLength = 20;
26 | }
27 |
28 | // Get Data of new user
29 | private void Create_new_Account_Button_Click(object sender, EventArgs e)
30 | {
31 | String Username, Passoword, Re_enteredPassword;
32 | bool Validate;
33 |
34 | Username = newUNtextBox.Text;
35 | Passoword = newPasstextBox.Text;
36 | Re_enteredPassword = newPassRetextbox.Text;
37 |
38 | Validate = Validation(Username, Passoword, Re_enteredPassword);
39 |
40 | if (Validate == false)
41 | return;
42 |
43 | if (Validate == true)
44 | {
45 | AddNewAccount(Username, Passoword);
46 | MessageBox.Show("You have Registered Successfully!");
47 | this.Close();
48 | }
49 | }
50 |
51 | // Add new user in DB
52 | private void AddNewAccount(String username, String password)
53 | {
54 | Login newAccount = new Login();
55 | var count = (from o in Login_Form.context.Logins select o).Count();
56 |
57 | newAccount.User_ID = count + 1;
58 | newAccount.Username = username;
59 | newAccount.Password = password;
60 |
61 | Login_Form.context.Logins.Add(newAccount);
62 |
63 | Login_Form.context.SaveChanges();
64 | }
65 | // Validate Data
66 | private bool Validation(String username, String password, String Re_enteredPassword)
67 | {
68 | bool ValidatationUN, ValidationPW;
69 |
70 | ValidatationUN = ValidateUserName(username);
71 |
72 | if (ValidatationUN == false)
73 | {
74 | MessageBox.Show("Username is already reserved!!");
75 | Error.SetError(newUNtextBox, "plz");
76 | return false;
77 | }
78 | Error.Clear();
79 |
80 | if (string.IsNullOrEmpty(username))
81 | {
82 | MessageBox.Show("Please enter valid username");
83 | Error.SetError(newUNtextBox, "plz");
84 | return false;
85 | }
86 | Error.Clear();
87 |
88 | ValidationPW = ValidatePassword(password, Re_enteredPassword);
89 |
90 | if (ValidationPW == false)
91 | {
92 | MessageBox.Show("The two Passwords don't Match!!");
93 | Error.SetError(newPassRetextbox, "plz");
94 | return false;
95 | }
96 | Error.Clear();
97 |
98 | if (string.IsNullOrEmpty(password) || string.IsNullOrEmpty(Re_enteredPassword))
99 | {
100 | MessageBox.Show("Please enter valid password");
101 | Error.SetError(newPasstextBox, "plz");
102 | return false;
103 | }
104 | Error.Clear();
105 |
106 | if (password.Length > 20 || Re_enteredPassword.Length > 20)
107 | {
108 | MessageBox.Show("The maximum password length is 20!");
109 | Error.SetError(newPasstextBox, "plz");
110 | return false;
111 | }
112 | Error.Clear();
113 |
114 | return true;
115 |
116 | }
117 |
118 | // Validate username
119 | private bool ValidateUserName(String username)
120 | {
121 | var Query = from u in Login_Form.context.Logins.Where(u=> u.Username == username) select u;
122 | var usernames = Query.ToList();
123 |
124 | if (Login_Form.context.Logins.Any(u=> u.Username == username))
125 | {
126 | return false;
127 | }
128 |
129 | return true;
130 | }
131 | // Validate password
132 | private bool ValidatePassword(String Password, String Re_enteredPassword)
133 | {
134 | if (Password == Re_enteredPassword)
135 | return true;
136 |
137 | return false;
138 | }
139 | }
140 | }
141 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Delete Patients.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Data.SqlClient;
6 | using System.Drawing;
7 | using System.Linq;
8 | using System.Text;
9 | using System.Threading.Tasks;
10 | using System.Windows.Forms;
11 |
12 | namespace DPPD_Dental_Clinic_Management_System
13 | {
14 | public partial class Delete_Patients : Form
15 | {
16 | Data_Validator ValidateData;
17 | ErrorProvider Error;
18 | DCEntities Delete;
19 | private SlightlyMoreSophisticatedDirtyTracker _dirtyTracker;
20 | public Delete_Patients()
21 | {
22 | InitializeComponent();
23 | ValidateData = new Data_Validator();
24 | Error = new ErrorProvider();
25 | Delete = new DCEntities();
26 | }
27 |
28 | // Delete Set of patients
29 | private void Delete_patients_button_Click(object sender, EventArgs e)
30 | {
31 | String From, To;
32 | int FromID, ToID;
33 |
34 | From = Delete_from_textBox.Text;
35 | To = Delete_to_textBox.Text;
36 |
37 | if (!ValidateData.ValidateIDField(From))
38 | {
39 | Error.SetError(Delete_from_textBox, "sdgd");
40 | return;
41 | }
42 | Error.Clear();
43 |
44 | if (!ValidateData.ValidateIDField(To))
45 | {
46 | Error.SetError(Delete_to_textBox, "sdgd");
47 | return;
48 | }
49 | Error.Clear();
50 |
51 | FromID = Int32.Parse(From);
52 | ToID = Int32.Parse(To);
53 |
54 | //------------------------------------
55 | string message = "Are you sure you want to delete these patients?";
56 | string caption = "Warning";
57 | MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel;
58 | MessageBoxIcon Icon = MessageBoxIcon.Warning;
59 | DialogResult result;
60 |
61 | // Displays the MessageBox.
62 |
63 | result = MessageBox.Show(message, caption, buttons, Icon);
64 | if (result == DialogResult.Yes)
65 | {
66 | Delete.Database.ExecuteSqlCommand("DELETE FROM Diagnosis WHERE Patient_ID BETWEEN {0} AND {1} ", FromID, ToID );
67 | Delete.Database.ExecuteSqlCommand("DELETE FROM Dates WHERE Patient_ID BETWEEN {0} AND {1} ", FromID, ToID);
68 | Delete.Database.ExecuteSqlCommand("DELETE FROM [X-ray_images] WHERE Patient_ID BETWEEN {0} AND {1} ", FromID, ToID);
69 | int Number_of_rows_Affected = Delete.Database.ExecuteSqlCommand("DELETE FROM Patient_info WHERE Patient_ID BETWEEN {0} AND {1} ", FromID, ToID);
70 |
71 | Delete.SaveChanges();
72 |
73 | MessageBox.Show(Number_of_rows_Affected +" Patients was deleted.\n Please check your DB browser");
74 |
75 | if (Number_of_rows_Affected != 0)
76 | {
77 | ValidateData.ReorderXray_table();
78 | ValidateData.ReorderDiagnosis_table();
79 | ValidateData.ReorderDates_table();
80 | }
81 | Delete_from_textBox.Text = "";
82 | Delete_to_textBox.Text = "";
83 | }
84 |
85 | }
86 |
87 | private void Delete_Patients_Load(object sender, EventArgs e)
88 | {
89 | // in the Load event initialize our tracking object
90 | _dirtyTracker = new SlightlyMoreSophisticatedDirtyTracker(this);
91 | _dirtyTracker.MarkAsClean();
92 | }
93 |
94 | private void Delete_Patients_FormClosing(object sender, FormClosingEventArgs e)
95 | {
96 | // simulate closing the window; if the form is "dirty" (changed since the last save)
97 | // then prompt the user to save.
98 |
99 | //string message = "Would you like to save changes before closing?";
100 | //string caption = "Warning";
101 | //MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel;
102 | //MessageBoxIcon icon = MessageBoxIcon.Warning;
103 | //DialogResult result;
104 |
105 | // Displays the MessageBox.
106 |
107 | //if (_dirtyTracker.IsDirty)
108 | //{
109 | // result = MessageBox.Show(message, caption, buttons, icon);
110 | // if (result == DialogResult.Yes)
111 | // {
112 | // _dirtyTracker.MarkAsClean();
113 | // MessageBox.Show("You filled some fields without saving");
114 | // e.Cancel = true;
115 | // }
116 | // else if (result == DialogResult.No)
117 | // {
118 | // e.Cancel = false;
119 | // }
120 | // else
121 | // e.Cancel = true;
122 | //}
123 | }
124 | }
125 | }
126 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Search Result.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace DPPD_Dental_Clinic_Management_System
2 | {
3 | partial class Search_Result
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Search_Result));
32 | this.Close_button = new System.Windows.Forms.Button();
33 | this.Search_Result_dataGridView = new System.Windows.Forms.DataGridView();
34 | this.ViewPColumn = new System.Windows.Forms.DataGridViewButtonColumn();
35 | ((System.ComponentModel.ISupportInitialize)(this.Search_Result_dataGridView)).BeginInit();
36 | this.SuspendLayout();
37 | //
38 | // Close_button
39 | //
40 | this.Close_button.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
41 | this.Close_button.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
42 | this.Close_button.Location = new System.Drawing.Point(452, 346);
43 | this.Close_button.Name = "Close_button";
44 | this.Close_button.Size = new System.Drawing.Size(144, 35);
45 | this.Close_button.TabIndex = 1;
46 | this.Close_button.Text = "Close";
47 | this.Close_button.UseVisualStyleBackColor = true;
48 | this.Close_button.Click += new System.EventHandler(this.Close_button_Click);
49 | //
50 | // Search_Result_dataGridView
51 | //
52 | this.Search_Result_dataGridView.AllowUserToAddRows = false;
53 | this.Search_Result_dataGridView.AllowUserToDeleteRows = false;
54 | this.Search_Result_dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
55 | | System.Windows.Forms.AnchorStyles.Left)
56 | | System.Windows.Forms.AnchorStyles.Right)));
57 | this.Search_Result_dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
58 | this.Search_Result_dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
59 | this.ViewPColumn});
60 | this.Search_Result_dataGridView.Location = new System.Drawing.Point(0, 0);
61 | this.Search_Result_dataGridView.Name = "Search_Result_dataGridView";
62 | this.Search_Result_dataGridView.ReadOnly = true;
63 | this.Search_Result_dataGridView.Size = new System.Drawing.Size(1048, 333);
64 | this.Search_Result_dataGridView.TabIndex = 2;
65 | this.Search_Result_dataGridView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Search_Result_dataGridView_CellClick);
66 | //
67 | // ViewPColumn
68 | //
69 | this.ViewPColumn.HeaderText = "View Profile";
70 | this.ViewPColumn.Name = "ViewPColumn";
71 | this.ViewPColumn.ReadOnly = true;
72 | this.ViewPColumn.Text = "Click Me!";
73 | //
74 | // Search_Result
75 | //
76 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
77 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
78 | this.ClientSize = new System.Drawing.Size(1049, 403);
79 | this.Controls.Add(this.Search_Result_dataGridView);
80 | this.Controls.Add(this.Close_button);
81 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
82 | this.Name = "Search_Result";
83 | this.Text = "Search Result";
84 | ((System.ComponentModel.ISupportInitialize)(this.Search_Result_dataGridView)).EndInit();
85 | this.ResumeLayout(false);
86 |
87 | }
88 |
89 | #endregion
90 |
91 | private System.Windows.Forms.Button Close_button;
92 | private System.Windows.Forms.DataGridView Search_Result_dataGridView;
93 | private System.Windows.Forms.DataGridViewButtonColumn ViewPColumn;
94 | }
95 | }
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Login_Form.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 |
12 | namespace DPPD_Dental_Clinic_Management_System
13 | {
14 |
15 | public partial class Login_Form : Form
16 | {
17 | public static DCEntities context;
18 | public static List DiagnosisList, ProceduresList;
19 | public static DataTable DiagList, ProcList;
20 | Data_Validator ValidateData;
21 | ErrorProvider Error;
22 | public Login_Form()
23 | {
24 | InitializeComponent();
25 | context = new DCEntities();
26 | DiagnosisList = new List();
27 | ProceduresList = new List();
28 | DiagList = new DataTable();
29 | ProcList = new DataTable();
30 | ValidateData = new Data_Validator();
31 | Error = new ErrorProvider();
32 | PasswordtextBox.PasswordChar = '*';
33 | PasswordtextBox.MaxLength = 20;
34 |
35 | }
36 |
37 | // Show Create new Account Form
38 | private void newAccountButton_Click(object sender, EventArgs e)
39 | {
40 | Create_New_Account newAccount = new Create_New_Account();
41 |
42 | newAccount.Show();
43 | }
44 |
45 | // Get login Data
46 | private void Login_button_Click(object sender, EventArgs e)
47 | {
48 | String Username, Password;
49 | bool LoginChecker;
50 |
51 | Username = UsernametextBox.Text;
52 | Password = PasswordtextBox.Text;
53 |
54 | LoginChecker = LoginCheck(Username, Password);
55 |
56 | if (LoginChecker == true)
57 | {
58 | // MessageBox.Show("Welcome to DC Management System");
59 | MainFormPanel.Visible = true;
60 | }
61 | else
62 | {
63 | MessageBox.Show("Wrong username or password");
64 | }
65 |
66 |
67 | }
68 |
69 | // Check the login Data
70 | private static bool LoginCheck(String username, String password)
71 | {
72 | foreach (var User in context.Logins)
73 | {
74 | if (User.Username.Replace(" ", "") == username && User.Password.Replace(" ", "") == password)
75 | {
76 | return true;
77 | }
78 | }
79 |
80 | return false;
81 | }
82 |
83 | // Show Add new Patient Form
84 | private void AddnewPatientButton_Click(object sender, EventArgs e)
85 | {
86 | Add_new_Patient addNewPatient = new Add_new_Patient();
87 |
88 | addNewPatient.Show();
89 | }
90 |
91 | // View Specific Patient Profile
92 | private void View_Patient_Button_Click(object sender, EventArgs e)
93 | {
94 | if (!ValidateData.ValidateIDIsExist(IDtoview_textBox.Text))
95 | {
96 | Error.SetError(IDtoview_textBox, "Please Enter Valid ID");
97 | return;
98 | }
99 | Error.Clear();
100 |
101 | int ID = Int32.Parse(IDtoview_textBox.Text);
102 | Patient_Profile_Viewer ViewProfile = new Patient_Profile_Viewer(ID);
103 | ViewProfile.Show();
104 |
105 | IDtoview_textBox.Text = "";
106 | }
107 |
108 | // View All DB
109 | private void ViewAll_DB_button_Click(object sender, EventArgs e)
110 | {
111 | Database_Browser browse = new Database_Browser();
112 | browse.Show();
113 | }
114 |
115 | // View Search Form
116 | private void SearchPatientsButton_Click(object sender, EventArgs e)
117 | {
118 | Search newSearch = new Search();
119 | newSearch.Show();
120 | }
121 |
122 | // Save DiagList and ProcList when closing
123 | private void Login_Form_FormClosing(object sender, FormClosingEventArgs e)
124 | {
125 |
126 | }
127 |
128 | // Close the form
129 | private void closeToolStripMenuItem_Click(object sender, EventArgs e)
130 | {
131 | this.Close();
132 | }
133 |
134 | // Delete some patients
135 | private void deleteSetOfPatientsToolStripMenuItem_Click(object sender, EventArgs e)
136 | {
137 | Delete_Patients deletePatients = new Delete_Patients();
138 | deletePatients.Show();
139 | }
140 |
141 | // Get Stats
142 | private void statisticsToolStripMenuItem_Click(object sender, EventArgs e)
143 | {
144 | Statistics newState = new Statistics();
145 | newState.Show();
146 |
147 | }
148 |
149 | private void creditsToolStripMenuItem_Click(object sender, EventArgs e)
150 | {
151 | MessageBox.Show("Mohamed Gamal, Freelance Software Engineer \n\nE-mail: mohamedgeemi@gmail.com\n\nPhone Number: 01121313074 ");
152 | }
153 | }
154 | }
155 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/edmxResourcesToEmbed/DCModel.msl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/edmxResourcesToEmbed/DCModel.msl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Delete Patients.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace DPPD_Dental_Clinic_Management_System
2 | {
3 | partial class Delete_Patients
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Delete_Patients));
32 | this.label1 = new System.Windows.Forms.Label();
33 | this.Delete_from_textBox = new System.Windows.Forms.TextBox();
34 | this.Delete_to_textBox = new System.Windows.Forms.TextBox();
35 | this.label14 = new System.Windows.Forms.Label();
36 | this.label15 = new System.Windows.Forms.Label();
37 | this.Delete_patients_button = new System.Windows.Forms.Button();
38 | this.SuspendLayout();
39 | //
40 | // label1
41 | //
42 | this.label1.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
43 | this.label1.Location = new System.Drawing.Point(145, 52);
44 | this.label1.Name = "label1";
45 | this.label1.Size = new System.Drawing.Size(238, 34);
46 | this.label1.TabIndex = 1;
47 | this.label1.Text = "Delete Patients With ID";
48 | //
49 | // Delete_from_textBox
50 | //
51 | this.Delete_from_textBox.Location = new System.Drawing.Point(123, 161);
52 | this.Delete_from_textBox.Name = "Delete_from_textBox";
53 | this.Delete_from_textBox.Size = new System.Drawing.Size(101, 20);
54 | this.Delete_from_textBox.TabIndex = 6;
55 | //
56 | // Delete_to_textBox
57 | //
58 | this.Delete_to_textBox.Location = new System.Drawing.Point(337, 161);
59 | this.Delete_to_textBox.Name = "Delete_to_textBox";
60 | this.Delete_to_textBox.Size = new System.Drawing.Size(101, 20);
61 | this.Delete_to_textBox.TabIndex = 7;
62 | //
63 | // label14
64 | //
65 | this.label14.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
66 | this.label14.Location = new System.Drawing.Point(50, 161);
67 | this.label14.Name = "label14";
68 | this.label14.Size = new System.Drawing.Size(56, 23);
69 | this.label14.TabIndex = 69;
70 | this.label14.Text = "from";
71 | //
72 | // label15
73 | //
74 | this.label15.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
75 | this.label15.Location = new System.Drawing.Point(298, 162);
76 | this.label15.Name = "label15";
77 | this.label15.Size = new System.Drawing.Size(33, 23);
78 | this.label15.TabIndex = 70;
79 | this.label15.Text = "to";
80 | //
81 | // Delete_patients_button
82 | //
83 | this.Delete_patients_button.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
84 | this.Delete_patients_button.Location = new System.Drawing.Point(188, 235);
85 | this.Delete_patients_button.Name = "Delete_patients_button";
86 | this.Delete_patients_button.Size = new System.Drawing.Size(110, 35);
87 | this.Delete_patients_button.TabIndex = 71;
88 | this.Delete_patients_button.Text = "Delete";
89 | this.Delete_patients_button.UseVisualStyleBackColor = true;
90 | this.Delete_patients_button.Click += new System.EventHandler(this.Delete_patients_button_Click);
91 | //
92 | // Delete_Patients
93 | //
94 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
95 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
96 | this.ClientSize = new System.Drawing.Size(519, 329);
97 | this.Controls.Add(this.Delete_patients_button);
98 | this.Controls.Add(this.label15);
99 | this.Controls.Add(this.label14);
100 | this.Controls.Add(this.Delete_to_textBox);
101 | this.Controls.Add(this.Delete_from_textBox);
102 | this.Controls.Add(this.label1);
103 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
104 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
105 | this.Name = "Delete_Patients";
106 | this.Text = "Delete Patients";
107 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Delete_Patients_FormClosing);
108 | this.Load += new System.EventHandler(this.Delete_Patients_Load);
109 | this.ResumeLayout(false);
110 | this.PerformLayout();
111 |
112 | }
113 |
114 | #endregion
115 |
116 | private System.Windows.Forms.Label label1;
117 | private System.Windows.Forms.TextBox Delete_from_textBox;
118 | private System.Windows.Forms.TextBox Delete_to_textBox;
119 | private System.Windows.Forms.Label label14;
120 | private System.Windows.Forms.Label label15;
121 | private System.Windows.Forms.Button Delete_patients_button;
122 | }
123 | }
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Database Browser.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data.SqlClient;
5 | using System.Data.Sql;
6 | using System.Data;
7 | using System.Drawing;
8 | using System.Linq;
9 | using System.Text.RegularExpressions;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 | using System.IO;
13 | using Microsoft.VisualBasic;
14 |
15 |
16 | namespace DPPD_Dental_Clinic_Management_System
17 | {
18 | public partial class Database_Browser : Form
19 | {
20 | DCEntities cont;
21 | DataSourceConnection myDSconnection;
22 | BindingSource newBS;
23 | int NumberOfPatients;
24 |
25 | public Database_Browser()
26 | {
27 | InitializeComponent();
28 | this.Text = "Database Browser";
29 | cont = new DCEntities();
30 | myDSconnection = new DataSourceConnection();
31 | newBS = new BindingSource();
32 | NumberOfPatients = (from P in Login_Form.context.Patient_info select P).Count();
33 | NormalConnection();
34 | DataSourceCon("SELECT * FROM Patient_info");
35 | }
36 |
37 | // Entity Data Viewer
38 | private void NormalConnection()
39 | {
40 | this.ProgressBar_timer.Start();
41 |
42 | NumOfPatients1.Text = NumberOfPatients.ToString();
43 | DB_dataGridView.AllowUserToResizeColumns = true;
44 | DB_dataGridView.AllowUserToResizeRows = true;
45 |
46 | try
47 | {
48 | var Query = from o in cont.Patient_info select o;
49 | var Patients = Query.ToArray();
50 |
51 | List CurrentRow;
52 | foreach (var row in Patients)
53 | {
54 | CurrentRow = new List();
55 | CurrentRow = ObjectToList(row);
56 | DB_dataGridView.Rows.Add(CurrentRow.ToArray());
57 | }
58 |
59 | }
60 | catch (Exception ex)
61 | {
62 | MessageBox.Show(ex.Message);
63 | }
64 |
65 | }
66 | // DB Viewer
67 | private void DataSourceCon(String cmd)
68 | {
69 | NumOfPatients2.Text = NumberOfPatients.ToString();
70 |
71 | // Automatically generate the DataGridView columns.
72 | dataGridView1.AutoGenerateColumns = true;
73 | dataGridView1.AllowUserToResizeColumns = true;
74 | dataGridView1.AllowUserToResizeRows = true;
75 |
76 |
77 | try
78 | {
79 | // Set up the data source.
80 | newBS.DataSource = myDSconnection.GetData(cmd);
81 | dataGridView1.DataSource = newBS.DataSource;
82 | // Set the DataGridView control's border.
83 | dataGridView1.BorderStyle = BorderStyle.Fixed3D;
84 |
85 | // Put the cells in edit mode when user enters them.
86 | dataGridView1.EditMode = DataGridViewEditMode.EditOnEnter;
87 | }
88 | catch (SqlException)
89 | {
90 | MessageBox.Show("To run this sample replace connection.ConnectionString" +
91 | " with a valid connection string to a Your DB" +
92 | " database accessible to your system.", "ERROR",
93 | MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
94 | System.Threading.Thread.CurrentThread.Abort();
95 | }
96 | }
97 |
98 | // Convert Patient Object into list
99 | public List ObjectToList(Patient_info Patient)
100 | {
101 | //////////////////
102 | List row = new List();
103 | row.Add("Click Me");
104 | row.Add(Patient.Patient_ID.ToString());
105 | row.Add(Patient.Age.ToString());
106 | row.Add(Patient.Patient_name);
107 | row.Add( Patient.Home_number);
108 | row.Add( Patient.Phone_number);
109 | row.Add( Patient.Address);
110 | row.Add( Patient.Cheif_complaint);
111 | row.Add( Patient.Medical_alert);
112 | row.Add( Patient.Visit_date.ToShortDateString());
113 | row.Add( Patient.Birth_date.ToShortDateString());
114 | row.Add(Patient.Sex);
115 | row.Add(Patient.Relative_marriage);
116 | row.Add(Patient.DMF.ToString());
117 | row.Add(Patient.C_dmf.ToString());
118 | row.Add(Patient.DEF.ToString());
119 | row.Add(Patient.Comments);
120 |
121 | return row;
122 | }
123 |
124 | // View Patient Profile
125 | private void DB_dataGridView_CellClick(object sender, DataGridViewCellEventArgs e)
126 | {
127 | String temp;
128 | int ID;
129 | if (e.ColumnIndex == 0)
130 | {
131 | temp = DB_dataGridView.Rows[e.RowIndex].Cells[1].Value.ToString();
132 | ID = Int32.Parse(temp);
133 |
134 | Patient_Profile_Viewer PatientProfile = new Patient_Profile_Viewer(ID);
135 | PatientProfile.Show();
136 | }
137 | }
138 | // View Patient Profile
139 | private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
140 | {
141 | String temp;
142 | int ID;
143 | if (e.ColumnIndex == 0)
144 | {
145 | temp = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();
146 | ID = Int32.Parse(temp);
147 |
148 | Patient_Profile_Viewer PatientProfile = new Patient_Profile_Viewer(ID);
149 | PatientProfile.Show();
150 | }
151 |
152 | }
153 | // View DB tables
154 | private void DB_Tables_comboBox_SelectedIndexChanged(object sender, EventArgs e)
155 | {
156 | String table = DB_Tables_comboBox.Text;
157 | if (table != "Patient_info")
158 | VPColumn.Visible = false;
159 | else
160 | VPColumn.Visible = true;
161 |
162 | if (table == "X-ray images")
163 | table = "[X-ray_images]";
164 |
165 | DataSourceCon("SELECT * FROM " + table);
166 | }
167 |
168 | private void ProgressBar_timer_Tick(object sender, EventArgs e)
169 | {
170 | this.DB_browser_progressBar.Increment(3);
171 | this.ProgressBar_Percentage.Text = DB_browser_progressBar.Value.ToString();
172 | this.ProgressBar_Percentage.Refresh();
173 | }
174 |
175 | private void label3_Click(object sender, EventArgs e)
176 | {
177 |
178 | }
179 | }
180 | }
181 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Create New Account.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace DPPD_Dental_Clinic_Management_System
2 | {
3 | partial class Create_New_Account
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Create_New_Account));
32 | this.newUNtextBox = new System.Windows.Forms.TextBox();
33 | this.newPasstextBox = new System.Windows.Forms.TextBox();
34 | this.newPassRetextbox = new System.Windows.Forms.TextBox();
35 | this.Create_new_Account_Button = new System.Windows.Forms.Button();
36 | this.label15 = new System.Windows.Forms.Label();
37 | this.label2 = new System.Windows.Forms.Label();
38 | this.label1 = new System.Windows.Forms.Label();
39 | this.label3 = new System.Windows.Forms.Label();
40 | this.SuspendLayout();
41 | //
42 | // newUNtextBox
43 | //
44 | this.newUNtextBox.Location = new System.Drawing.Point(227, 89);
45 | this.newUNtextBox.Name = "newUNtextBox";
46 | this.newUNtextBox.Size = new System.Drawing.Size(309, 20);
47 | this.newUNtextBox.TabIndex = 0;
48 | //
49 | // newPasstextBox
50 | //
51 | this.newPasstextBox.Location = new System.Drawing.Point(227, 144);
52 | this.newPasstextBox.Name = "newPasstextBox";
53 | this.newPasstextBox.Size = new System.Drawing.Size(309, 20);
54 | this.newPasstextBox.TabIndex = 1;
55 | //
56 | // newPassRetextbox
57 | //
58 | this.newPassRetextbox.Location = new System.Drawing.Point(227, 197);
59 | this.newPassRetextbox.Name = "newPassRetextbox";
60 | this.newPassRetextbox.Size = new System.Drawing.Size(309, 20);
61 | this.newPassRetextbox.TabIndex = 2;
62 | //
63 | // Create_new_Account_Button
64 | //
65 | this.Create_new_Account_Button.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
66 | this.Create_new_Account_Button.Location = new System.Drawing.Point(208, 259);
67 | this.Create_new_Account_Button.Name = "Create_new_Account_Button";
68 | this.Create_new_Account_Button.Size = new System.Drawing.Size(116, 47);
69 | this.Create_new_Account_Button.TabIndex = 6;
70 | this.Create_new_Account_Button.Text = "Create";
71 | this.Create_new_Account_Button.UseVisualStyleBackColor = true;
72 | this.Create_new_Account_Button.Click += new System.EventHandler(this.Create_new_Account_Button_Click);
73 | //
74 | // label15
75 | //
76 | this.label15.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
77 | this.label15.ForeColor = System.Drawing.Color.Red;
78 | this.label15.Location = new System.Drawing.Point(129, 31);
79 | this.label15.Name = "label15";
80 | this.label15.Size = new System.Drawing.Size(277, 23);
81 | this.label15.TabIndex = 33;
82 | this.label15.Text = "*NOTE that: Passowrd maximum length is 20";
83 | //
84 | // label2
85 | //
86 | this.label2.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
87 | this.label2.Location = new System.Drawing.Point(45, 89);
88 | this.label2.Name = "label2";
89 | this.label2.Size = new System.Drawing.Size(129, 23);
90 | this.label2.TabIndex = 34;
91 | this.label2.Text = "Username";
92 | //
93 | // label1
94 | //
95 | this.label1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
96 | this.label1.Location = new System.Drawing.Point(45, 144);
97 | this.label1.Name = "label1";
98 | this.label1.Size = new System.Drawing.Size(129, 23);
99 | this.label1.TabIndex = 35;
100 | this.label1.Text = "Password";
101 | //
102 | // label3
103 | //
104 | this.label3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
105 | this.label3.Location = new System.Drawing.Point(23, 197);
106 | this.label3.Name = "label3";
107 | this.label3.Size = new System.Drawing.Size(190, 23);
108 | this.label3.TabIndex = 36;
109 | this.label3.Text = "Re-enter Password";
110 | //
111 | // Create_New_Account
112 | //
113 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
114 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
115 | this.ClientSize = new System.Drawing.Size(565, 331);
116 | this.Controls.Add(this.label3);
117 | this.Controls.Add(this.label1);
118 | this.Controls.Add(this.label2);
119 | this.Controls.Add(this.label15);
120 | this.Controls.Add(this.Create_new_Account_Button);
121 | this.Controls.Add(this.newPassRetextbox);
122 | this.Controls.Add(this.newPasstextBox);
123 | this.Controls.Add(this.newUNtextBox);
124 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
125 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
126 | this.Name = "Create_New_Account";
127 | this.Text = "Create New Account";
128 | this.ResumeLayout(false);
129 | this.PerformLayout();
130 |
131 | }
132 |
133 | #endregion
134 |
135 | private System.Windows.Forms.TextBox newUNtextBox;
136 | private System.Windows.Forms.TextBox newPasstextBox;
137 | private System.Windows.Forms.TextBox newPassRetextbox;
138 | private System.Windows.Forms.Button Create_new_Account_Button;
139 | private System.Windows.Forms.Label label15;
140 | private System.Windows.Forms.Label label2;
141 | private System.Windows.Forms.Label label1;
142 | private System.Windows.Forms.Label label3;
143 | }
144 | }
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Statistics.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace DPPD_Dental_Clinic_Management_System
12 | {
13 | public partial class Statistics : Form
14 | {
15 | Data_Validator ValidateData;
16 | DCEntities Stats;
17 | ErrorProvider Error;
18 | BindingSource BS;
19 | DataSourceConnection con;
20 | private SlightlyMoreSophisticatedDirtyTracker _dirtyTracker;
21 | public Statistics()
22 | {
23 | InitializeComponent();
24 | ValidateData = new Data_Validator();
25 | Stats = new DCEntities();
26 | Error = new ErrorProvider();
27 | BS = new BindingSource();
28 | con = new DataSourceConnection();
29 | IntializeComboboxes();
30 | }
31 |
32 | private void IntializeComboboxes()
33 | {
34 | String SqlCommand = "SELECT DISTINCT Procedures FROM ProcedureList";
35 | BS.DataSource = con.GetData(SqlCommand);
36 | if (Login_Form.ProcList.Rows.Count != 0)
37 | {
38 | Procedures_comboBox.DataSource = Login_Form.ProcList;
39 | }
40 | else
41 | Procedures_comboBox.DataSource = BS;
42 |
43 | Procedures_comboBox.DisplayMember = "Procedures";
44 | Procedures_comboBox.SelectedIndex = -1;
45 | }
46 |
47 | private void Get_Number_Visits_button_Click(object sender, EventArgs e)
48 | {
49 | String From, To, FromV, ToV;
50 |
51 | From = Visits_from_textBox.Text;
52 | To = Visits_to_textBox.Text;
53 |
54 | if (!ValidateData.ValidateDate(From))
55 | {
56 | MessageBox.Show("Please enter a valid visit date, ex: 1/1/2016 ");
57 | Error.SetError(Visits_from_textBox, "sdgd");
58 | return;
59 | }
60 | Error.Clear();
61 |
62 | if (!ValidateData.ValidateDate(To))
63 | {
64 | MessageBox.Show("Please enter a valid visit date, ex: 1/1/2016 ");
65 | Error.SetError(Visits_to_textBox, "sdgd");
66 | return;
67 | }
68 | Error.Clear();
69 |
70 | try
71 | {
72 |
73 | DateTime Key1 = DateTime.Parse(From);
74 | FromV = Key1.ToString("yyyy-MM-dd");
75 |
76 | DateTime Key2 = DateTime.Parse(To);
77 | ToV = Key2.ToString("yyyy-MM-dd");
78 |
79 |
80 | var NumberOfVisits = (from V in Stats.Patient_info.Where(V => V.Visit_date >= Key1 && V.Visit_date <= Key2) select V).Count();
81 |
82 |
83 | MessageBox.Show("The number of patients is: " + NumberOfVisits.ToString());
84 | }
85 | catch (Exception ex)
86 | {
87 | MessageBox.Show(ex.Message);
88 | }
89 |
90 |
91 | }
92 |
93 | private void Get_BirthDate_Button_Click(object sender, EventArgs e)
94 | {
95 | String From, To, FromV, ToV;
96 |
97 | From = BirthDate_from_textBox.Text;
98 | To = Birth_date_to_textBox.Text;
99 |
100 | if (!ValidateData.ValidateDate(From))
101 | {
102 | MessageBox.Show("Please enter a valid Birth date, ex: 1/1/2016 ");
103 | Error.SetError(BirthDate_from_textBox, "sdgd");
104 | return;
105 | }
106 | Error.Clear();
107 |
108 | if (!ValidateData.ValidateDate(To))
109 | {
110 | MessageBox.Show("Please enter a valid Birth date, ex: 1/1/2016 ");
111 | Error.SetError(Birth_date_to_textBox, "sdgd");
112 | return;
113 | }
114 | Error.Clear();
115 |
116 | try
117 | {
118 |
119 | DateTime Key1 = DateTime.Parse(From);
120 | FromV = Key1.ToString("yyyy-MM-dd");
121 |
122 | DateTime Key2 = DateTime.Parse(To);
123 | ToV = Key2.ToString("yyyy-MM-dd");
124 |
125 |
126 | var NumberOfPatients = (from V in Stats.Patient_info.Where(V => V.Birth_date >= Key1 && V.Birth_date <= Key2) select V).Count();
127 |
128 | MessageBox.Show("The number of patients is: " + NumberOfPatients.ToString());
129 | }
130 | catch (Exception ex)
131 | {
132 | MessageBox.Show(ex.Message);
133 | }
134 |
135 |
136 |
137 | }
138 |
139 | private void Get_Proc_Number_Button_Click(object sender, EventArgs e)
140 | {
141 | String Choise = Procedures_comboBox.Text;
142 | List ComboBoxItems = new List();
143 |
144 | for (int i = 0; i < Procedures_comboBox.Items.Count; i++)
145 | {
146 | ComboBoxItems.Add( Procedures_comboBox.GetItemText(Procedures_comboBox.Items[i]) );
147 | }
148 |
149 | if (!ValidateData.ValidateComboBoxItem(Choise, ComboBoxItems))
150 | {
151 | Error.SetError(Procedures_comboBox, "shdf");
152 | return;
153 | }
154 | Error.Clear();
155 |
156 | try
157 | {
158 |
159 | var NumOftimes = (from P in Stats.Dates.Where(P => P.Procedures == Choise) select P).Count();
160 |
161 | if(NumOftimes == 0)
162 | MessageBox.Show(Choise + " Procedure was NOT performed at all");
163 | else if (NumOftimes == 1)
164 | MessageBox.Show(Choise + " Procedure was performed " + NumOftimes.ToString() + " time.");
165 | else
166 | MessageBox.Show(Choise + " Procedure was performed " + NumOftimes.ToString() + " times.");
167 | }
168 | catch (Exception ex)
169 | {
170 | MessageBox.Show(ex.Message);
171 | }
172 | }
173 |
174 | private void Statistics_Load(object sender, EventArgs e)
175 | {
176 | // in the Load event initialize our tracking object
177 | _dirtyTracker = new SlightlyMoreSophisticatedDirtyTracker(this);
178 | _dirtyTracker.MarkAsClean();
179 |
180 | }
181 |
182 | private void Statistics_FormClosing(object sender, FormClosingEventArgs e)
183 | {
184 | // simulate closing the window; if the form is "dirty" (changed since the last save)
185 | // then prompt the user to save.
186 |
187 | //string message = "Would you like to save changes before closing?";
188 | //string caption = "Warning";
189 | //MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel;
190 | //MessageBoxIcon icon = MessageBoxIcon.Warning;
191 | //DialogResult result;
192 |
193 | //// Displays the MessageBox.
194 |
195 | //if (_dirtyTracker.IsDirty)
196 | //{
197 | // result = MessageBox.Show(message, caption, buttons, icon);
198 | // if (result == DialogResult.Yes)
199 | // {
200 | // _dirtyTracker.MarkAsClean();
201 | // MessageBox.Show("You filled some fields without saving");
202 | // e.Cancel = true;
203 | // }
204 | // else if (result == DialogResult.No)
205 | // {
206 | // e.Cancel = false;
207 | // }
208 | // else
209 | // e.Cancel = true;
210 | //}
211 |
212 | }
213 | }
214 | }
215 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/edmxResourcesToEmbed/DCModel.ssdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/edmxResourcesToEmbed/DCModel.ssdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Debug/edmxResourcesToEmbed/DCModel.csdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/obj/Release/edmxResourcesToEmbed/DCModel.csdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/init.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | $importedModule = Get-Module | ?{ $_.Name -eq 'EntityFramework' }
4 |
5 | if ($PSVersionTable.PSVersion -ge (New-Object Version @( 3, 0 )))
6 | {
7 | $thisModuleManifest = 'EntityFramework.PS3.psd1'
8 | }
9 | else
10 | {
11 | $thisModuleManifest = 'EntityFramework.psd1'
12 | }
13 |
14 | $thisModule = Test-ModuleManifest (Join-Path $toolsPath $thisModuleManifest)
15 | $shouldImport = $true
16 |
17 | if ($importedModule)
18 | {
19 | if ($importedModule.Version -le $thisModule.Version)
20 | {
21 | Remove-Module EntityFramework
22 | }
23 | else
24 | {
25 | $shouldImport = $false
26 | }
27 | }
28 |
29 | if ($shouldImport)
30 | {
31 | Import-Module $thisModule
32 | }
33 |
34 | # SIG # Begin signature block
35 | # MIIaSAYJKoZIhvcNAQcCoIIaOTCCGjUCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
36 | # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
37 | # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU4JbMotbKQrAO4s/cceCMbJQG
38 | # 482gghUtMIIEoDCCA4igAwIBAgIKYRnMkwABAAAAZjANBgkqhkiG9w0BAQUFADB5
39 | # MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk
40 | # bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpN
41 | # aWNyb3NvZnQgQ29kZS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O6gxb6Y8vNgt
103 | # MBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMB8GA1UdIwQYMBaAFA6sgmBAVieX
104 | # 5SUT/CrhClOVWeSkMFAGA1UdHwRJMEcwRaBDoEGGP2h0dHA6Ly9jcmwubWljcm9z
105 | # b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL21pY3Jvc29mdHJvb3RjZXJ0LmNybDBU
106 | # BggrBgEFBQcBAQRIMEYwRAYIKwYBBQUHMAKGOGh0dHA6Ly93d3cubWljcm9zb2Z0
107 | # LmNvbS9wa2kvY2VydHMvTWljcm9zb2Z0Um9vdENlcnQuY3J0MA0GCSqGSIb3DQEB
108 | # BQUAA4ICAQBZOT5/Jkav629AsTK1ausOL26oSffrX3XtTDst10OtC/7L6S0xoyPM
109 | # fFCYgCFdrD0vTLqiqFac43C7uLT4ebVJcvc+6kF/yuEMF2nLpZwgLfoLUMRWzS3j
110 | # StK8cOeoDaIDpVbguIpLV/KVQpzx8+/u44YfNDy4VprwUyOFKqSCHJPilAcd8uJO
111 | # +IyhyugTpZFOyBvSj3KVKnFtmxr4HPBT1mfMIv9cHc2ijL0nsnljVkSiUc356aNY
112 | # Vt2bAkVEL1/02q7UgjJu/KSVE+Traeepoiy+yCsQDmWOmdv1ovoSJgllOJTxeh9K
113 | # u9HhVujQeJYYXMk1Fl/dkx1Jji2+rTREHO4QFRoAXd01WyHOmMcJ7oUOjE9tDhNO
114 | # PXwpSJxy0fNsysHscKNXkld9lI2gG0gDWvfPo2cKdKU27S0vF8jmcjcS9G+xPGeC
115 | # +VKyjTMWZR4Oit0Q3mT0b85G1NMX6XnEBLTT+yzfH4qerAr7EydAreT54al/RrsH
116 | # YEdlYEBOsELsTu2zdnnYCjQJbRyAMR/iDlTd5aH75UcQrWSY/1AWLny/BSF64pVB
117 | # J2nDk4+VyY3YmyGuDVyc8KKuhmiDDGotu3ZrAB2WrfIWe/YWgyS5iM9qqEcxL5rc
118 | # 43E91wB+YkfR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vcNAQkGMYICDDCCAggCAQEwgYUwdzELMAkGA1UEBhMCVVMxEzARBgNV
165 | # BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv
166 | # c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFRpbWUtU3RhbXAg
167 | # UENBAgphApJKAAAAAAAgMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZI
168 | # hvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMjA2MjgyMDQzMzlaMCMGCSqGSIb3DQEJ
169 | # BDEWBBTcH0Qic4YQ6MzFbjR1RWKCxjK8pzANBgkqhkiG9w0BAQUFAASCAQAdMhoS
170 | # z2zXLJyB1RIjdnGlDxLKzXF+rxImjMI7VfId2vIg4FaGIPqnN0BBTp8o+HZCv3cM
171 | # ZV/okS8w9k/82jWjJ183l9fn3moQe4qbVlV6yUJvPFpW47LFrEAXgdmL8bgA/VOW
172 | # HtJRP52lPDsb7J1WjqNOh7KkyD5x0Y8Pwrb+Xc63ibtTjOeAttPxKk+1gZh95wUA
173 | # ykjw7RKZLHfyJ9Ph5lCkzDQrXXwGGPuzaZVO+pkowgy2yCPRecShGBCKbCyOZlhT
174 | # BS1WVJDHS95N732o0lPzWE5rTQe/awv8xkgCe9e8ci4S7/lSnj3aVOLbM3S8jG4x
175 | # Oi4rxrjYTjts1n2P
176 | # SIG # End signature block
177 |
--------------------------------------------------------------------------------
/packages/EntityFramework.5.0.0/tools/install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | function Invoke-ConnectionFactoryConfigurator($assemblyPath, $project)
4 | {
5 | $appDomain = [AppDomain]::CreateDomain(
6 | 'EntityFramework.PowerShell',
7 | $null,
8 | (New-Object System.AppDomainSetup -Property @{ ShadowCopyFiles = 'true' }))
9 |
10 | $appDomain.CreateInstanceFrom(
11 | $assemblyPath,
12 | 'System.Data.Entity.ConnectionFactoryConfig.ConnectionFactoryConfigurator',
13 | $false,
14 | 0,
15 | $null,
16 | $project,
17 | $null,
18 | $null) | Out-Null
19 |
20 | [AppDomain]::Unload($appDomain)
21 | }
22 |
23 | Invoke-ConnectionFactoryConfigurator (Join-Path $toolsPath EntityFramework.PowerShell.dll) $project
24 |
25 | Write-Host
26 | Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework commands."
27 |
28 | # SIG # Begin signature block
29 | # MIIaRgYJKoZIhvcNAQcCoIIaNzCCGjMCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
30 | # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
31 | # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU4nG54zEClXzFX9aYwYpo8BH3
32 | # YWygghUtMIIEoDCCA4igAwIBAgIKYRnMkwABAAAAZjANBgkqhkiG9w0BAQUFADB5
33 | # MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk
34 | # bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpN
35 | # aWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQTAeFw0xMTEwMTAyMDMyMjVaFw0xMzAx
36 | # MTAyMDMyMjVaMIGDMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQ
37 | # MA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
38 | # MQ0wCwYDVQQLEwRNT1BSMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24w
39 | # ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDuW759ESTjhgbgZv9ItRe9
40 | # AuS0DDLwcj59LofXTqGxp0Mv92WeMeEyMUWu18EkhCHXLrWEfvo101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AA4ICAQBZOT5/Jkav629AsTK1ausOL26oSffrX3XtTDst10OtC/7L6S0xoyPM
103 | # fFCYgCFdrD0vTLqiqFac43C7uLT4ebVJcvc+6kF/yuEMF2nLpZwgLfoLUMRWzS3j
104 | # StK8cOeoDaIDpVbguIpLV/KVQpzx8+/u44YfNDy4VprwUyOFKqSCHJPilAcd8uJO
105 | # +IyhyugTpZFOyBvSj3KVKnFtmxr4HPBT1mfMIv9cHc2ijL0nsnljVkSiUc356aNY
106 | # Vt2bAkVEL1/02q7UgjJu/KSVE+Traeepoiy+yCsQDmWOmdv1ovoSJgllOJTxeh9K
107 | # u9HhVujQeJYYXMk1Fl/dkx1Jji2+rTREHO4QFRoAXd01WyHOmMcJ7oUOjE9tDhNO
108 | # PXwpSJxy0fNsysHscKNXkld9lI2gG0gDWvfPo2cKdKU27S0vF8jmcjcS9G+xPGeC
109 | # +VKyjTMWZR4Oit0Q3mT0b85G1NMX6XnEBLTT+yzfH4qerAr7EydAreT54al/RrsH
110 | # YEdlYEBOsELsTu2zdnnYCjQJbRyAMR/iDlTd5aH75UcQrWSY/1AWLny/BSF64pVB
111 | # J2nDk4+VyY3YmyGuDVyc8KKuhmiDDGotu3ZrAB2WrfIWe/YWgyS5iM9qqEcxL5rc
112 | # 43E91wB+YkfRzojJuBj6DnKNwaM9rwJAav9pm5biEKgQtDdQCNbDPTCCBgcwggPv
113 | # oAMCAQICCmEWaDQAAAAAABwwDQYJKoZIhvcNAQEFBQAwXzETMBEGCgmSJomT8ixk
114 | # ARkWA2NvbTEZMBcGCgmSJomT8ixkARkWCW1pY3Jvc29mdDEtMCsGA1UEAxMkTWlj
115 | # cm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTA3MDQwMzEyNTMw
116 | # OVoXDTIxMDQwMzEzMDMwOVowdzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp
117 | # bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBA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IhvcNAQEFBQAEggEAiJCupwRm
164 | # YW3NHK2EdgaQ+VCIjXwVrEj6ElX4c30nAYXxnCOIesErL/N/jMYnM3Fo+GNsOikL
165 | # x9Mzo4sZv/c6bchLtnagS6MzQyDFiBPF+pngSMg2PpIDHsIBg2vPzClWx6+hCDxE
166 | # Yf9f7/s/vQEpEbHLjzQZJqoji2LV5HRxnHbT3J13atUF2yqgzyTRlOF2MPp3vLX1
167 | # 7q5KnOBrWsfyxoYskJEddsbH7zilomWyVZ2zcpG8Ui/h2xoN50AXtMQntx9VYxwT
168 | # D5U5ECSdKzXeUIwktYBPtxor5yGBda63PNxjUHYXSRvFrdnLtXTiMiIQzEzJUdk9
169 | # 6p75IHbjyjvZfg==
170 | # SIG # End signature block
171 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Patient Profile Viewer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text.RegularExpressions;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using System.IO;
11 | using Microsoft.VisualBasic;
12 |
13 | namespace DPPD_Dental_Clinic_Management_System
14 | {
15 | public partial class Patient_Profile_Viewer : Form
16 | {
17 |
18 | int Patient_ID, Age, XrayViewerImageIndex;
19 | String Patient_Name, Home_no, Mobile_no, Address, Cheif_comp, Medical_Alr, Comments,Sex, RelativeMarriage;
20 | DateTime VisitDate, BirthDate;
21 | byte[] PatientPhoto;
22 | Double DMF, dmf, DEF;
23 | Double D, M, F;
24 | Double d, m, f;
25 | Double _D, E, _F;
26 | Patient_info Patient;
27 | List Xray_images;
28 | List XrayimagesNames , Diagnosis, TreatmentPlans;
29 | List> DiagnosisAndTPs_table, DatesAndProc_table;
30 | DCEntities RetrievedContext;
31 | Data_Validator ValidateData;
32 |
33 | public Patient_Profile_Viewer(int id)
34 | {
35 | InitializeComponent();
36 | Patient_ID = id;
37 | RetrievedContext = new DCEntities();
38 | ValidateData = new Data_Validator();
39 | Patient = new Patient_info();
40 | Xray_images = new List();
41 | XrayimagesNames = new List();
42 | Diagnosis = new List();
43 | TreatmentPlans = new List();
44 | DiagnosisAndTPs_table = new List>();
45 | DatesAndProc_table = new List>();
46 | ViewPatientProfile();
47 | XrayViewerImageIndex = 0;
48 | }
49 |
50 | // Main
51 | public void ViewPatientProfile()
52 | {
53 | // var Query = from P in RetrievedContext.Patient_info.Where(P => P.Patient_ID == Patient_ID) select P;
54 | if (CheckBoxIfExist() == false)
55 | return;
56 |
57 | GetPatientData();
58 | FillData();
59 | this.Text = Patient.Patient_name;
60 | ViewBasicInfo();
61 |
62 | //////////////////
63 |
64 | GetPatientXrayImages();
65 | ViewXrayImages();
66 |
67 | /////////////////////
68 | GetDiagnosisAndTreatmentPlans();
69 | ViewDiagnosisAndTreatmentPlans();
70 |
71 | //////////////////////
72 | GetDatesAndProcedures();
73 | ViewDatesAndProcedures();
74 | }
75 | // check if exist
76 | public bool CheckBoxIfExist()
77 | {
78 | if (!RetrievedContext.Patient_info.Any(i => i.Patient_ID == Patient_ID))
79 | {
80 | MessageBox.Show("This ID is not exist in your database");
81 | return false;
82 | }
83 | return true;
84 |
85 | }
86 | // Get patient data
87 | public void GetPatientData()
88 | {
89 | Patient = RetrievedContext.Patient_info.Where(ID => ID.Patient_ID == Patient_ID).FirstOrDefault();
90 | }
91 | // Fill the data in the form
92 | public void FillData()
93 | {
94 | //////////////////
95 |
96 | Age = Patient.Age;
97 | Patient_Name = Patient.Patient_name;
98 | Home_no = Patient.Home_number;
99 | Mobile_no = Patient.Phone_number;
100 | Address = Patient.Address;
101 | Cheif_comp = Patient.Cheif_complaint;
102 | Medical_Alr = Patient.Medical_alert;
103 | Comments = Patient.Comments;
104 | VisitDate = Patient.Visit_date;
105 | BirthDate = Patient.Birth_date;
106 | Sex = Patient.Sex;
107 | RelativeMarriage = Patient.Relative_marriage;
108 | PatientPhoto = Patient.Patient_image;
109 | DMF = Patient.DMF;
110 | D = Convert.ToDouble(Patient.D_DMF);
111 | M = Convert.ToDouble(Patient.M_DMF);
112 | F = Convert.ToDouble(Patient.F_DMF);
113 | dmf = Patient.C_dmf;
114 | d = Convert.ToDouble(Patient.dd_dmf);
115 | m = Convert.ToDouble(Patient.mm_dmf);
116 | f = Convert.ToDouble(Patient.ff_dmf);
117 | DEF = Patient.DEF;
118 | _D = Convert.ToDouble(Patient.D_DEF);
119 | E = Convert.ToDouble(Patient.E_DEF);
120 | _F = Convert.ToDouble(Patient.F_DEF);
121 | }
122 | // Fill Basic info page
123 | public void ViewBasicInfo()
124 | {
125 | ////////////
126 | P_ID.Text = Patient_ID.ToString();
127 | P_Name.Text = Patient_Name;
128 | P_Age.Text = Age.ToString();
129 | P_Sex.Text = Sex;
130 | P_Birthday.Text = BirthDate.ToShortDateString();
131 | P_Home_no.Text = Home_no;
132 | P_Mobile_nom.Text = Mobile_no;
133 | P_Visit_date.Text = VisitDate.ToShortDateString();
134 | P_Realative_Marriage.Text = RelativeMarriage;
135 | P_Address.Text = Address;
136 | P_Chief_Comp.Text = Cheif_comp;
137 | P_Medical_Alert.Text = Medical_Alr;
138 | if (Comments != null)
139 | P_Comments.Text = Comments;
140 |
141 | PatientPhoto = Patient.Patient_image;
142 | MemoryStream ms = new MemoryStream(PatientPhoto);
143 |
144 | var image = Image.FromStream(ms);
145 | P_Profile_Picture.Image = image;
146 | P_Profile_Picture.SizeMode = PictureBoxSizeMode.StretchImage;
147 |
148 | }
149 | // Get the Xray images
150 | public void GetPatientXrayImages() {
151 |
152 | var images = Patient.X_ray_images.Where(i=>i.Patient_ID == Patient_ID);
153 |
154 | byte[] current_Img;
155 | MemoryStream ms;
156 | foreach (var image in images)
157 | {
158 | XrayimagesNames.Add(image.Image_name);
159 | current_Img = image.Xray_image;
160 | ms = new MemoryStream(current_Img);
161 | Xray_images.Add(new Bitmap (Image.FromStream(ms)));
162 | }
163 | }
164 | // Fill X-ray images page
165 | private void ViewXrayImages()
166 | {
167 | if (Xray_images.Count != 0)
168 | {
169 | XrayViewer_pictureBox.Image = Xray_images[XrayViewerImageIndex];
170 | XrayViewer_pictureBox.SizeMode = PictureBoxSizeMode.StretchImage;
171 | X_ray_image_index.Text = Convert.ToString(XrayViewerImageIndex + 1);
172 | X_ray_image_Name.Text = XrayimagesNames[XrayViewerImageIndex];
173 | }
174 | }
175 |
176 | // Photo viewer - Previous
177 | private void Photo_viewer_Preivous_button_Click(object sender, EventArgs e)
178 | {
179 | if (Xray_images.Count != 0)
180 | {
181 | XrayViewerImageIndex -= 1;
182 |
183 | if (XrayViewerImageIndex < 0)
184 | XrayViewerImageIndex = Xray_images.Count - 1;
185 |
186 | XrayViewer_pictureBox.Image = Xray_images[XrayViewerImageIndex];
187 | X_ray_image_index.Text = Convert.ToString(XrayViewerImageIndex + 1);
188 | X_ray_image_Name.Text = XrayimagesNames[XrayViewerImageIndex];
189 | }
190 | }
191 | // Photo viewer - Next
192 | private void Photo_Viewer_Next_button_Click(object sender, EventArgs e)
193 | {
194 | if (Xray_images.Count != 0)
195 | {
196 | XrayViewerImageIndex += 1;
197 |
198 | if (XrayViewerImageIndex > Xray_images.Count - 1)
199 | {
200 | XrayViewerImageIndex = 0;
201 | }
202 |
203 | XrayViewer_pictureBox.Image = Xray_images[XrayViewerImageIndex];
204 | X_ray_image_index.Text = Convert.ToString(XrayViewerImageIndex + 1);
205 | X_ray_image_Name.Text = XrayimagesNames[XrayViewerImageIndex];
206 | }
207 | }
208 | // Get Diagnosis and treatment plans data
209 | private void GetDiagnosisAndTreatmentPlans()
210 | {
211 | var Diagnosis = Patient.Diagnoses.Where(i => i.Patient_ID == Patient_ID);
212 |
213 | List CurrentRow;
214 | foreach (var record in Diagnosis)
215 | {
216 | CurrentRow = new List();
217 | CurrentRow.Add(record.Diagnose);
218 | CurrentRow.Add(record.Treatment_Plan);
219 |
220 | DiagnosisAndTPs_table.Add(CurrentRow);
221 | }
222 | }
223 | // View Diagnosis and treatment plans data
224 | private void ViewDiagnosisAndTreatmentPlans()
225 | {
226 |
227 | DMF_Value.Text = DMF.ToString();
228 | DMF_D.Text = D.ToString();
229 | DMF_M.Text = M.ToString();
230 | DMF_F.Text = F.ToString();
231 | _dmf_value.Text = dmf.ToString();
232 | _dmf_d.Text = d.ToString();
233 | _dmf_m.Text = m.ToString();
234 | _dmf_f.Text = f.ToString();
235 | DEF_Value.Text = DEF.ToString();
236 | DEF_D.Text = _D.ToString();
237 | DEF_E.Text = E.ToString();
238 | DEF_F.Text = _F.ToString();
239 |
240 | foreach (List row in DiagnosisAndTPs_table)
241 | {
242 | DATP_dataGridView.Rows.Add(row.ToArray());
243 | }
244 | }
245 | // Get Dates and Procedure table
246 | private void GetDatesAndProcedures()
247 | {
248 | var Dates = Patient.Dates.Where(i=>i.Patient_ID == Patient_ID);
249 |
250 | List CurrentRow;
251 | foreach(var Date in Dates)
252 | {
253 | CurrentRow = new List();
254 | CurrentRow.Add(Date.Date1.ToShortDateString());
255 | CurrentRow.Add(Date.Doctor_name);
256 | CurrentRow.Add(Date.Procedures);
257 | CurrentRow.Add(Date.Procedure_Comment);
258 | CurrentRow.Add(Date.Medication);
259 | CurrentRow.Add(Date.Supervisor_signature);
260 |
261 | DatesAndProc_table.Add(CurrentRow);
262 | }
263 | }
264 | // View Dates and Procedure table
265 | private void ViewDatesAndProcedures()
266 | {
267 | foreach (List row in DatesAndProc_table)
268 | {
269 | DAP_dataGridView.Rows.Add(row.ToArray());
270 | }
271 | }
272 |
273 | // Edit Patient Profile
274 | private void Edit_Patient_button_Click(object sender, EventArgs e)
275 | {
276 | Edit_Patient editPatient = new Edit_Patient(Patient_ID, Age, Patient_Name, Home_no, Mobile_no, Address, Cheif_comp, Medical_Alr,
277 | Comments,Sex, RelativeMarriage, VisitDate, BirthDate, PatientPhoto, Xray_images, XrayimagesNames, D, M, F, d, m, f, _D, E, _F, DiagnosisAndTPs_table,DatesAndProc_table);
278 |
279 | editPatient.Show();
280 | this.Close();
281 |
282 | }
283 |
284 | // Delete Patient Profile
285 | private void Delete_patient_button_Click(object sender, EventArgs e)
286 | {
287 | string message = "Are you sure you want to delete this patient?";
288 | string caption = "Warning";
289 | MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel;
290 | MessageBoxIcon Icon = MessageBoxIcon.Warning;
291 | DialogResult result;
292 |
293 | // Displays the MessageBox.
294 |
295 | result = MessageBox.Show(message, caption, buttons, Icon);
296 | if (result == DialogResult.Yes)
297 | {
298 | RetrievedContext.Database.ExecuteSqlCommand("DELETE FROM Diagnosis WHERE Patient_ID = {0}", Patient_ID);
299 | RetrievedContext.Database.ExecuteSqlCommand("DELETE FROM Dates WHERE Patient_ID = {0}", Patient_ID);
300 | RetrievedContext.Database.ExecuteSqlCommand("DELETE FROM [X-ray_images] WHERE Patient_ID = {0}", Patient_ID);
301 | RetrievedContext.Database.ExecuteSqlCommand("DELETE FROM Patient_info WHERE Patient_ID = {0}", Patient_ID);
302 |
303 | RetrievedContext.SaveChanges();
304 |
305 | if (!RetrievedContext.Patient_info.Any(i => i.Patient_ID == Patient_ID))
306 | {
307 | MessageBox.Show("The patient was deleted");
308 | ValidateData.ReorderXray_table();
309 | ValidateData.ReorderDiagnosis_table();
310 | ValidateData.ReorderDates_table();
311 | }
312 | else
313 | MessageBox.Show("Failed to delete the patient");
314 |
315 | this.Close();
316 | }
317 | }
318 |
319 | ///
320 | /// Generated by mistake :D
321 | ///
322 | ///
323 | ///
324 | private void Basic_info_tabPage_Click(object sender, EventArgs e)
325 | {
326 |
327 | }
328 |
329 | private void P_Name_Click(object sender, EventArgs e)
330 | {
331 |
332 | }
333 |
334 | }
335 | }
336 |
--------------------------------------------------------------------------------
/DPPD Dental Clinic Management System/Statistics.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace DPPD_Dental_Clinic_Management_System
2 | {
3 | partial class Statistics
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Statistics));
32 | this.Statistics_tabControl = new System.Windows.Forms.TabControl();
33 | this.NumberOfVisits_tabPage = new System.Windows.Forms.TabPage();
34 | this.Get_Number_Visits_button = new System.Windows.Forms.Button();
35 | this.label15 = new System.Windows.Forms.Label();
36 | this.label14 = new System.Windows.Forms.Label();
37 | this.Visits_to_textBox = new System.Windows.Forms.TextBox();
38 | this.Visits_from_textBox = new System.Windows.Forms.TextBox();
39 | this.label11 = new System.Windows.Forms.Label();
40 | this.BirthDate_tabPage = new System.Windows.Forms.TabPage();
41 | this.Get_BirthDate_Button = new System.Windows.Forms.Button();
42 | this.label1 = new System.Windows.Forms.Label();
43 | this.label2 = new System.Windows.Forms.Label();
44 | this.Birth_date_to_textBox = new System.Windows.Forms.TextBox();
45 | this.BirthDate_from_textBox = new System.Windows.Forms.TextBox();
46 | this.label3 = new System.Windows.Forms.Label();
47 | this.Procedures_tabPage = new System.Windows.Forms.TabPage();
48 | this.Get_Proc_Number_Button = new System.Windows.Forms.Button();
49 | this.label4 = new System.Windows.Forms.Label();
50 | this.Procedures_comboBox = new System.Windows.Forms.ComboBox();
51 | this.Statistics_tabControl.SuspendLayout();
52 | this.NumberOfVisits_tabPage.SuspendLayout();
53 | this.BirthDate_tabPage.SuspendLayout();
54 | this.Procedures_tabPage.SuspendLayout();
55 | this.SuspendLayout();
56 | //
57 | // Statistics_tabControl
58 | //
59 | this.Statistics_tabControl.Controls.Add(this.NumberOfVisits_tabPage);
60 | this.Statistics_tabControl.Controls.Add(this.BirthDate_tabPage);
61 | this.Statistics_tabControl.Controls.Add(this.Procedures_tabPage);
62 | this.Statistics_tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
63 | this.Statistics_tabControl.Location = new System.Drawing.Point(0, 0);
64 | this.Statistics_tabControl.Name = "Statistics_tabControl";
65 | this.Statistics_tabControl.SelectedIndex = 0;
66 | this.Statistics_tabControl.Size = new System.Drawing.Size(574, 371);
67 | this.Statistics_tabControl.TabIndex = 0;
68 | //
69 | // NumberOfVisits_tabPage
70 | //
71 | this.NumberOfVisits_tabPage.BackColor = System.Drawing.Color.WhiteSmoke;
72 | this.NumberOfVisits_tabPage.Controls.Add(this.Get_Number_Visits_button);
73 | this.NumberOfVisits_tabPage.Controls.Add(this.label15);
74 | this.NumberOfVisits_tabPage.Controls.Add(this.label14);
75 | this.NumberOfVisits_tabPage.Controls.Add(this.Visits_to_textBox);
76 | this.NumberOfVisits_tabPage.Controls.Add(this.Visits_from_textBox);
77 | this.NumberOfVisits_tabPage.Controls.Add(this.label11);
78 | this.NumberOfVisits_tabPage.Location = new System.Drawing.Point(4, 22);
79 | this.NumberOfVisits_tabPage.Name = "NumberOfVisits_tabPage";
80 | this.NumberOfVisits_tabPage.Padding = new System.Windows.Forms.Padding(3);
81 | this.NumberOfVisits_tabPage.Size = new System.Drawing.Size(566, 345);
82 | this.NumberOfVisits_tabPage.TabIndex = 0;
83 | this.NumberOfVisits_tabPage.Text = "Visits";
84 | //
85 | // Get_Number_Visits_button
86 | //
87 | this.Get_Number_Visits_button.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
88 | this.Get_Number_Visits_button.Location = new System.Drawing.Point(238, 248);
89 | this.Get_Number_Visits_button.Name = "Get_Number_Visits_button";
90 | this.Get_Number_Visits_button.Size = new System.Drawing.Size(93, 35);
91 | this.Get_Number_Visits_button.TabIndex = 74;
92 | this.Get_Number_Visits_button.Text = "Get";
93 | this.Get_Number_Visits_button.UseVisualStyleBackColor = true;
94 | this.Get_Number_Visits_button.Click += new System.EventHandler(this.Get_Number_Visits_button_Click);
95 | //
96 | // label15
97 | //
98 | this.label15.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
99 | this.label15.Location = new System.Drawing.Point(298, 161);
100 | this.label15.Name = "label15";
101 | this.label15.Size = new System.Drawing.Size(33, 23);
102 | this.label15.TabIndex = 73;
103 | this.label15.Text = "to";
104 | //
105 | // label14
106 | //
107 | this.label14.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
108 | this.label14.Location = new System.Drawing.Point(64, 161);
109 | this.label14.Name = "label14";
110 | this.label14.Size = new System.Drawing.Size(56, 23);
111 | this.label14.TabIndex = 72;
112 | this.label14.Text = "from";
113 | //
114 | // Visits_to_textBox
115 | //
116 | this.Visits_to_textBox.Location = new System.Drawing.Point(347, 161);
117 | this.Visits_to_textBox.Name = "Visits_to_textBox";
118 | this.Visits_to_textBox.Size = new System.Drawing.Size(120, 20);
119 | this.Visits_to_textBox.TabIndex = 71;
120 | //
121 | // Visits_from_textBox
122 | //
123 | this.Visits_from_textBox.Location = new System.Drawing.Point(126, 161);
124 | this.Visits_from_textBox.Name = "Visits_from_textBox";
125 | this.Visits_from_textBox.Size = new System.Drawing.Size(119, 20);
126 | this.Visits_from_textBox.TabIndex = 70;
127 | //
128 | // label11
129 | //
130 | this.label11.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
131 | this.label11.Location = new System.Drawing.Point(54, 43);
132 | this.label11.Name = "label11";
133 | this.label11.Size = new System.Drawing.Size(453, 23);
134 | this.label11.TabIndex = 61;
135 | this.label11.Text = "Get the Number of visits in a specific interval";
136 | //
137 | // BirthDate_tabPage
138 | //
139 | this.BirthDate_tabPage.BackColor = System.Drawing.Color.WhiteSmoke;
140 | this.BirthDate_tabPage.Controls.Add(this.Get_BirthDate_Button);
141 | this.BirthDate_tabPage.Controls.Add(this.label1);
142 | this.BirthDate_tabPage.Controls.Add(this.label2);
143 | this.BirthDate_tabPage.Controls.Add(this.Birth_date_to_textBox);
144 | this.BirthDate_tabPage.Controls.Add(this.BirthDate_from_textBox);
145 | this.BirthDate_tabPage.Controls.Add(this.label3);
146 | this.BirthDate_tabPage.Location = new System.Drawing.Point(4, 22);
147 | this.BirthDate_tabPage.Name = "BirthDate_tabPage";
148 | this.BirthDate_tabPage.Padding = new System.Windows.Forms.Padding(3);
149 | this.BirthDate_tabPage.Size = new System.Drawing.Size(563, 344);
150 | this.BirthDate_tabPage.TabIndex = 2;
151 | this.BirthDate_tabPage.Text = "Birth date";
152 | //
153 | // Get_BirthDate_Button
154 | //
155 | this.Get_BirthDate_Button.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
156 | this.Get_BirthDate_Button.Location = new System.Drawing.Point(239, 257);
157 | this.Get_BirthDate_Button.Name = "Get_BirthDate_Button";
158 | this.Get_BirthDate_Button.Size = new System.Drawing.Size(93, 35);
159 | this.Get_BirthDate_Button.TabIndex = 80;
160 | this.Get_BirthDate_Button.Text = "Get";
161 | this.Get_BirthDate_Button.UseVisualStyleBackColor = true;
162 | this.Get_BirthDate_Button.Click += new System.EventHandler(this.Get_BirthDate_Button_Click);
163 | //
164 | // label1
165 | //
166 | this.label1.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
167 | this.label1.Location = new System.Drawing.Point(299, 170);
168 | this.label1.Name = "label1";
169 | this.label1.Size = new System.Drawing.Size(33, 23);
170 | this.label1.TabIndex = 79;
171 | this.label1.Text = "to";
172 | //
173 | // label2
174 | //
175 | this.label2.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
176 | this.label2.Location = new System.Drawing.Point(65, 170);
177 | this.label2.Name = "label2";
178 | this.label2.Size = new System.Drawing.Size(56, 23);
179 | this.label2.TabIndex = 78;
180 | this.label2.Text = "from";
181 | //
182 | // Birth_date_to_textBox
183 | //
184 | this.Birth_date_to_textBox.Location = new System.Drawing.Point(348, 170);
185 | this.Birth_date_to_textBox.Name = "Birth_date_to_textBox";
186 | this.Birth_date_to_textBox.Size = new System.Drawing.Size(120, 20);
187 | this.Birth_date_to_textBox.TabIndex = 77;
188 | //
189 | // BirthDate_from_textBox
190 | //
191 | this.BirthDate_from_textBox.Location = new System.Drawing.Point(127, 170);
192 | this.BirthDate_from_textBox.Name = "BirthDate_from_textBox";
193 | this.BirthDate_from_textBox.Size = new System.Drawing.Size(119, 20);
194 | this.BirthDate_from_textBox.TabIndex = 76;
195 | //
196 | // label3
197 | //
198 | this.label3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
199 | this.label3.Location = new System.Drawing.Point(23, 52);
200 | this.label3.Name = "label3";
201 | this.label3.Size = new System.Drawing.Size(508, 23);
202 | this.label3.TabIndex = 75;
203 | this.label3.Text = "Get the Number of Birthdates in a specific interval";
204 | //
205 | // Procedures_tabPage
206 | //
207 | this.Procedures_tabPage.BackColor = System.Drawing.Color.WhiteSmoke;
208 | this.Procedures_tabPage.Controls.Add(this.Get_Proc_Number_Button);
209 | this.Procedures_tabPage.Controls.Add(this.label4);
210 | this.Procedures_tabPage.Controls.Add(this.Procedures_comboBox);
211 | this.Procedures_tabPage.Location = new System.Drawing.Point(4, 22);
212 | this.Procedures_tabPage.Name = "Procedures_tabPage";
213 | this.Procedures_tabPage.Padding = new System.Windows.Forms.Padding(3);
214 | this.Procedures_tabPage.Size = new System.Drawing.Size(563, 344);
215 | this.Procedures_tabPage.TabIndex = 1;
216 | this.Procedures_tabPage.Text = "Procedures";
217 | //
218 | // Get_Proc_Number_Button
219 | //
220 | this.Get_Proc_Number_Button.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
221 | this.Get_Proc_Number_Button.Location = new System.Drawing.Point(340, 166);
222 | this.Get_Proc_Number_Button.Name = "Get_Proc_Number_Button";
223 | this.Get_Proc_Number_Button.Size = new System.Drawing.Size(93, 35);
224 | this.Get_Proc_Number_Button.TabIndex = 81;
225 | this.Get_Proc_Number_Button.Text = "Get";
226 | this.Get_Proc_Number_Button.UseVisualStyleBackColor = true;
227 | this.Get_Proc_Number_Button.Click += new System.EventHandler(this.Get_Proc_Number_Button_Click);
228 | //
229 | // label4
230 | //
231 | this.label4.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
232 | this.label4.Location = new System.Drawing.Point(103, 62);
233 | this.label4.Name = "label4";
234 | this.label4.Size = new System.Drawing.Size(341, 23);
235 | this.label4.TabIndex = 76;
236 | this.label4.Text = "Get the Number of each Procedure";
237 | //
238 | // Procedures_comboBox
239 | //
240 | this.Procedures_comboBox.FormattingEnabled = true;
241 | this.Procedures_comboBox.Location = new System.Drawing.Point(75, 174);
242 | this.Procedures_comboBox.Name = "Procedures_comboBox";
243 | this.Procedures_comboBox.Size = new System.Drawing.Size(160, 21);
244 | this.Procedures_comboBox.TabIndex = 67;
245 | //
246 | // Statistics
247 | //
248 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
249 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
250 | this.ClientSize = new System.Drawing.Size(574, 371);
251 | this.Controls.Add(this.Statistics_tabControl);
252 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
253 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
254 | this.Name = "Statistics";
255 | this.Text = "Statistics";
256 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Statistics_FormClosing);
257 | this.Load += new System.EventHandler(this.Statistics_Load);
258 | this.Statistics_tabControl.ResumeLayout(false);
259 | this.NumberOfVisits_tabPage.ResumeLayout(false);
260 | this.NumberOfVisits_tabPage.PerformLayout();
261 | this.BirthDate_tabPage.ResumeLayout(false);
262 | this.BirthDate_tabPage.PerformLayout();
263 | this.Procedures_tabPage.ResumeLayout(false);
264 | this.ResumeLayout(false);
265 |
266 | }
267 |
268 | #endregion
269 |
270 | private System.Windows.Forms.TabControl Statistics_tabControl;
271 | private System.Windows.Forms.TabPage NumberOfVisits_tabPage;
272 | private System.Windows.Forms.TabPage Procedures_tabPage;
273 | private System.Windows.Forms.Label label11;
274 | private System.Windows.Forms.Label label15;
275 | private System.Windows.Forms.Label label14;
276 | private System.Windows.Forms.TextBox Visits_to_textBox;
277 | private System.Windows.Forms.TextBox Visits_from_textBox;
278 | private System.Windows.Forms.Button Get_Number_Visits_button;
279 | private System.Windows.Forms.TabPage BirthDate_tabPage;
280 | private System.Windows.Forms.Button Get_BirthDate_Button;
281 | private System.Windows.Forms.Label label1;
282 | private System.Windows.Forms.Label label2;
283 | private System.Windows.Forms.TextBox Birth_date_to_textBox;
284 | private System.Windows.Forms.TextBox BirthDate_from_textBox;
285 | private System.Windows.Forms.Label label3;
286 | private System.Windows.Forms.ComboBox Procedures_comboBox;
287 | private System.Windows.Forms.Label label4;
288 | private System.Windows.Forms.Button Get_Proc_Number_Button;
289 | }
290 | }
--------------------------------------------------------------------------------