├── BO ├── AuthenticationProcedure.cs ├── BO.csproj ├── Controller.csproj ├── DataShow.cs ├── Edit.cs ├── MyReturnType.cs ├── Project.cs ├── Properties │ └── AssemblyInfo.cs ├── SearchingPeople.cs ├── To Do List.cs ├── bin │ └── Debug │ │ ├── BO.dll │ │ ├── BO.pdb │ │ ├── DAL.dll │ │ └── DAL.pdb └── obj │ └── Debug │ ├── BO.csproj.FileListAbsolute.txt │ ├── BO.csprojResolveAssemblyReference.cache │ ├── BO.dll │ ├── BO.pdb │ ├── Controller.csproj.FileListAbsolute.txt │ ├── Controller.csprojResolveAssemblyReference.cache │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs ├── DAL ├── AddProject.cs ├── Authintication.cs ├── Connection.cs ├── DAL.csproj ├── Edit Project.cs ├── EditProfile.cs ├── Model.csproj ├── ProjectInfo.cs ├── Properties │ └── AssemblyInfo.cs ├── SearchPeople.cs ├── ShowData.cs ├── ShowProject.cs ├── ToDoListFunction.cs ├── bin │ └── Debug │ │ ├── DAL.dll │ │ └── DAL.pdb └── obj │ └── Debug │ ├── DAL.csproj.FileListAbsolute.txt │ ├── DAL.csprojResolveAssemblyReference.cache │ ├── DAL.dll │ ├── DAL.pdb │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── Model.csproj.FileListAbsolute.txt │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs ├── LICENSE ├── Management ├── System ├── Task ├── Task Management System.sln ├── Task Management System.v11.suo ├── UI ├── Add Project.Designer.cs ├── Add Project.cs ├── Add Project.resx ├── Add To Do List.Designer.cs ├── Add To Do List.cs ├── Add To Do List.resx ├── App.config ├── Change Password.Designer.cs ├── Change Password.cs ├── Change Password.resx ├── Edit Profile.Designer.cs ├── Edit Profile.cs ├── Edit Profile.resx ├── Edit Project Info.Designer.cs ├── Edit Project Info.cs ├── Edit Project Info.resx ├── Edit To Do.Designer.cs ├── Edit To Do.cs ├── Edit To Do.resx ├── Home.Designer.cs ├── Home.cs ├── Home.resx ├── Log In.Designer.cs ├── Log In.cs ├── Log In.resx ├── Password Confirmation.Designer.cs ├── Password Confirmation.cs ├── Password Confirmation.resx ├── Profile.Designer.cs ├── Profile.cs ├── Profile.resx ├── Program.cs ├── Project Name.Designer.cs ├── Project Name.cs ├── Project Name.resx ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Registration.Designer.cs ├── Registration.cs ├── Registration.resx ├── UI.csproj ├── View.csproj ├── bin │ └── Debug │ │ ├── BO.dll │ │ ├── BO.pdb │ │ ├── DAL.dll │ │ ├── DAL.pdb │ │ ├── UI.exe │ │ ├── UI.exe.config │ │ ├── UI.pdb │ │ ├── UI.vshost.exe │ │ ├── UI.vshost.exe.config │ │ └── UI.vshost.exe.manifest └── obj │ └── Debug │ ├── DesignTimeResolveAssemblyReferences.cache │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ ├── UI.Add_Project.resources │ ├── UI.Add_To_Do_List.resources │ ├── UI.Change_Password.resources │ ├── UI.Edit_Profile.resources │ ├── UI.Edit_Project_Info.resources │ ├── UI.Edit_To_Do.resources │ ├── UI.Home.resources │ ├── UI.Log_In.resources │ ├── UI.Password_Confirmation.resources │ ├── UI.Profile.resources │ ├── UI.Project_Name.resources │ ├── UI.Properties.Resources.resources │ ├── UI.Registration.resources │ ├── UI.csproj.FileListAbsolute.txt │ ├── UI.csproj.GenerateResource.Cache │ ├── UI.csprojResolveAssemblyReference.cache │ ├── UI.exe │ ├── UI.pdb │ ├── View.csproj.FileListAbsolute.txt │ ├── View.csproj.GenerateResource.Cache │ └── View.csprojResolveAssemblyReference.cache ├── db_task.mdf └── db_task_log.ldf /BO/AuthenticationProcedure.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using DAL; 7 | 8 | namespace BO 9 | { 10 | public class AuthenticationProcedure 11 | { 12 | public Boolean authenticationCheck(string username, string pass) 13 | { 14 | Authintication au = new Authintication(); 15 | 16 | return au.LoginConnection(username,pass); 17 | 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /BO/BO.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {3E9396DA-1A52-4626-AD76-E8090CF1693A} 8 | Library 9 | Properties 10 | BO 11 | BO 12 | v4.5 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | {cfeeff84-a007-4077-9411-587e67bc646a} 55 | DAL 56 | 57 | 58 | 59 | 66 | -------------------------------------------------------------------------------- /BO/Controller.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {3E9396DA-1A52-4626-AD76-E8090CF1693A} 8 | Library 9 | Properties 10 | BO 11 | BO 12 | v4.5 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | {cfeeff84-a007-4077-9411-587e67bc646a} 55 | Model 56 | 57 | 58 | 59 | 66 | -------------------------------------------------------------------------------- /BO/DataShow.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using DAL; 7 | 8 | namespace BO 9 | { 10 | public class DataShow 11 | { 12 | public string[] datashow(string username) 13 | { 14 | ShowData sd = new ShowData(username); 15 | 16 | String[] result = new String[20]; 17 | 18 | 19 | result = sd.showingName(); 20 | 21 | return result; 22 | } 23 | 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /BO/Edit.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using DAL; 7 | 8 | namespace BO 9 | { 10 | public class Edit 11 | { 12 | 13 | public string editData(string username, string name, string designation, string email, string phoneno, string address, string dob, string gender) 14 | { 15 | EditProfile ep = new EditProfile(); 16 | 17 | String result = ep.editInfo(username, name, designation, email, phoneno, address, dob, gender); 18 | 19 | return result; 20 | } 21 | 22 | public void changePassword(string username, string password) 23 | { 24 | EditProfile ep = new EditProfile(); 25 | ep.editPassword(username, password); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /BO/MyReturnType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace BO 8 | { 9 | public class MyReturnType 10 | { 11 | public string[,] MyStringArray { get; set; } 12 | public int MyINT { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /BO/Project.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using DAL; 7 | using System.Windows.Forms; 8 | 9 | namespace BO 10 | { 11 | public class Project 12 | { 13 | public void addingProject(string tablename,string projecttitle, string description, string uname1, string name1, string uname2, string name2, string uname3, string name3) 14 | { 15 | AddProject ap = new AddProject(); 16 | int rows = ap.checkProject(projecttitle); 17 | if (rows == 0) 18 | { 19 | ap.projectAdd(projecttitle, description, uname1, name1, uname2, name2, uname3, name3); 20 | ap.createProjectTable(tablename); 21 | } 22 | else 23 | { 24 | MessageBox.Show("Project Already Exists!!!"); 25 | } 26 | } 27 | 28 | public string[] showingProject(string username) 29 | { 30 | ShowProject sp = new ShowProject(); 31 | String[] info = sp.projectDisplay(username); 32 | return info; 33 | } 34 | 35 | public string[] showProjectInfo(string projectName) 36 | { 37 | ShowProject sp = new ShowProject(); 38 | String[] info = sp.projectInfo(projectName); 39 | return info; 40 | } 41 | 42 | public void editingProject(string[] info, string projectname) 43 | { 44 | Edit_Project ep = new Edit_Project(); 45 | ep.updateProject(projectname, info[1], info[2], info[3], info[4], info[5], info[6], info[7], info[0]); 46 | 47 | if (projectname != info[0]) 48 | { 49 | String[] new_token = projectname.Split(); 50 | String new_table = ""; 51 | String old_table = ""; 52 | String[] old_token = info[0].Split(); 53 | for (int k = 0; k < new_token.Length; k++) 54 | { 55 | new_table += new_token[k]; 56 | } 57 | 58 | for (int k = 0; k < old_token.Length; k++) 59 | { 60 | old_table += old_token[k]; 61 | } 62 | ep.updateTable(old_table, new_table); 63 | } 64 | } 65 | 66 | 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /BO/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("BO")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("BO")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 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("a4ee7535-3c3f-4485-a72c-11e57b956bc1")] 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 | -------------------------------------------------------------------------------- /BO/SearchingPeople.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using DAL; 7 | using System.Windows.Forms; 8 | namespace BO 9 | { 10 | public class SearchingPeople 11 | { 12 | string[] name = new string[100000]; 13 | string[] uname = new string[1000000]; 14 | 15 | public int searchResult(string searchkey) 16 | { 17 | SearchPeople sp = new SearchPeople(name, uname); 18 | int rows = 0; 19 | rows = sp.nameCheck(searchkey); 20 | return rows; 21 | } 22 | 23 | public string[] peopleDisplay(string searchkey,int flag) 24 | { 25 | SearchPeople sp = new SearchPeople(name, uname); 26 | int rows = 0; 27 | rows=searchResult(searchkey); 28 | 29 | if (rows != 0) 30 | { 31 | if (flag == 1) 32 | { 33 | return name = sp.showingData(searchkey, flag); 34 | } 35 | 36 | else 37 | { 38 | return uname = sp.showingData(searchkey, flag); 39 | } 40 | } 41 | 42 | else 43 | { 44 | MessageBox.Show("No Person Found!!!"); 45 | return null; 46 | } 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /BO/To Do List.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using DAL; 7 | using System.Windows.Forms; 8 | 9 | namespace BO 10 | { 11 | public class To_Do_List 12 | { 13 | ToDoListFunction tf = new ToDoListFunction(); 14 | 15 | public void addAssaignedWork(string username,string name, string todo,string date, string tablename) 16 | { 17 | String[] token = tablename.Split(); 18 | string table = ""; 19 | for (int k = 0; k < token.Length; k++) 20 | { 21 | table += token[k]; 22 | } 23 | tf.addToDo(username, name, todo, date, table); 24 | } 25 | 26 | public MyReturnType showList(string tablename) 27 | { 28 | 29 | String[] token = tablename.Split(); 30 | string table = ""; 31 | for (int k = 0; k < token.Length; k++) 32 | { 33 | table += token[k]; 34 | } 35 | 36 | int rows = tf.noOfList(table); 37 | String[,] info = new String[rows+1, 5]; 38 | info = tf.showResult(table); 39 | return new MyReturnType { MyStringArray = info, MyINT =rows }; 40 | } 41 | 42 | public void editToDo(string username,string name,string work,string date,string status,string tablename,string assaigned) 43 | { 44 | String[] token = tablename.Split(); 45 | string table = ""; 46 | for (int k = 0; k < token.Length; k++) 47 | { 48 | table += token[k]; 49 | } 50 | 51 | tf.updateTodo(username, name, work, date, status, table, assaigned); 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /BO/bin/Debug/BO.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/bin/Debug/BO.dll -------------------------------------------------------------------------------- /BO/bin/Debug/BO.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/bin/Debug/BO.pdb -------------------------------------------------------------------------------- /BO/bin/Debug/DAL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/bin/Debug/DAL.dll -------------------------------------------------------------------------------- /BO/bin/Debug/DAL.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/bin/Debug/DAL.pdb -------------------------------------------------------------------------------- /BO/obj/Debug/BO.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Software\Projects\Visual Studio project\Task Management System\BO\bin\Debug\BO.dll 2 | D:\Software\Projects\Visual Studio project\Task Management System\BO\bin\Debug\BO.pdb 3 | D:\Software\Projects\Visual Studio project\Task Management System\BO\bin\Debug\DAL.dll 4 | D:\Software\Projects\Visual Studio project\Task Management System\BO\bin\Debug\DAL.pdb 5 | D:\Software\Projects\Visual Studio project\Task Management System\BO\obj\Debug\BO.csprojResolveAssemblyReference.cache 6 | D:\Software\Projects\Visual Studio project\Task Management System\BO\obj\Debug\BO.dll 7 | D:\Software\Projects\Visual Studio project\Task Management System\BO\obj\Debug\BO.pdb 8 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\BO\bin\Debug\BO.dll 9 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\BO\bin\Debug\BO.pdb 10 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\BO\bin\Debug\DAL.dll 11 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\BO\bin\Debug\DAL.pdb 12 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\BO\obj\Debug\BO.csprojResolveAssemblyReference.cache 13 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\BO\obj\Debug\BO.dll 14 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\BO\obj\Debug\BO.pdb 15 | D:\Academic Study\Software Engineering\TaskManagementSystem\BO\bin\Debug\BO.dll 16 | D:\Academic Study\Software Engineering\TaskManagementSystem\BO\bin\Debug\BO.pdb 17 | D:\Academic Study\Software Engineering\TaskManagementSystem\BO\bin\Debug\DAL.dll 18 | D:\Academic Study\Software Engineering\TaskManagementSystem\BO\bin\Debug\DAL.pdb 19 | D:\Academic Study\Software Engineering\TaskManagementSystem\BO\obj\Debug\BO.csprojResolveAssemblyReference.cache 20 | D:\Academic Study\Software Engineering\TaskManagementSystem\BO\obj\Debug\BO.dll 21 | D:\Academic Study\Software Engineering\TaskManagementSystem\BO\obj\Debug\BO.pdb 22 | D:\Academic Study\TaskManagementSystem\BO\bin\Debug\BO.dll 23 | D:\Academic Study\TaskManagementSystem\BO\bin\Debug\BO.pdb 24 | D:\Academic Study\TaskManagementSystem\BO\bin\Debug\DAL.dll 25 | D:\Academic Study\TaskManagementSystem\BO\bin\Debug\DAL.pdb 26 | D:\Academic Study\TaskManagementSystem\BO\obj\Debug\BO.csprojResolveAssemblyReference.cache 27 | D:\Academic Study\TaskManagementSystem\BO\obj\Debug\BO.dll 28 | D:\Academic Study\TaskManagementSystem\BO\obj\Debug\BO.pdb 29 | C:\Users\User\Desktop\TaskManagementSystem\BO\bin\Debug\BO.dll 30 | C:\Users\User\Desktop\TaskManagementSystem\BO\bin\Debug\BO.pdb 31 | C:\Users\User\Desktop\TaskManagementSystem\BO\bin\Debug\DAL.dll 32 | C:\Users\User\Desktop\TaskManagementSystem\BO\bin\Debug\DAL.pdb 33 | C:\Users\User\Desktop\TaskManagementSystem\BO\obj\Debug\BO.csprojResolveAssemblyReference.cache 34 | C:\Users\User\Desktop\TaskManagementSystem\BO\obj\Debug\BO.dll 35 | C:\Users\User\Desktop\TaskManagementSystem\BO\obj\Debug\BO.pdb 36 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\BO.dll 37 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\BO.pdb 38 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\DAL.dll 39 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\DAL.pdb 40 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\obj\Debug\BO.csprojResolveAssemblyReference.cache 41 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\obj\Debug\BO.dll 42 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\obj\Debug\BO.pdb 43 | -------------------------------------------------------------------------------- /BO/obj/Debug/BO.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/BO.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /BO/obj/Debug/BO.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/BO.dll -------------------------------------------------------------------------------- /BO/obj/Debug/BO.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/BO.pdb -------------------------------------------------------------------------------- /BO/obj/Debug/Controller.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\BO.dll 2 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\BO.pdb 3 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\DAL.dll 4 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\bin\Debug\DAL.pdb 5 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\obj\Debug\Controller.csprojResolveAssemblyReference.cache 6 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\obj\Debug\BO.dll 7 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\BO\obj\Debug\BO.pdb 8 | -------------------------------------------------------------------------------- /BO/obj/Debug/Controller.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/Controller.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /BO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /BO/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /BO/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /BO/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/BO/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /DAL/AddProject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data; 4 | using System.Data.SqlClient; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | using System.Windows.Forms; 9 | 10 | namespace DAL 11 | { 12 | public class AddProject 13 | { 14 | public void projectAdd(string projecttitle,string description,string uname1,string name1,string uname2,string name2, string uname3,string name3) 15 | { 16 | Connection cs = new Connection(); 17 | SqlConnection con = cs.CreateConnection(); 18 | 19 | try 20 | { 21 | 22 | String query = "INSERT INTO tbl_project VALUES('" + projecttitle + "','" +description + "','" + uname1 + "','" +name1 + "','" + uname2 + "','" +name2 + "','" + uname3 + "','" + name3 + "')"; 23 | 24 | SqlCommand cmd = new SqlCommand(query, con); 25 | cmd.ExecuteNonQuery(); 26 | MessageBox.Show("Project Added!!!"); 27 | con.Close(); 28 | } 29 | catch (Exception ex) 30 | { 31 | MessageBox.Show(ex.Message); 32 | } 33 | 34 | con.Close(); 35 | } 36 | 37 | public int checkProject(string projecttitle) 38 | { 39 | int rows = 0; 40 | 41 | Connection cs = new Connection(); 42 | SqlConnection con = cs.CreateConnection(); 43 | 44 | try 45 | { 46 | String query = "select * from tbl_project where project='" + projecttitle + "'"; 47 | SqlCommand cmd = new SqlCommand(query, con); 48 | SqlDataReader reader = cmd.ExecuteReader(); 49 | DataTable dt = new DataTable(); 50 | dt.Load(reader); 51 | rows = dt.Rows.Count; 52 | } 53 | catch (Exception ex) 54 | { 55 | MessageBox.Show(ex.Message); 56 | } 57 | con.Close(); 58 | return rows; 59 | } 60 | 61 | public void createProjectTable(string tablename) 62 | { 63 | Connection cs = new Connection(); 64 | SqlConnection con = cs.CreateConnection(); 65 | 66 | try 67 | { 68 | String quary = "CREATE TABLE " + tablename + 69 | "(" 70 | + "username varchar(255)," 71 | + "name varchar(255)," 72 | + "assaignedwork varchar(255)," 73 | + "duedate varchar(255))"; 74 | 75 | SqlCommand cmd = new SqlCommand(quary, con); 76 | cmd.ExecuteNonQuery(); 77 | MessageBox.Show("Table Created"); 78 | } 79 | 80 | catch (Exception ex) 81 | { 82 | MessageBox.Show(ex.Message); 83 | } 84 | con.Close(); 85 | 86 | } 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /DAL/Authintication.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data; 4 | using System.Data.SqlClient; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace DAL 10 | { 11 | public class Authintication 12 | { 13 | public Boolean LoginConnection(string userName, string password) 14 | { 15 | Connection cs = new Connection(); 16 | SqlConnection con = cs.CreateConnection(); 17 | 18 | int rows = 0; 19 | string uName = userName; 20 | string pass = password; 21 | 22 | String query = "select * from tbl_authenticate where username='" + uName + "' and password='" + pass + "'"; 23 | SqlCommand cmd = new SqlCommand(query, con); 24 | SqlDataReader reader = cmd.ExecuteReader(); 25 | DataTable dt = new DataTable(); 26 | dt.Load(reader); 27 | rows = dt.Rows.Count; 28 | 29 | if (rows > 0) 30 | return true; 31 | else 32 | return false; 33 | 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /DAL/Connection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data.SqlClient; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace DAL 9 | { 10 | public class Connection 11 | { 12 | public SqlConnection CreateConnection() 13 | { 14 | SqlConnection con = new SqlConnection(); 15 | con = new SqlConnection(@"Data Source=(LocalDB)\v11.0;AttachDbFilename=D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\db_task.mdf;Integrated Security=True;Connect Timeout=30"); 16 | con.Open(); 17 | 18 | return con; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /DAL/DAL.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {CFEEFF84-A007-4077-9411-587E67BC646A} 8 | Library 9 | Properties 10 | DAL 11 | DAL 12 | v4.5 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 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 | 62 | -------------------------------------------------------------------------------- /DAL/Edit Project.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data.SqlClient; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Windows.Forms; 8 | 9 | namespace DAL 10 | { 11 | public class Edit_Project 12 | { 13 | public void updateProject(string name, string description, string user1, string name1, string user2, string name2, string user3, string name3, string projectname) 14 | { 15 | Connection cs = new Connection(); 16 | SqlConnection con = cs.CreateConnection(); 17 | 18 | try 19 | { 20 | String query = "UPDATE tbl_project SET project='" + name + "',projectdescription='" + description + "',people1username='" + user1 + "',people1name='" + name1 + "',people2username='" + user2 + "',people2name='" + name2 + "',people3username='" + user3 + "',people3name='" + name3 + "'where project='" + projectname + "'"; 21 | 22 | 23 | SqlCommand cmd = new SqlCommand(query, con); 24 | cmd.ExecuteNonQuery(); 25 | 26 | // MessageBox.Show(name+" "+description+" "+user1+" "+name1+" "+user2+" "+name2+" "+user3+" "+name3+" Edited!!!!"); 27 | con.Close(); 28 | } 29 | 30 | catch (Exception ex) 31 | { 32 | MessageBox.Show(ex.Message); 33 | } 34 | } 35 | 36 | public void updateTable(string oldname, string newname) 37 | { 38 | Connection cs = new Connection(); 39 | SqlConnection con = cs.CreateConnection(); 40 | 41 | //try 42 | //{ 43 | String query = "sp_rename '" + oldname + 44 | "','" + newname + "'"; 45 | 46 | 47 | SqlCommand cmd = new SqlCommand(query, con); 48 | cmd.ExecuteNonQuery(); 49 | 50 | MessageBox.Show(oldname + " "+" Edited"); 51 | con.Close(); 52 | //} 53 | 54 | //catch (Exception ex) 55 | //{ 56 | //MessageBox.Show(ex.Message); 57 | //} 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /DAL/EditProfile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using DAL; 7 | using System.Data.SqlClient; 8 | using System.Windows.Forms; 9 | 10 | namespace BO 11 | { 12 | public class EditProfile 13 | { 14 | public string editInfo(string username, string name, string designation, string email, string phoneno, string address,string dob,string gender) 15 | { 16 | Connection cs = new Connection(); 17 | SqlConnection con = cs.CreateConnection(); 18 | 19 | try 20 | { 21 | String query = "UPDATE tbl_profile SET name='" + name + "',username='" + username + "',designation='" + designation + "',email='" + email + "',phoneno='" + phoneno + "',address='" + address + "',dateofbirth='" + dob + "',gender='" + gender + "'where username='" + username + "'"; 22 | 23 | 24 | SqlCommand cmd = new SqlCommand(query, con); 25 | cmd.ExecuteNonQuery(); 26 | 27 | con.Close(); 28 | } 29 | 30 | catch (Exception ex) 31 | { 32 | MessageBox.Show(ex.Message); 33 | } 34 | return username; 35 | } 36 | 37 | public void editPassword(string username, string password) 38 | { 39 | Connection cs = new Connection(); 40 | SqlConnection con = cs.CreateConnection(); 41 | 42 | try 43 | { 44 | String query = "UPDATE tbl_authenticate SET password='" + password + "'where username='" + username + "'"; 45 | 46 | 47 | SqlCommand cmd = new SqlCommand(query, con); 48 | cmd.ExecuteNonQuery(); 49 | 50 | con.Close(); 51 | } 52 | 53 | catch (Exception ex) 54 | { 55 | MessageBox.Show(ex.Message); 56 | } 57 | 58 | } 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /DAL/Model.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {CFEEFF84-A007-4077-9411-587E67BC646A} 8 | Library 9 | Properties 10 | DAL 11 | DAL 12 | v4.5 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 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 | 62 | -------------------------------------------------------------------------------- /DAL/ProjectInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data.SqlClient; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Windows.Forms; 8 | 9 | namespace DAL 10 | { 11 | public class ProjectInfo 12 | { 13 | public string[] getInfo(string projectname) 14 | { 15 | Connection cs = new Connection(); 16 | SqlConnection con = cs.CreateConnection(); 17 | String[] info=new String[8]; 18 | String quary; 19 | SqlCommand com; 20 | 21 | try 22 | { 23 | 24 | } 25 | catch (Exception ex) 26 | { 27 | MessageBox.Show(ex.Message); 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /DAL/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("DAL")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DAL")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 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("d3f0917a-a251-46ca-a78f-2ad808c1498f")] 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 | -------------------------------------------------------------------------------- /DAL/SearchPeople.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data; 4 | using System.Data.SqlClient; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | using System.Windows.Forms; 9 | 10 | namespace DAL 11 | { 12 | public class SearchPeople 13 | { 14 | string[] name = new string[100000]; 15 | string[] uname = new string[1000000]; 16 | 17 | 18 | public SearchPeople(string[] name, string[] uname) 19 | { 20 | this.name = name; 21 | this.uname = uname; 22 | } 23 | 24 | 25 | public int nameCheck(string name) 26 | { 27 | int rows = 0; 28 | 29 | Connection cs = new Connection(); 30 | SqlConnection con = cs.CreateConnection(); 31 | 32 | try 33 | { 34 | string query = "Select * from tbl_profile where name like '%" + name + "%'"; 35 | SqlCommand cmd = new SqlCommand(query, con); 36 | SqlDataReader reader = cmd.ExecuteReader(); 37 | DataTable dt = new DataTable(); 38 | dt.Load(reader); 39 | rows = dt.Rows.Count; 40 | } 41 | catch (Exception ex) 42 | { 43 | MessageBox.Show(ex.Message); 44 | } 45 | return rows; 46 | } 47 | 48 | public string[] showingData(string username,int flag) 49 | { 50 | 51 | Connection cs = new Connection(); 52 | SqlConnection con = cs.CreateConnection(); 53 | string query = "Select * from tbl_profile where name like '%" + username + "%'"; 54 | SqlCommand com = new SqlCommand(query, con); 55 | 56 | SqlDataReader reader = com.ExecuteReader(); 57 | for (int i = 1; reader.Read(); i++) 58 | { 59 | name[i] = reader[1].ToString(); 60 | uname[i] = reader[0].ToString(); 61 | } 62 | reader.Close(); 63 | con.Close(); 64 | if (flag == 1) 65 | { 66 | return name; 67 | } 68 | 69 | else 70 | { 71 | return uname; 72 | } 73 | 74 | } 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /DAL/ShowData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data.SqlClient; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace DAL 9 | { 10 | public class ShowData 11 | { 12 | string username = ""; 13 | Connection cs = new Connection(); 14 | SqlConnection con; 15 | string quary; 16 | SqlCommand com; 17 | String[] info = new String[20]; 18 | 19 | 20 | 21 | public ShowData(string username) 22 | { 23 | this.username = username; 24 | con = cs.CreateConnection(); 25 | quary = "select * from tbl_profile where username='" + username + "'"; 26 | com = new SqlCommand(quary, con); 27 | } 28 | 29 | public string[] showingName() 30 | { 31 | 32 | int i = 0; 33 | SqlDataReader reader = com.ExecuteReader(); 34 | reader.Read(); 35 | info[i++] = reader["name"].ToString(); 36 | info[i++] = reader["username"].ToString(); 37 | info[i++] = reader["designation"].ToString(); 38 | info[i++] = reader["email"].ToString(); 39 | info[i++] = reader["phoneno"].ToString(); 40 | info[i++] = reader["address"].ToString(); 41 | info[i++] = reader["dateofbirth"].ToString(); 42 | info[i++] = reader["gender"].ToString(); 43 | reader.Close(); 44 | return info; 45 | } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /DAL/ShowProject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data; 4 | using System.Data.SqlClient; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | using System.Windows.Forms; 9 | 10 | namespace DAL 11 | { 12 | public class ShowProject 13 | { 14 | public string[] projectDisplay(string username) 15 | { 16 | Connection cs = new Connection(); 17 | SqlConnection con = cs.CreateConnection(); 18 | int counter=0; 19 | String[] info=new String[10]; 20 | try 21 | { 22 | 23 | //1st Person 24 | String quary = "select * from tbl_project where people1username='" + username + "'"; 25 | SqlCommand cmd = new SqlCommand(quary, con); 26 | using (SqlDataReader reader = cmd.ExecuteReader()) 27 | { 28 | while (reader.Read()) 29 | { 30 | info[counter++] = reader["project"].ToString(); 31 | 32 | } 33 | } 34 | 35 | //2nd person 36 | quary = "select * from tbl_project where people2username='" + username + "'"; 37 | cmd = new SqlCommand(quary, con); 38 | using (SqlDataReader reader1 = cmd.ExecuteReader()) 39 | { 40 | while (reader1.Read()) 41 | { 42 | info[counter++] = reader1["project"].ToString(); 43 | } 44 | } 45 | 46 | //3rd person 47 | quary = "select * from tbl_project where people3username='" + username + "'"; 48 | cmd = new SqlCommand(quary, con); 49 | using (SqlDataReader reader2 = cmd.ExecuteReader()) 50 | { 51 | while (reader2.Read()) 52 | { 53 | info[counter++] = reader2["project"].ToString(); 54 | } 55 | } 56 | } 57 | catch (Exception ex) 58 | { 59 | MessageBox.Show(ex.Message); 60 | } 61 | 62 | con.Close(); 63 | 64 | return info; 65 | 66 | 67 | 68 | } 69 | 70 | public string[] projectInfo(string projectName) 71 | { 72 | Connection cs = new Connection(); 73 | SqlConnection con = cs.CreateConnection(); 74 | String[] info=new String[8]; 75 | try 76 | { 77 | 78 | String quary = "select * from tbl_project where project='" + projectName + "'"; 79 | SqlCommand cmd = new SqlCommand(quary, con); 80 | using (SqlDataReader reader = cmd.ExecuteReader()) 81 | { 82 | reader.Read(); 83 | for (int i = 0; i < 8; i++) 84 | { 85 | info[i] = reader[i].ToString(); 86 | } 87 | } 88 | } 89 | catch (Exception ex) 90 | { 91 | MessageBox.Show(ex.Message); 92 | } 93 | 94 | con.Close(); 95 | 96 | return info; 97 | 98 | } 99 | } 100 | } 101 | -------------------------------------------------------------------------------- /DAL/ToDoListFunction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data; 4 | using System.Data.SqlClient; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | using System.Windows.Forms; 9 | 10 | namespace DAL 11 | { 12 | public class ToDoListFunction 13 | { 14 | public void addToDo(string username, string name, string todo, string date, string table) 15 | { 16 | Connection cs = new Connection(); 17 | SqlConnection con = cs.CreateConnection(); 18 | 19 | try 20 | { 21 | 22 | String query = "INSERT INTO "+table+" VALUES('" + username + "','" + name + "','" + todo + "','" + date + "','" + "false" + "')"; 23 | 24 | SqlCommand cmd = new SqlCommand(query, con); 25 | cmd.ExecuteNonQuery(); 26 | MessageBox.Show("Assaigned Work Added!!!"); 27 | con.Close(); 28 | } 29 | catch (Exception ex) 30 | { 31 | MessageBox.Show(ex.Message); 32 | } 33 | 34 | con.Close(); 35 | } 36 | 37 | public string[,] showResult(string tablename) 38 | { 39 | Connection cs = new Connection(); 40 | SqlConnection con = cs.CreateConnection(); 41 | String[,] info = new String[100,5]; 42 | try 43 | { 44 | 45 | String quary = "select * from "+tablename+""; 46 | SqlCommand cmd = new SqlCommand(quary, con); 47 | using (SqlDataReader reader = cmd.ExecuteReader()) 48 | { 49 | for (int i = 0; reader.Read();i++ ) 50 | { 51 | info[i,0] = reader["username"].ToString(); 52 | info[i,1] = reader["name"].ToString(); 53 | info[i,2] = reader["assaignedwork"].ToString(); 54 | info[i,3] = reader["duedate"].ToString(); 55 | info[i,4] = reader["status"].ToString(); 56 | } 57 | } 58 | } 59 | catch (Exception ex) 60 | { 61 | MessageBox.Show(ex.Message); 62 | } 63 | 64 | con.Close(); 65 | 66 | return info; 67 | } 68 | 69 | public int noOfList(string tablename) 70 | { 71 | 72 | Connection cs = new Connection(); 73 | SqlConnection con = cs.CreateConnection(); 74 | 75 | int rows = 0; 76 | 77 | String query = "select * from " + tablename + ""; 78 | SqlCommand cmd = new SqlCommand(query, con); 79 | SqlDataReader reader = cmd.ExecuteReader(); 80 | DataTable dt = new DataTable(); 81 | dt.Load(reader); 82 | rows = dt.Rows.Count; 83 | 84 | return rows; 85 | } 86 | 87 | public void updateTodo(string username, string name, string work, string date, string status, string tablename, string assaingn) 88 | { 89 | Connection cs = new Connection(); 90 | SqlConnection con = cs.CreateConnection(); 91 | 92 | try 93 | { 94 | String query = "UPDATE "+tablename+" SET username='" + username + "',name='" + name + "',assaignedwork='" + work + "',duedate='" + date + "',status='" + status + "'where assaignedwork='" + assaingn + "'"; 95 | 96 | 97 | SqlCommand cmd = new SqlCommand(query, con); 98 | cmd.ExecuteNonQuery(); 99 | 100 | MessageBox.Show(" Edited!!!!"); 101 | con.Close(); 102 | } 103 | 104 | catch (Exception ex) 105 | { 106 | MessageBox.Show(ex.Message); 107 | } 108 | } 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /DAL/bin/Debug/DAL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/bin/Debug/DAL.dll -------------------------------------------------------------------------------- /DAL/bin/Debug/DAL.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/bin/Debug/DAL.pdb -------------------------------------------------------------------------------- /DAL/obj/Debug/DAL.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Software\Projects\Visual Studio project\Task Management System\DAL\bin\Debug\DAL.dll 2 | D:\Software\Projects\Visual Studio project\Task Management System\DAL\bin\Debug\DAL.pdb 3 | D:\Software\Projects\Visual Studio project\Task Management System\DAL\obj\Debug\DAL.dll 4 | D:\Software\Projects\Visual Studio project\Task Management System\DAL\obj\Debug\DAL.pdb 5 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\DAL\bin\Debug\DAL.dll 6 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\DAL\bin\Debug\DAL.pdb 7 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\DAL\obj\Debug\DAL.dll 8 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\TaskManagementSystem\DAL\obj\Debug\DAL.pdb 9 | D:\Academic Study\Software Engineering\TaskManagementSystem\DAL\bin\Debug\DAL.dll 10 | D:\Academic Study\Software Engineering\TaskManagementSystem\DAL\bin\Debug\DAL.pdb 11 | D:\Academic Study\Software Engineering\TaskManagementSystem\DAL\obj\Debug\DAL.dll 12 | D:\Academic Study\Software Engineering\TaskManagementSystem\DAL\obj\Debug\DAL.pdb 13 | D:\Academic Study\TaskManagementSystem\DAL\bin\Debug\DAL.dll 14 | D:\Academic Study\TaskManagementSystem\DAL\bin\Debug\DAL.pdb 15 | D:\Academic Study\TaskManagementSystem\DAL\obj\Debug\DAL.dll 16 | D:\Academic Study\TaskManagementSystem\DAL\obj\Debug\DAL.pdb 17 | C:\Users\User\Desktop\TaskManagementSystem\DAL\bin\Debug\DAL.dll 18 | C:\Users\User\Desktop\TaskManagementSystem\DAL\bin\Debug\DAL.pdb 19 | C:\Users\User\Desktop\TaskManagementSystem\DAL\obj\Debug\DAL.dll 20 | C:\Users\User\Desktop\TaskManagementSystem\DAL\obj\Debug\DAL.pdb 21 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\bin\Debug\DAL.dll 22 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\bin\Debug\DAL.pdb 23 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\obj\Debug\DAL.dll 24 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\obj\Debug\DAL.pdb 25 | -------------------------------------------------------------------------------- /DAL/obj/Debug/DAL.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/obj/Debug/DAL.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /DAL/obj/Debug/DAL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/obj/Debug/DAL.dll -------------------------------------------------------------------------------- /DAL/obj/Debug/DAL.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/obj/Debug/DAL.pdb -------------------------------------------------------------------------------- /DAL/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /DAL/obj/Debug/Model.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\bin\Debug\DAL.dll 2 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\bin\Debug\DAL.pdb 3 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\obj\Debug\DAL.dll 4 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\DAL\obj\Debug\DAL.pdb 5 | -------------------------------------------------------------------------------- /DAL/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /DAL/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /DAL/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/DAL/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /Management: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/Management -------------------------------------------------------------------------------- /System: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/System -------------------------------------------------------------------------------- /Task: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/Task -------------------------------------------------------------------------------- /Task Management System.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "View", "UI\View.csproj", "{FEC87B8B-16E2-4E6D-AD6B-213F410518FE}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Model", "DAL\Model.csproj", "{CFEEFF84-A007-4077-9411-587E67BC646A}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Controller", "BO\Controller.csproj", "{3E9396DA-1A52-4626-AD76-E8090CF1693A}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {FEC87B8B-16E2-4E6D-AD6B-213F410518FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {FEC87B8B-16E2-4E6D-AD6B-213F410518FE}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {FEC87B8B-16E2-4E6D-AD6B-213F410518FE}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {FEC87B8B-16E2-4E6D-AD6B-213F410518FE}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {CFEEFF84-A007-4077-9411-587E67BC646A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {CFEEFF84-A007-4077-9411-587E67BC646A}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {CFEEFF84-A007-4077-9411-587E67BC646A}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {CFEEFF84-A007-4077-9411-587E67BC646A}.Release|Any CPU.Build.0 = Release|Any CPU 24 | {3E9396DA-1A52-4626-AD76-E8090CF1693A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 25 | {3E9396DA-1A52-4626-AD76-E8090CF1693A}.Debug|Any CPU.Build.0 = Debug|Any CPU 26 | {3E9396DA-1A52-4626-AD76-E8090CF1693A}.Release|Any CPU.ActiveCfg = Release|Any CPU 27 | {3E9396DA-1A52-4626-AD76-E8090CF1693A}.Release|Any CPU.Build.0 = Release|Any CPU 28 | EndGlobalSection 29 | GlobalSection(SolutionProperties) = preSolution 30 | HideSolutionNode = FALSE 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /Task Management System.v11.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/Task Management System.v11.suo -------------------------------------------------------------------------------- /UI/Add Project.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/Add To Do List.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Add_To_Do_List : Form 15 | { 16 | String[] info = new String[8]; 17 | String username = ""; 18 | String name = ""; 19 | public Add_To_Do_List() 20 | { 21 | InitializeComponent(); 22 | } 23 | 24 | 25 | public Add_To_Do_List(string[] info) 26 | { 27 | this.info = info; 28 | InitializeComponent(); 29 | } 30 | 31 | private void Add_To_Do_List_Load(object sender, EventArgs e) 32 | { 33 | 34 | dateTimePicker_date.Format = DateTimePickerFormat.Custom; 35 | dateTimePicker_date.CustomFormat = "dd MMMM yyyy"; 36 | 37 | if (!info[3].Equals("")) 38 | { 39 | label_colab1.Text= info[3]; 40 | linkLabel_add_colab1.Visible = true; 41 | linkLabel_add_colab1.Left = label_colab1.Right + 10; 42 | 43 | } 44 | if (!info[5].Equals("")) 45 | { 46 | label_colab2.Text = info[5]; 47 | linkLabel_add_colab2.Visible = true; 48 | linkLabel_add_colab2.Left = label_colab2.Right + 10; 49 | } 50 | if (!info[7].Equals("")) 51 | { 52 | label_colab3.Text = info[7]; 53 | linkLabel_add_colab3.Visible = true; 54 | linkLabel_add_colab3.Left = label_colab3.Right + 10; 55 | } 56 | } 57 | 58 | private void linkLabel_add_colab1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 59 | { 60 | textBox_assaignedto.Text = label_colab1.Text; 61 | name = info[3]; 62 | username = info[2]; 63 | } 64 | 65 | private void linkLabel_add_colab2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 66 | { 67 | textBox_assaignedto.Text = label_colab2.Text; 68 | name = info[5]; 69 | username = info[4]; 70 | } 71 | 72 | private void linkLabel_add_colab3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 73 | { 74 | textBox_assaignedto.Text = label_colab3.Text; 75 | name = info[7]; 76 | username = info[6]; 77 | } 78 | 79 | private void button_add_Click(object sender, EventArgs e) 80 | { 81 | 82 | if (textBox_name.Text.Equals("") || textBox_assaignedto.Text.Equals("")) 83 | { 84 | MessageBox.Show("Please Insert To DO Name or Assaigned Person!!!"); 85 | } 86 | 87 | else 88 | { 89 | To_Do_List td = new To_Do_List(); 90 | td.addAssaignedWork(username, name, textBox_name.Text, dateTimePicker_date.Text, info[0]); 91 | } 92 | } 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /UI/Add To Do List.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /UI/Change Password.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace UI 2 | { 3 | partial class Change_Password 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 | this.label1 = new System.Windows.Forms.Label(); 32 | this.label2 = new System.Windows.Forms.Label(); 33 | this.textBox_pass = new System.Windows.Forms.TextBox(); 34 | this.textBox_conpass = new System.Windows.Forms.TextBox(); 35 | this.button_change = new System.Windows.Forms.Button(); 36 | this.SuspendLayout(); 37 | // 38 | // label1 39 | // 40 | this.label1.AutoSize = true; 41 | this.label1.Location = new System.Drawing.Point(107, 116); 42 | this.label1.Name = "label1"; 43 | this.label1.Size = new System.Drawing.Size(78, 13); 44 | this.label1.TabIndex = 0; 45 | this.label1.Text = "New Password"; 46 | // 47 | // label2 48 | // 49 | this.label2.AutoSize = true; 50 | this.label2.Location = new System.Drawing.Point(107, 171); 51 | this.label2.Name = "label2"; 52 | this.label2.Size = new System.Drawing.Size(91, 13); 53 | this.label2.TabIndex = 1; 54 | this.label2.Text = "Confirm Password"; 55 | // 56 | // textBox_pass 57 | // 58 | this.textBox_pass.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 59 | this.textBox_pass.Location = new System.Drawing.Point(214, 113); 60 | this.textBox_pass.Name = "textBox_pass"; 61 | this.textBox_pass.Size = new System.Drawing.Size(152, 26); 62 | this.textBox_pass.TabIndex = 2; 63 | this.textBox_pass.UseSystemPasswordChar = true; 64 | // 65 | // textBox_conpass 66 | // 67 | this.textBox_conpass.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 68 | this.textBox_conpass.Location = new System.Drawing.Point(214, 168); 69 | this.textBox_conpass.Name = "textBox_conpass"; 70 | this.textBox_conpass.Size = new System.Drawing.Size(152, 26); 71 | this.textBox_conpass.TabIndex = 3; 72 | this.textBox_conpass.UseSystemPasswordChar = true; 73 | // 74 | // button_change 75 | // 76 | this.button_change.Location = new System.Drawing.Point(214, 233); 77 | this.button_change.Name = "button_change"; 78 | this.button_change.Size = new System.Drawing.Size(107, 31); 79 | this.button_change.TabIndex = 4; 80 | this.button_change.Text = "Change Password"; 81 | this.button_change.UseVisualStyleBackColor = true; 82 | this.button_change.Click += new System.EventHandler(this.button_change_Click); 83 | // 84 | // Change_Password 85 | // 86 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 87 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 88 | this.ClientSize = new System.Drawing.Size(499, 394); 89 | this.Controls.Add(this.button_change); 90 | this.Controls.Add(this.textBox_conpass); 91 | this.Controls.Add(this.textBox_pass); 92 | this.Controls.Add(this.label2); 93 | this.Controls.Add(this.label1); 94 | this.Name = "Change_Password"; 95 | this.Text = "Change Password"; 96 | this.ResumeLayout(false); 97 | this.PerformLayout(); 98 | 99 | } 100 | 101 | #endregion 102 | 103 | private System.Windows.Forms.Label label1; 104 | private System.Windows.Forms.Label label2; 105 | private System.Windows.Forms.TextBox textBox_pass; 106 | private System.Windows.Forms.TextBox textBox_conpass; 107 | private System.Windows.Forms.Button button_change; 108 | } 109 | } -------------------------------------------------------------------------------- /UI/Change Password.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Change_Password : Form 15 | { 16 | String Username = ""; 17 | 18 | public Change_Password() 19 | { 20 | InitializeComponent(); 21 | } 22 | 23 | public Change_Password(string username) 24 | { 25 | this.Username = username; 26 | InitializeComponent(); 27 | } 28 | 29 | private void button_change_Click(object sender, EventArgs e) 30 | { 31 | if (textBox_pass.Text.Equals(textBox_conpass.Text)) 32 | { 33 | Edit ed = new Edit(); 34 | ed.changePassword(Username, textBox_pass.Text); 35 | MessageBox.Show("Your Password has been updated!!!"); 36 | this.Hide(); 37 | Profile pf = new Profile(Username); 38 | pf.Show(); 39 | } 40 | 41 | else 42 | { 43 | MessageBox.Show("Password Didnt Match !!!"); 44 | } 45 | 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /UI/Change Password.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/Edit Profile.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Edit_Profile : Form 15 | { 16 | 17 | 18 | String username = ""; 19 | 20 | public Edit_Profile() 21 | { 22 | InitializeComponent(); 23 | } 24 | 25 | public Edit_Profile(string username) 26 | { 27 | this.username = username; 28 | InitializeComponent(); 29 | } 30 | 31 | private void Edit_Profile_Load(object sender, EventArgs e) 32 | { 33 | DataShow ds = new DataShow(); 34 | 35 | String[] result = ds.datashow(username); 36 | 37 | textBox_name.Text = result[0]; 38 | textBox_username.Text = result[1]; 39 | textBox_designation.Text = result[2]; 40 | textBox_phonenumber.Text = result[3]; 41 | textBox_email.Text = result[4]; 42 | richTextBox_address.Text = result[5]; 43 | String dateOfBirth=result[6]; 44 | String[] token = dateOfBirth.Split(); 45 | comboBox_date.Text = token[0]; 46 | comboBox_month.Text = token[1]; 47 | comboBox_year.Text = token[2]; 48 | String gender=result[7]; 49 | 50 | if (gender.Equals("Male")) 51 | { 52 | radioButton_male.Checked = true; 53 | } 54 | 55 | else 56 | { 57 | radioButton_female.Checked = true; 58 | } 59 | } 60 | 61 | private void textBox4_TextChanged(object sender, EventArgs e) 62 | { 63 | 64 | } 65 | 66 | private void button_Edit_Click(object sender, EventArgs e) 67 | { 68 | DataShow ds = new DataShow(); 69 | String dob = comboBox_date.Text + " " + comboBox_month.Text + " " + comboBox_year.Text; 70 | String gender = ""; 71 | 72 | if (radioButton_male.Checked) 73 | { 74 | gender = "Male"; 75 | } 76 | 77 | else 78 | { 79 | gender = "Female"; 80 | } 81 | 82 | Edit ed = new Edit(); 83 | username=ed.editData(textBox_username.Text, textBox_name.Text, textBox_designation.Text, textBox_email.Text, textBox_phonenumber.Text, richTextBox_address.Text,dob,gender); 84 | 85 | MessageBox.Show("Your Information is updated!!!"); 86 | 87 | Edit_Profile_Load(sender,e); 88 | } 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /UI/Edit Profile.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/Edit Project Info.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/Edit To Do.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Edit_To_Do : Form 15 | { 16 | String[] info; 17 | String username; 18 | String name; 19 | String work; 20 | String date; 21 | String status; 22 | 23 | public Edit_To_Do() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | public Edit_To_Do(string[] info,string username,string name,string work,string date,string status) 29 | { 30 | this.info = info; 31 | this.username = username; 32 | this.name = name; 33 | this.work = work; 34 | this.date = date; 35 | this.status = status; 36 | InitializeComponent(); 37 | } 38 | 39 | private void Edit_To_Do_Load(object sender, EventArgs e) 40 | { 41 | textBox_name.Text = work; 42 | textBox_assaignedto.Text = name; 43 | dateTimePicker_date.Value = System.DateTime.ParseExact(date,"dd MMMM yyyy",System.Globalization.CultureInfo.CreateSpecificCulture("en-us").DateTimeFormat); 44 | if (status.Equals("true")) 45 | { 46 | checkBox_complete.Checked = true; 47 | } 48 | 49 | if (!info[3].Equals("")) 50 | { 51 | label_colab1.Text = info[3]; 52 | linkLabel_add_colab1.Visible = true; 53 | linkLabel_add_colab1.Left = label_colab1.Right + 10; 54 | 55 | } 56 | if (!info[5].Equals("")) 57 | { 58 | label_colab2.Text = info[5]; 59 | linkLabel_add_colab2.Visible = true; 60 | linkLabel_add_colab2.Left = label_colab2.Right + 10; 61 | } 62 | if (!info[7].Equals("")) 63 | { 64 | label_colab3.Text = info[7]; 65 | linkLabel_add_colab3.Visible = true; 66 | linkLabel_add_colab3.Left = label_colab3.Right + 10; 67 | } 68 | } 69 | 70 | private void linkLabel_add_colab1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 71 | { 72 | textBox_assaignedto.Text = label_colab1.Text; 73 | name = info[3]; 74 | username = info[2]; 75 | } 76 | 77 | private void linkLabel_add_colab2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 78 | { 79 | textBox_assaignedto.Text = label_colab2.Text; 80 | name = info[5]; 81 | username = info[4]; 82 | } 83 | 84 | private void linkLabel_add_colab3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 85 | { 86 | textBox_assaignedto.Text = label_colab3.Text; 87 | name = info[7]; 88 | username = info[6]; 89 | } 90 | 91 | private void button_edit_Click(object sender, EventArgs e) 92 | { 93 | To_Do_List td = new To_Do_List(); 94 | if (checkBox_complete.Checked) 95 | { 96 | status = "true"; 97 | } 98 | else 99 | { 100 | status = "false"; 101 | } 102 | //MessageBox.Show(username+" "+name+" "+status); 103 | td.editToDo(username, name, textBox_name.Text, dateTimePicker_date.Value.ToString(), status, info[0],work); 104 | } 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /UI/Edit To Do.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/Home.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Home : Form 15 | { 16 | String username = ""; 17 | LinkLabel[] lbl=new LinkLabel[100]; 18 | public Home() 19 | { 20 | InitializeComponent(); 21 | } 22 | 23 | public Home(string username) 24 | { 25 | this.username = username; 26 | InitializeComponent(); 27 | for (int i = 0; i < 100;i++ ) 28 | { 29 | lbl[i] = new LinkLabel(); 30 | } 31 | 32 | lbl[0].Click += new System.EventHandler(lbl1Click); 33 | lbl[1].Click += new System.EventHandler(lbl2Click); 34 | lbl[2].Click += new System.EventHandler(lbl3Click); 35 | lbl[3].Click += new System.EventHandler(lbl4Click); 36 | lbl[4].Click += new System.EventHandler(lbl5Click); 37 | lbl[5].Click += new System.EventHandler(lbl6Click); 38 | lbl[6].Click += new System.EventHandler(lbl7Click); 39 | lbl[7].Click += new System.EventHandler(lbl8Click); 40 | lbl[8].Click += new System.EventHandler(lbl9Click); 41 | lbl[9].Click += new System.EventHandler(lbl10Click); 42 | lbl[10].Click += new System.EventHandler(lbl11Click); 43 | lbl[11].Click += new System.EventHandler(lbl12Click); 44 | lbl[12].Click += new System.EventHandler(lbl13Click); 45 | lbl[13].Click += new System.EventHandler(lbl14Click); 46 | lbl[14].Click += new System.EventHandler(lbl15Click); 47 | } 48 | 49 | 50 | 51 | private void Home_Load(object sender, EventArgs e) 52 | { 53 | Project pj = new Project(); 54 | String[] info = pj.showingProject(username); 55 | int n = 0; 56 | int length = info.Length; 57 | 58 | if (info != null && info.Length > 0) 59 | { 60 | 61 | for (int i = 0; i < length; i++) 62 | { 63 | lbl[i].Text = info[i]; 64 | lbl[i].Location = new Point(10, n); 65 | lbl[i].Size = new System.Drawing.Size(300, 30); 66 | listView_projects.Controls.Add(lbl[i]); 67 | 68 | 69 | n = n + 40; 70 | } 71 | } 72 | } 73 | 74 | private void ToolStripMenuItem_viewprofile_Click(object sender, EventArgs e) 75 | { 76 | Profile pf = new Profile(username); 77 | this.Hide(); 78 | pf.Show(); 79 | } 80 | 81 | private void ToolStripMenuItem_editprofile_Click(object sender, EventArgs e) 82 | { 83 | Edit_Profile ep = new Edit_Profile(username); 84 | this.Hide(); 85 | ep.Show(); 86 | } 87 | 88 | private void ToolStripMenuItem_changepassword_Click(object sender, EventArgs e) 89 | { 90 | this.Hide(); 91 | Password_Confirmation pc = new Password_Confirmation(username); 92 | pc.Show(); 93 | } 94 | 95 | private void ToolStripMenuItem_addproject_Click(object sender, EventArgs e) 96 | { 97 | Add_Project ap = new Add_Project(username); 98 | ap.Show(); 99 | } 100 | 101 | private void ToolStripMenuItem_project_Click(object sender, EventArgs e) 102 | { 103 | 104 | } 105 | 106 | 107 | private void lbl1Click(object sender, EventArgs e) 108 | { 109 | Project_Name pn = new Project_Name(username, lbl[0].Text); 110 | pn.Text = lbl[0].Text; 111 | pn.Show(); 112 | } 113 | 114 | private void lbl2Click(object sender, EventArgs e) 115 | { 116 | Project_Name pn = new Project_Name(username, lbl[1].Text); 117 | pn.Text = lbl[1].Text; 118 | pn.Show(); 119 | } 120 | 121 | private void lbl3Click(object sender, EventArgs e) 122 | { 123 | Project_Name pn = new Project_Name(username, lbl[2].Text); 124 | pn.Text = lbl[2].Text; 125 | pn.Show(); 126 | } 127 | 128 | private void lbl4Click(object sender, EventArgs e) 129 | { 130 | Project_Name pn = new Project_Name(username, lbl[3].Text); 131 | pn.Text = lbl[3].Text; 132 | pn.Show(); 133 | } 134 | 135 | private void lbl5Click(object sender, EventArgs e) 136 | { 137 | Project_Name pn = new Project_Name(username, lbl[4].Text); 138 | pn.Text = lbl[4].Text; 139 | pn.Show(); 140 | } 141 | 142 | private void lbl6Click(object sender, EventArgs e) 143 | { 144 | Project_Name pn = new Project_Name(username, lbl[5].Text); 145 | pn.Text = lbl[5].Text; 146 | pn.Show(); 147 | } 148 | 149 | private void lbl7Click(object sender, EventArgs e) 150 | { 151 | Project_Name pn = new Project_Name(username, lbl[6].Text); 152 | pn.Text = lbl[6].Text; 153 | pn.Show(); 154 | } 155 | 156 | private void lbl8Click(object sender, EventArgs e) 157 | { 158 | Project_Name pn = new Project_Name(username, lbl[7].Text); 159 | pn.Text = lbl[7].Text; 160 | pn.Show(); 161 | } 162 | 163 | private void lbl9Click(object sender, EventArgs e) 164 | { 165 | Project_Name pn = new Project_Name(username, lbl[8].Text); 166 | pn.Text = lbl[8].Text; 167 | pn.Show(); 168 | } 169 | 170 | private void lbl10Click(object sender, EventArgs e) 171 | { 172 | Project_Name pn = new Project_Name(username, lbl[9].Text); 173 | pn.Text = lbl[9].Text; 174 | pn.Show(); 175 | } 176 | 177 | private void lbl11Click(object sender, EventArgs e) 178 | { 179 | Project_Name pn = new Project_Name(username, lbl[10].Text); 180 | pn.Text = lbl[10].Text; 181 | pn.Show(); 182 | } 183 | 184 | private void lbl12Click(object sender, EventArgs e) 185 | { 186 | Project_Name pn = new Project_Name(username, lbl[11].Text); 187 | pn.Text = lbl[11].Text; 188 | pn.Show(); 189 | } 190 | 191 | private void lbl13Click(object sender, EventArgs e) 192 | { 193 | Project_Name pn = new Project_Name(username, lbl[12].Text); 194 | pn.Text = lbl[12].Text; 195 | pn.Show(); 196 | } 197 | 198 | private void lbl14Click(object sender, EventArgs e) 199 | { 200 | Project_Name pn = new Project_Name(username, lbl[13].Text); 201 | pn.Text = lbl[13].Text; 202 | pn.Show(); 203 | } 204 | 205 | private void lbl15Click(object sender, EventArgs e) 206 | { 207 | Project_Name pn = new Project_Name(username, lbl[14].Text); 208 | pn.Text = lbl[14].Text; 209 | pn.Show(); 210 | } 211 | 212 | } 213 | } 214 | -------------------------------------------------------------------------------- /UI/Home.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 17, 17 122 | 123 | -------------------------------------------------------------------------------- /UI/Log In.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace UI 2 | { 3 | partial class Log_In 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 | this.label1 = new System.Windows.Forms.Label(); 32 | this.label2 = new System.Windows.Forms.Label(); 33 | this.textBox_username = new System.Windows.Forms.TextBox(); 34 | this.textBox_password = new System.Windows.Forms.TextBox(); 35 | this.button_authenticate = new System.Windows.Forms.Button(); 36 | this.label_errmsg = new System.Windows.Forms.Label(); 37 | this.label3 = new System.Windows.Forms.Label(); 38 | this.linkLabel_register = new System.Windows.Forms.LinkLabel(); 39 | this.SuspendLayout(); 40 | // 41 | // label1 42 | // 43 | this.label1.AutoSize = true; 44 | this.label1.Location = new System.Drawing.Point(126, 154); 45 | this.label1.Name = "label1"; 46 | this.label1.Size = new System.Drawing.Size(55, 13); 47 | this.label1.TabIndex = 0; 48 | this.label1.Text = "Username"; 49 | // 50 | // label2 51 | // 52 | this.label2.AutoSize = true; 53 | this.label2.Location = new System.Drawing.Point(126, 208); 54 | this.label2.Name = "label2"; 55 | this.label2.Size = new System.Drawing.Size(53, 13); 56 | this.label2.TabIndex = 1; 57 | this.label2.Text = "Password"; 58 | // 59 | // textBox_username 60 | // 61 | this.textBox_username.Location = new System.Drawing.Point(245, 154); 62 | this.textBox_username.Name = "textBox_username"; 63 | this.textBox_username.Size = new System.Drawing.Size(142, 20); 64 | this.textBox_username.TabIndex = 2; 65 | // 66 | // textBox_password 67 | // 68 | this.textBox_password.Location = new System.Drawing.Point(245, 208); 69 | this.textBox_password.Name = "textBox_password"; 70 | this.textBox_password.Size = new System.Drawing.Size(142, 20); 71 | this.textBox_password.TabIndex = 3; 72 | this.textBox_password.UseSystemPasswordChar = true; 73 | // 74 | // button_authenticate 75 | // 76 | this.button_authenticate.Location = new System.Drawing.Point(245, 272); 77 | this.button_authenticate.Name = "button_authenticate"; 78 | this.button_authenticate.Size = new System.Drawing.Size(87, 27); 79 | this.button_authenticate.TabIndex = 4; 80 | this.button_authenticate.Text = "Authenticate"; 81 | this.button_authenticate.UseVisualStyleBackColor = true; 82 | this.button_authenticate.Click += new System.EventHandler(this.button_authenticate_Click); 83 | // 84 | // label_errmsg 85 | // 86 | this.label_errmsg.AutoSize = true; 87 | this.label_errmsg.Location = new System.Drawing.Point(253, 246); 88 | this.label_errmsg.Name = "label_errmsg"; 89 | this.label_errmsg.Size = new System.Drawing.Size(0, 13); 90 | this.label_errmsg.TabIndex = 5; 91 | // 92 | // label3 93 | // 94 | this.label3.AutoSize = true; 95 | this.label3.Location = new System.Drawing.Point(242, 330); 96 | this.label3.Name = "label3"; 97 | this.label3.Size = new System.Drawing.Size(109, 13); 98 | this.label3.TabIndex = 6; 99 | this.label3.Text = "Dont have a Account"; 100 | // 101 | // linkLabel_register 102 | // 103 | this.linkLabel_register.AutoSize = true; 104 | this.linkLabel_register.Location = new System.Drawing.Point(357, 330); 105 | this.linkLabel_register.Name = "linkLabel_register"; 106 | this.linkLabel_register.Size = new System.Drawing.Size(46, 13); 107 | this.linkLabel_register.TabIndex = 7; 108 | this.linkLabel_register.TabStop = true; 109 | this.linkLabel_register.Text = "Register"; 110 | this.linkLabel_register.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_register_LinkClicked); 111 | // 112 | // Log_In 113 | // 114 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 115 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 116 | this.ClientSize = new System.Drawing.Size(517, 415); 117 | this.Controls.Add(this.linkLabel_register); 118 | this.Controls.Add(this.label3); 119 | this.Controls.Add(this.label_errmsg); 120 | this.Controls.Add(this.button_authenticate); 121 | this.Controls.Add(this.textBox_password); 122 | this.Controls.Add(this.textBox_username); 123 | this.Controls.Add(this.label2); 124 | this.Controls.Add(this.label1); 125 | this.Name = "Log_In"; 126 | this.Text = "Log In"; 127 | this.ResumeLayout(false); 128 | this.PerformLayout(); 129 | 130 | } 131 | 132 | #endregion 133 | 134 | private System.Windows.Forms.Label label1; 135 | private System.Windows.Forms.Label label2; 136 | private System.Windows.Forms.TextBox textBox_username; 137 | private System.Windows.Forms.TextBox textBox_password; 138 | private System.Windows.Forms.Button button_authenticate; 139 | private System.Windows.Forms.Label label_errmsg; 140 | private System.Windows.Forms.Label label3; 141 | private System.Windows.Forms.LinkLabel linkLabel_register; 142 | } 143 | } -------------------------------------------------------------------------------- /UI/Log In.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Log_In : Form 15 | { 16 | public Log_In() 17 | { 18 | InitializeComponent(); 19 | } 20 | 21 | private void button_authenticate_Click(object sender, EventArgs e) 22 | { 23 | 24 | AuthenticationProcedure ap=new AuthenticationProcedure(); 25 | if (textBox_username.Text.Equals("") || textBox_password.Text.Equals("")) 26 | { 27 | label_errmsg.Text="Please give your valid username or password!!!"; 28 | label_errmsg.ForeColor=System.Drawing.Color.Red; 29 | } 30 | 31 | else if(ap.authenticationCheck(textBox_username.Text,textBox_password.Text)) 32 | { 33 | Home hm=new Home(textBox_username.Text); 34 | this.Hide(); 35 | hm.Show(); 36 | } 37 | 38 | else 39 | { 40 | label_errmsg.Text="Please give your valid username or password!!!"; 41 | label_errmsg.ForeColor=System.Drawing.Color.Red; 42 | } 43 | 44 | } 45 | 46 | private void linkLabel_register_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 47 | { 48 | Registration rg = new Registration(); 49 | this.Hide(); 50 | rg.Show(); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /UI/Log In.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/Password Confirmation.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace UI 2 | { 3 | partial class Password_Confirmation 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 | this.label1 = new System.Windows.Forms.Label(); 32 | this.textBox_pass = new System.Windows.Forms.TextBox(); 33 | this.button_authenticate = new System.Windows.Forms.Button(); 34 | this.label_errmsg = new System.Windows.Forms.Label(); 35 | this.SuspendLayout(); 36 | // 37 | // label1 38 | // 39 | this.label1.AutoSize = true; 40 | this.label1.Location = new System.Drawing.Point(81, 118); 41 | this.label1.Name = "label1"; 42 | this.label1.Size = new System.Drawing.Size(90, 13); 43 | this.label1.TabIndex = 0; 44 | this.label1.Text = "Current Password"; 45 | // 46 | // textBox_pass 47 | // 48 | this.textBox_pass.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 49 | this.textBox_pass.Location = new System.Drawing.Point(199, 115); 50 | this.textBox_pass.Name = "textBox_pass"; 51 | this.textBox_pass.Size = new System.Drawing.Size(141, 26); 52 | this.textBox_pass.TabIndex = 1; 53 | this.textBox_pass.UseSystemPasswordChar = true; 54 | // 55 | // button_authenticate 56 | // 57 | this.button_authenticate.Location = new System.Drawing.Point(199, 183); 58 | this.button_authenticate.Name = "button_authenticate"; 59 | this.button_authenticate.Size = new System.Drawing.Size(75, 23); 60 | this.button_authenticate.TabIndex = 2; 61 | this.button_authenticate.Text = "Authenticate"; 62 | this.button_authenticate.UseVisualStyleBackColor = true; 63 | this.button_authenticate.Click += new System.EventHandler(this.button_authenticate_Click); 64 | // 65 | // label_errmsg 66 | // 67 | this.label_errmsg.AutoSize = true; 68 | this.label_errmsg.Location = new System.Drawing.Point(206, 156); 69 | this.label_errmsg.Name = "label_errmsg"; 70 | this.label_errmsg.Size = new System.Drawing.Size(0, 13); 71 | this.label_errmsg.TabIndex = 3; 72 | // 73 | // Password_Confirmation 74 | // 75 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 76 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 77 | this.ClientSize = new System.Drawing.Size(439, 315); 78 | this.Controls.Add(this.label_errmsg); 79 | this.Controls.Add(this.button_authenticate); 80 | this.Controls.Add(this.textBox_pass); 81 | this.Controls.Add(this.label1); 82 | this.Name = "Password_Confirmation"; 83 | this.Text = "Password Confirmation"; 84 | this.ResumeLayout(false); 85 | this.PerformLayout(); 86 | 87 | } 88 | 89 | #endregion 90 | 91 | private System.Windows.Forms.Label label1; 92 | private System.Windows.Forms.TextBox textBox_pass; 93 | private System.Windows.Forms.Button button_authenticate; 94 | private System.Windows.Forms.Label label_errmsg; 95 | } 96 | } -------------------------------------------------------------------------------- /UI/Password Confirmation.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Password_Confirmation : Form 15 | { 16 | String username = ""; 17 | 18 | public Password_Confirmation() 19 | { 20 | InitializeComponent(); 21 | } 22 | 23 | public Password_Confirmation(string username) 24 | { 25 | this.username = username; 26 | InitializeComponent(); 27 | } 28 | 29 | private void button_authenticate_Click(object sender, EventArgs e) 30 | { 31 | if (textBox_pass.Text.Equals("")) 32 | { 33 | label_errmsg.Text = "Please give your password!!!"; 34 | label_errmsg.ForeColor = System.Drawing.Color.Red; 35 | } 36 | 37 | else 38 | { 39 | AuthenticationProcedure ap = new AuthenticationProcedure(); 40 | 41 | if (ap.authenticationCheck(username, textBox_pass.Text)) 42 | { 43 | this.Hide(); 44 | Change_Password cp = new Change_Password(username); 45 | cp.Show(); 46 | } 47 | 48 | else 49 | { 50 | label_errmsg.Text = "Password didnot match!!! "; 51 | label_errmsg.ForeColor = System.Drawing.Color.Red; 52 | } 53 | } 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /UI/Password Confirmation.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/Profile.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 | using BO; 11 | 12 | namespace UI 13 | { 14 | public partial class Profile : Form 15 | { 16 | String username="110231"; 17 | public Profile() 18 | { 19 | InitializeComponent(); 20 | } 21 | 22 | public Profile(string username) 23 | { 24 | this.username = username; 25 | InitializeComponent(); 26 | 27 | } 28 | 29 | private void Profile_Load(object sender, EventArgs e) 30 | { 31 | DataShow ds= new DataShow(); 32 | 33 | String[] result = ds.datashow(username); 34 | 35 | label_name.Text=result[0]; 36 | label_username.Text = result[1]; 37 | label_designation.Text = result[2]; 38 | label_phoneno.Text = result[3]; 39 | label_email.Text = result[4]; 40 | label_address.Text=result[5]; 41 | label_dob.Text = result[6]; 42 | label_gender.Text=result[7]; 43 | } 44 | 45 | private void editProfileToolStripMenuItem_Click(object sender, EventArgs e) 46 | { 47 | this.Hide(); 48 | Edit_Profile ep = new Edit_Profile(); 49 | ep.Show(); 50 | } 51 | 52 | private void homeToolStripMenuItem_Click(object sender, EventArgs e) 53 | { 54 | this.Hide(); 55 | Home hm = new Home(); 56 | hm.Show(); 57 | } 58 | 59 | private void changePasswordToolStripMenuItem_Click(object sender, EventArgs e) 60 | { 61 | this.Hide(); 62 | Password_Confirmation pc = new Password_Confirmation(username); 63 | pc.Show(); 64 | } 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /UI/Profile.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 17, 17 122 | 123 | -------------------------------------------------------------------------------- /UI/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 UI 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 Log_In()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /UI/Project Name.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/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("UI")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("UI")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 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("e03adb4b-f734-4ad0-ae9c-750850ea8db4")] 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 | -------------------------------------------------------------------------------- /UI/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.17929 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 UI.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("UI.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 | -------------------------------------------------------------------------------- /UI/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 | -------------------------------------------------------------------------------- /UI/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.17929 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 UI.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 | -------------------------------------------------------------------------------- /UI/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /UI/Registration.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace UI 2 | { 3 | partial class Registration 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 | this.SuspendLayout(); 32 | // 33 | // Registration 34 | // 35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 37 | this.ClientSize = new System.Drawing.Size(543, 499); 38 | this.Name = "Registration"; 39 | this.Text = "Registration"; 40 | this.ResumeLayout(false); 41 | 42 | } 43 | 44 | #endregion 45 | } 46 | } -------------------------------------------------------------------------------- /UI/Registration.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 UI 12 | { 13 | public partial class Registration : Form 14 | { 15 | public Registration() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /UI/Registration.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 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /UI/UI.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {FEC87B8B-16E2-4E6D-AD6B-213F410518FE} 8 | WinExe 9 | Properties 10 | UI 11 | UI 12 | v4.5 13 | 512 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | Form 49 | 50 | 51 | Add Project.cs 52 | 53 | 54 | Form 55 | 56 | 57 | Add To Do List.cs 58 | 59 | 60 | Form 61 | 62 | 63 | Change Password.cs 64 | 65 | 66 | Form 67 | 68 | 69 | Edit Profile.cs 70 | 71 | 72 | Form 73 | 74 | 75 | Edit Project Info.cs 76 | 77 | 78 | Form 79 | 80 | 81 | Edit To Do.cs 82 | 83 | 84 | Form 85 | 86 | 87 | Home.cs 88 | 89 | 90 | Form 91 | 92 | 93 | Log In.cs 94 | 95 | 96 | Form 97 | 98 | 99 | Password Confirmation.cs 100 | 101 | 102 | Form 103 | 104 | 105 | Profile.cs 106 | 107 | 108 | 109 | Form 110 | 111 | 112 | Project Name.cs 113 | 114 | 115 | 116 | Form 117 | 118 | 119 | Registration.cs 120 | 121 | 122 | Add Project.cs 123 | 124 | 125 | Add To Do List.cs 126 | 127 | 128 | Change Password.cs 129 | 130 | 131 | Edit Profile.cs 132 | 133 | 134 | Edit Project Info.cs 135 | 136 | 137 | Edit To Do.cs 138 | 139 | 140 | Home.cs 141 | 142 | 143 | Log In.cs 144 | 145 | 146 | Password Confirmation.cs 147 | 148 | 149 | Profile.cs 150 | 151 | 152 | Project Name.cs 153 | 154 | 155 | ResXFileCodeGenerator 156 | Resources.Designer.cs 157 | Designer 158 | 159 | 160 | True 161 | Resources.resx 162 | 163 | 164 | Registration.cs 165 | 166 | 167 | SettingsSingleFileGenerator 168 | Settings.Designer.cs 169 | 170 | 171 | True 172 | Settings.settings 173 | True 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | {3e9396da-1a52-4626-ad76-e8090cf1693a} 182 | BO 183 | 184 | 185 | 186 | 193 | -------------------------------------------------------------------------------- /UI/View.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {FEC87B8B-16E2-4E6D-AD6B-213F410518FE} 8 | WinExe 9 | Properties 10 | UI 11 | UI 12 | v4.5 13 | 512 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | Form 49 | 50 | 51 | Add Project.cs 52 | 53 | 54 | Form 55 | 56 | 57 | Add To Do List.cs 58 | 59 | 60 | Form 61 | 62 | 63 | Change Password.cs 64 | 65 | 66 | Form 67 | 68 | 69 | Edit Profile.cs 70 | 71 | 72 | Form 73 | 74 | 75 | Edit Project Info.cs 76 | 77 | 78 | Form 79 | 80 | 81 | Edit To Do.cs 82 | 83 | 84 | Form 85 | 86 | 87 | Home.cs 88 | 89 | 90 | Form 91 | 92 | 93 | Log In.cs 94 | 95 | 96 | Form 97 | 98 | 99 | Password Confirmation.cs 100 | 101 | 102 | Form 103 | 104 | 105 | Profile.cs 106 | 107 | 108 | 109 | Form 110 | 111 | 112 | Project Name.cs 113 | 114 | 115 | 116 | Form 117 | 118 | 119 | Registration.cs 120 | 121 | 122 | Add Project.cs 123 | 124 | 125 | Add To Do List.cs 126 | 127 | 128 | Change Password.cs 129 | 130 | 131 | Edit Profile.cs 132 | 133 | 134 | Edit Project Info.cs 135 | 136 | 137 | Edit To Do.cs 138 | 139 | 140 | Home.cs 141 | 142 | 143 | Log In.cs 144 | 145 | 146 | Password Confirmation.cs 147 | 148 | 149 | Profile.cs 150 | 151 | 152 | Project Name.cs 153 | 154 | 155 | ResXFileCodeGenerator 156 | Resources.Designer.cs 157 | Designer 158 | 159 | 160 | True 161 | Resources.resx 162 | 163 | 164 | Registration.cs 165 | 166 | 167 | SettingsSingleFileGenerator 168 | Settings.Designer.cs 169 | 170 | 171 | True 172 | Settings.settings 173 | True 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | {3e9396da-1a52-4626-ad76-e8090cf1693a} 182 | Controller 183 | 184 | 185 | 186 | 193 | -------------------------------------------------------------------------------- /UI/bin/Debug/BO.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/bin/Debug/BO.dll -------------------------------------------------------------------------------- /UI/bin/Debug/BO.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/bin/Debug/BO.pdb -------------------------------------------------------------------------------- /UI/bin/Debug/DAL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/bin/Debug/DAL.dll -------------------------------------------------------------------------------- /UI/bin/Debug/DAL.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/bin/Debug/DAL.pdb -------------------------------------------------------------------------------- /UI/bin/Debug/UI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/bin/Debug/UI.exe -------------------------------------------------------------------------------- /UI/bin/Debug/UI.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /UI/bin/Debug/UI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/bin/Debug/UI.pdb -------------------------------------------------------------------------------- /UI/bin/Debug/UI.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/bin/Debug/UI.vshost.exe -------------------------------------------------------------------------------- /UI/bin/Debug/UI.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /UI/bin/Debug/UI.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /UI/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /UI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /UI/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /UI/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /UI/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Add_Project.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Add_Project.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Add_To_Do_List.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Add_To_Do_List.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Change_Password.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Change_Password.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Edit_Profile.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Edit_Profile.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Edit_Project_Info.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Edit_Project_Info.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Edit_To_Do.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Edit_To_Do.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Home.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Home.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Log_In.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Log_In.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Password_Confirmation.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Password_Confirmation.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Profile.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Profile.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Project_Name.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Project_Name.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Properties.Resources.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.Registration.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.Registration.resources -------------------------------------------------------------------------------- /UI/obj/Debug/UI.csproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.csproj.GenerateResource.Cache -------------------------------------------------------------------------------- /UI/obj/Debug/UI.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /UI/obj/Debug/UI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.exe -------------------------------------------------------------------------------- /UI/obj/Debug/UI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/UI.pdb -------------------------------------------------------------------------------- /UI/obj/Debug/View.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\bin\Debug\UI.exe.config 2 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\bin\Debug\UI.exe 3 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\bin\Debug\UI.pdb 4 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\bin\Debug\BO.dll 5 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\bin\Debug\DAL.dll 6 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\bin\Debug\BO.pdb 7 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\bin\Debug\DAL.pdb 8 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\View.csprojResolveAssemblyReference.cache 9 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Add_Project.resources 10 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Add_To_Do_List.resources 11 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Change_Password.resources 12 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Edit_Profile.resources 13 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Edit_Project_Info.resources 14 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Edit_To_Do.resources 15 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Home.resources 16 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Log_In.resources 17 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Password_Confirmation.resources 18 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Profile.resources 19 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Project_Name.resources 20 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Properties.Resources.resources 21 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.Registration.resources 22 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\View.csproj.GenerateResource.Cache 23 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.exe 24 | D:\Literature\KU\3rd Year\2nd Term\Software Engineering\Lab Work\TaskManagementSystem\UI\obj\Debug\UI.pdb 25 | -------------------------------------------------------------------------------- /UI/obj/Debug/View.csproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/View.csproj.GenerateResource.Cache -------------------------------------------------------------------------------- /UI/obj/Debug/View.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/UI/obj/Debug/View.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /db_task.mdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/db_task.mdf -------------------------------------------------------------------------------- /db_task_log.ldf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmkhaledsaifullah/TaskManagementSystem/03ecac8b1cbb8e9445083dc99702bd7e29377d77/db_task_log.ldf --------------------------------------------------------------------------------