├── .gitattributes ├── .github └── workflows │ ├── dotnet-core-desktop.yml │ ├── dotnet-core.yml │ └── greetings.yml ├── .gitignore ├── .vs └── MeshEkran │ └── v16 │ ├── .suo │ └── Server │ └── sqlite3 │ ├── db.lock │ └── storage.ide ├── LICENSE ├── MeshEkran.sln ├── MeshEkran ├── .vs │ └── MeshEkran │ │ └── v16 │ │ ├── .suo │ │ └── Server │ │ └── sqlite3 │ │ ├── db.lock │ │ └── storage.ide ├── AnaMenuler │ ├── Admin_AnaMenu.Designer.cs │ ├── Admin_AnaMenu.cs │ └── Admin_AnaMenu.resx ├── App.config ├── Arşiv.cs ├── Classlar │ ├── AdminGiris.cs │ ├── Metotlar.cs │ ├── OperatorGiris.cs │ └── SQLIslemleri.cs ├── DataSetler │ ├── FirmaDBListDataSet.Designer.cs │ ├── FirmaDBListDataSet.xsc │ ├── FirmaDBListDataSet.xsd │ └── FirmaDBListDataSet.xss ├── DatabaseImg │ └── DatabaseSQL.PNG ├── GirisEkranlari │ ├── Giris_Admin.Designer.cs │ ├── Giris_Admin.cs │ ├── Giris_Admin.resx │ ├── Giris_Operator.Designer.cs │ ├── Giris_Operator.cs │ ├── Giris_Operator.resx │ ├── Giris_SecimEkran.Designer.cs │ ├── Giris_SecimEkran.cs │ └── Giris_SecimEkran.resx ├── Islemler │ ├── OperatorEkleme.Designer.cs │ └── OperatorEkleme.cs ├── MeshEkran.csproj ├── MeshEkran.sln ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── BackIcon.png │ ├── CancelIcon.png │ ├── CheckIcon.png │ ├── Left_Arrow_-512.png │ ├── Ok-256256.png │ ├── QuitIcon.jpg │ ├── RedIcon.png │ ├── adminicon.png │ ├── cancel-256256.png │ ├── factoryicon.png │ ├── gearicon.png │ ├── green img.jpg │ ├── greenicon.png │ ├── icon-ios7-gear-512.png │ ├── quittt.png │ ├── redimg.png │ ├── reload.png │ └── yellow img.jpg ├── Veritabani │ └── Database.cs ├── bin │ ├── Debug │ │ └── MeshEkran.exe.config │ └── Release │ │ └── MeshEkran.exe.config └── obj │ ├── Debug │ ├── DesignTimeResolveAssemblyReferences.cache │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── MeshEkran.Admin_AnaMenu.resources │ ├── MeshEkran.Giris_Admin.resources │ ├── MeshEkran.Giris_Operator.resources │ ├── MeshEkran.Giris_SecimEkran.resources │ ├── MeshEkran.Properties.Resources.resources │ ├── MeshEkran.csproj.CopyComplete │ ├── MeshEkran.csproj.FileListAbsolute.txt │ ├── MeshEkran.csproj.GenerateResource.cache │ └── MeshEkran.csprojAssemblyReference.cache │ └── Release │ ├── DesignTimeResolveAssemblyReferences.cache │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── MeshEkran.Admin_AnaMenu.resources │ ├── MeshEkran.Giris_Admin.resources │ ├── MeshEkran.Giris_Operator.resources │ ├── MeshEkran.Giris_SecimEkran.resources │ ├── MeshEkran.Properties.Resources.resources │ ├── MeshEkran.csproj.CopyComplete │ ├── MeshEkran.csproj.CoreCompileInputs.cache │ ├── MeshEkran.csproj.FileListAbsolute.txt │ ├── MeshEkran.csproj.GenerateResource.cache │ └── MeshEkran.csprojAssemblyReference.cache └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.github/workflows/dotnet-core-desktop.yml: -------------------------------------------------------------------------------- 1 | # This workflow uses actions that are not certified by GitHub. 2 | # They are provided by a third-party and are governed by 3 | # separate terms of service, privacy policy, and support 4 | # documentation. 5 | 6 | # This workflow will build, test, sign and package a WPF or Windows Forms desktop application 7 | # built on .NET Core. 8 | # To learn how to migrate your existing application to .NET Core, 9 | # refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework 10 | # 11 | # To configure this workflow: 12 | # 13 | # 1. Configure environment variables 14 | # GitHub sets default environment variables for every workflow run. 15 | # Replace the variables relative to your project in the "env" section below. 16 | # 17 | # 2. Signing 18 | # Generate a signing certificate in the Windows Application 19 | # Packaging Project or add an existing signing certificate to the project. 20 | # Next, use PowerShell to encode the .pfx file using Base64 encoding 21 | # by running the following Powershell script to generate the output string: 22 | # 23 | # $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte 24 | # [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt' 25 | # 26 | # Open the output file, SigningCertificate_Encoded.txt, and copy the 27 | # string inside. Then, add the string to the repo as a GitHub secret 28 | # and name it "Base64_Encoded_Pfx." 29 | # For more information on how to configure your signing certificate for 30 | # this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing 31 | # 32 | # Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key". 33 | # See "Build the Windows Application Packaging project" below to see how the secret is used. 34 | # 35 | # For more information on GitHub Actions, refer to https://github.com/features/actions 36 | # For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications, 37 | # refer to https://github.com/microsoft/github-actions-for-desktop-apps 38 | 39 | name: .NET Core Desktop 40 | 41 | on: 42 | push: 43 | branches: [ master ] 44 | pull_request: 45 | branches: [ master ] 46 | 47 | jobs: 48 | 49 | build: 50 | 51 | strategy: 52 | matrix: 53 | configuration: [Debug, Release] 54 | 55 | runs-on: windows-latest # For a list of available runner types, refer to 56 | # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on 57 | 58 | env: 59 | Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln. 60 | Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj. 61 | Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package. 62 | Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj. 63 | 64 | steps: 65 | - name: Checkout 66 | uses: actions/checkout@v2 67 | with: 68 | fetch-depth: 0 69 | 70 | # Install the .NET Core workload 71 | - name: Install .NET Core 72 | uses: actions/setup-dotnet@v1 73 | with: 74 | dotnet-version: 3.1.101 75 | 76 | # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild 77 | - name: Setup MSBuild.exe 78 | uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16 79 | 80 | # Execute all unit tests in the solution 81 | - name: Execute unit tests 82 | run: dotnet test 83 | 84 | # Restore the application to populate the obj folder with RuntimeIdentifiers 85 | - name: Restore the application 86 | run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration 87 | env: 88 | Configuration: ${{ matrix.configuration }} 89 | 90 | # Decode the base 64 encoded pfx and save the Signing_Certificate 91 | - name: Decode the pfx 92 | run: | 93 | $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}") 94 | $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx 95 | [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) 96 | 97 | # Create the app package by building and packaging the Windows Application Packaging project 98 | - name: Create the app package 99 | run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }} 100 | env: 101 | Appx_Bundle: Always 102 | Appx_Bundle_Platforms: x86|x64 103 | Appx_Package_Build_Mode: StoreUpload 104 | Configuration: ${{ matrix.configuration }} 105 | 106 | # Remove the pfx 107 | - name: Remove the pfx 108 | run: Remove-Item -path $env:Wap_Project_Directory\$env:Signing_Certificate 109 | 110 | # Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact 111 | - name: Upload build artifacts 112 | uses: actions/upload-artifact@v2 113 | with: 114 | name: MSIX Package 115 | path: ${{ env.Wap_Project_Directory }}\AppPackages 116 | -------------------------------------------------------------------------------- /.github/workflows/dotnet-core.yml: -------------------------------------------------------------------------------- 1 | name: .NET Core 2 | 3 | on: 4 | push: 5 | branches: [ master ] 6 | pull_request: 7 | branches: [ master ] 8 | 9 | jobs: 10 | build: 11 | 12 | runs-on: ubuntu-latest 13 | 14 | steps: 15 | - uses: actions/checkout@v2 16 | - name: Setup .NET Core 17 | uses: actions/setup-dotnet@v1 18 | with: 19 | dotnet-version: 3.1.301 20 | - name: Install dependencies 21 | run: dotnet restore 22 | - name: Build 23 | run: dotnet build --configuration Release --no-restore 24 | - name: Test 25 | run: dotnet test --no-restore --verbosity normal 26 | -------------------------------------------------------------------------------- /.github/workflows/greetings.yml: -------------------------------------------------------------------------------- 1 | name: Greetings 2 | 3 | on: [pull_request, issues] 4 | 5 | jobs: 6 | greeting: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: actions/first-interaction@v1 10 | with: 11 | repo-token: ${{ secrets.GITHUB_TOKEN }} 12 | issue-message: 'Message that will be displayed on users'' first issue' 13 | pr-message: 'Message that will be displayed on users'' first pr' 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Object files 5 | *.o 6 | *.ko 7 | *.obj 8 | *.elf 9 | 10 | # Linker output 11 | *.ilk 12 | *.map 13 | *.exp 14 | 15 | # Precompiled Headers 16 | *.gch 17 | *.pch 18 | 19 | # Libraries 20 | *.lib 21 | *.a 22 | *.la 23 | *.lo 24 | 25 | # Shared objects (inc. Windows DLLs) 26 | *.dll 27 | *.so 28 | *.so.* 29 | *.dylib 30 | 31 | # Executables 32 | *.exe 33 | *.out 34 | *.app 35 | *.i*86 36 | *.x86_64 37 | *.hex 38 | 39 | # Debug files 40 | *.dSYM/ 41 | *.su 42 | *.idb 43 | *.pdb 44 | 45 | # Kernel Module Compile Results 46 | *.mod* 47 | *.cmd 48 | .tmp_versions/ 49 | modules.order 50 | Module.symvers 51 | Mkfile.old 52 | dkms.conf 53 | MeshEkran/bin/Release.rar 54 | -------------------------------------------------------------------------------- /.vs/MeshEkran/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/.vs/MeshEkran/v16/.suo -------------------------------------------------------------------------------- /.vs/MeshEkran/v16/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/.vs/MeshEkran/v16/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /.vs/MeshEkran/v16/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/.vs/MeshEkran/v16/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /MeshEkran.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29102.190 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MeshEkran", "MeshEkran\MeshEkran.csproj", "{3D110EBB-3F04-4F16-83C2-DF5A2458CB35}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {D3AC74F1-2193-49E9-9402-3B371C3850B2} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /MeshEkran/.vs/MeshEkran/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/.vs/MeshEkran/v16/.suo -------------------------------------------------------------------------------- /MeshEkran/.vs/MeshEkran/v16/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/.vs/MeshEkran/v16/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /MeshEkran/.vs/MeshEkran/v16/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/.vs/MeshEkran/v16/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /MeshEkran/AnaMenuler/Admin_AnaMenu.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 | 122 | 123 | iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAABGdBTUEAALGPC/xhBQAAAANQTFRF/wAA 124 | GeIJNwAAAEhJREFUeF7twYEAAAAAw6D5U1/gCFUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 125 | AAAAAAAAAAAAAAAAAAAAAAAAXDXGogABqbeiTwAAAABJRU5ErkJggg== 126 | 127 | 128 | -------------------------------------------------------------------------------- /MeshEkran/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /MeshEkran/Arşiv.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 MeshEkran 8 | { 9 | class Arşiv 10 | { 11 | } 12 | } 13 | 14 | /* 15 | bool result = false; 16 | if (!MakineVarsa(degisken)) 17 | { 18 | using (var connection = MeshEkran.Veritabani.Database.GetConnection()) 19 | { 20 | var command = new SqlCommand("INSERT INTO MakinelerTablosu(MakineAdi,MakineKodu,OperasyonID) VALUES('" + degisken.MakineAdi + "','" + degisken.MakineKodu + "','" + degisken.OperasyonID + "')"); 21 | command.Connection = connection; 22 | connection.Open(); 23 | if (command.ExecuteNonQuery() != -1) 24 | { 25 | result = true; 26 | } 27 | connection.Close(); 28 | } 29 | } 30 | return result; */ 31 | -------------------------------------------------------------------------------- /MeshEkran/Classlar/AdminGiris.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using MasDLL; 7 | using System.Data.SqlClient; 8 | 9 | namespace MeshEkran.Classlar 10 | { 11 | public class AdminGiris 12 | { 13 | 14 | #region AdminGirişKontrol 15 | public static string KullaniciAdi, Sifre; 16 | 17 | public KullaniciDLL.Admin AdminKontrol(string KullaniciAdi, string Sifre) 18 | { 19 | KullaniciDLL.Admin adminuser = null; 20 | using (var connection = MeshEkran.Veritabani.Database.GetConnection()) 21 | { 22 | var command = new SqlCommand("SELECT *FROM Admin WHERE KullaniciAdi='" + KullaniciAdi + "'and Sifre='" + Sifre + "'") 23 | { 24 | Connection = connection 25 | }; 26 | connection.Open(); 27 | using (var reader = command.ExecuteReader()) 28 | { 29 | while (reader.Read()) 30 | { 31 | 32 | adminuser = new KullaniciDLL.Admin 33 | { 34 | KullaniciID = reader.GetInt32(0), 35 | KullaniciAdi = reader.GetString(1), 36 | Sifre = reader.GetString(2), 37 | Isim = reader.GetString(3), 38 | Soyisim = reader.GetString(4) 39 | }; 40 | 41 | } 42 | } 43 | connection.Close(); 44 | } 45 | return adminuser; 46 | } 47 | #endregion 48 | 49 | #region AdminKayitKontrol 50 | private bool AdminVarsa(KullaniciDLL.Admin adminuser) 51 | { 52 | bool result = false; 53 | using (var connection = MeshEkran.Veritabani.Database.GetConnection()) 54 | { 55 | var command = new SqlCommand("SELECT *FROM Admin WHERE KullaniciAdi='" + adminuser.KullaniciAdi + "'") 56 | { 57 | Connection = connection 58 | }; 59 | connection.Open(); 60 | using (var reader = command.ExecuteReader()) 61 | { 62 | if (reader.Read()) 63 | { 64 | result = true; 65 | } 66 | } 67 | connection.Close(); 68 | } 69 | return result; 70 | } 71 | #endregion 72 | 73 | #region AdminKayıtYapma 74 | public bool AdminInsert(KullaniciDLL.Admin adminuser) 75 | { 76 | bool result = false; 77 | if (!AdminVarsa(adminuser)) 78 | { 79 | using (var connection = MeshEkran.Veritabani.Database.GetConnection()) 80 | { 81 | var command = new SqlCommand("INSERT INTO Admin(KullaniciAdi,Sifre,Ad,Soyad) VALUES('" + adminuser.KullaniciAdi + "','" + adminuser.Sifre + "','" + adminuser.Isim + "','" + adminuser.Soyisim + "')") 82 | { 83 | Connection = connection 84 | }; 85 | connection.Open(); 86 | if (command.ExecuteNonQuery() != -1) 87 | { 88 | result = true; 89 | } 90 | connection.Close(); 91 | } 92 | } 93 | return result; 94 | } 95 | #endregion 96 | 97 | } 98 | } 99 | 100 | -------------------------------------------------------------------------------- /MeshEkran/Classlar/Metotlar.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows.Forms; 7 | 8 | namespace MeshEkran.Classlar 9 | { 10 | public class Metotlar 11 | { 12 | public static void Ok(string Msj, string Title = "Ok...") 13 | { 14 | MessageBox.Show(Msj, Title, MessageBoxButtons.OK, MessageBoxIcon.Information); 15 | } 16 | 17 | public static void No(string Msj, string Title = "No...") 18 | { 19 | MessageBox.Show(Msj, Title, MessageBoxButtons.OK, MessageBoxIcon.Stop); 20 | } 21 | 22 | public static DialogResult QuestionMesaj(string Msj, string Title = "Ok...") 23 | { 24 | return MessageBox.Show(Msj, Title, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /MeshEkran/Classlar/OperatorGiris.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 MeshEkran.Classlar 8 | { 9 | class OperatorGiris 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /MeshEkran/Classlar/SQLIslemleri.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 MeshEkran.Classlar 11 | { 12 | public class SQLIslemleri 13 | { 14 | 15 | #region Değişkenler 16 | public static string PSid, PSadi, PSkodu, PSoperasyonid; 17 | #endregion 18 | 19 | //Makine İşlemleri 20 | #region MakineVarmiKontrolu 21 | private bool MakineVarsa(MasDLL.Rapor degisken) 22 | { 23 | bool result = false; 24 | using (var baglanti = Veritabani.Database.GetConnection()) 25 | { 26 | baglanti.Open(); 27 | string secmeSorgusu = "exec PRC_MakineKontrol @makinekod"; 28 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 29 | secmeKomutu.Parameters.AddWithValue("@makinekod", degisken.MakineKodu); 30 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 31 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 32 | if (dr.Read()) 33 | { 34 | result = true; 35 | baglanti.Close(); 36 | } 37 | return result; 38 | 39 | } 40 | 41 | } 42 | #endregion 43 | 44 | #region MakineEkleme 45 | public bool MakineEkleme(MasDLL.Rapor degisken) 46 | { 47 | 48 | bool result = false; 49 | if (!MakineVarsa(degisken)) 50 | { 51 | using (var baglanti = MeshEkran.Veritabani.Database.GetConnection()) 52 | { 53 | try 54 | { 55 | 56 | 57 | string kayit = "insert into MakinelerTablosu(MakineAdi,MakineKodu,OperasyonID) values (@makineadi,@makinekodu,@operasyonid)"; 58 | SqlCommand komut = new SqlCommand(kayit, baglanti); 59 | komut.Parameters.AddWithValue("@makineadi", degisken.MakineAdı); 60 | komut.Parameters.AddWithValue("@makinekodu", degisken.MakineKodu); 61 | komut.Parameters.AddWithValue("@operasyonid", degisken.OperasyonID); 62 | baglanti.Open(); 63 | if (komut.ExecuteNonQuery() != -1) 64 | { 65 | result = true; 66 | } 67 | baglanti.Close(); 68 | 69 | } 70 | catch (Exception hata) 71 | { 72 | MessageBox.Show("İşlem Sırasında Hata Oluştu. \n\n\n\n" + hata.Message); 73 | } 74 | 75 | return result; 76 | } 77 | } 78 | return result; 79 | } 80 | #endregion 81 | 82 | #region MakineSilme 83 | public bool MakineSilme(MasDLL.Rapor degisken) 84 | { 85 | 86 | bool result = false; 87 | using (var baglanti = MeshEkran.Veritabani.Database.GetConnection()) 88 | { 89 | baglanti.Open(); 90 | string secmeSorgusu = "exec PRC_MakineUpdateKontrol @makineid"; 91 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 92 | secmeKomutu.Parameters.AddWithValue("@makineid", degisken.MakineID); 93 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 94 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 95 | if (dr.Read()) 96 | { 97 | string id = dr["MakineID"].ToString(); 98 | string adi = dr["MakineAdi"].ToString(); 99 | string kodu = dr["MakineKodu"].ToString(); 100 | 101 | ////////////////////////// 102 | PSid = dr["MakineID"].ToString(); 103 | PSadi = dr["MakineAdi"].ToString(); 104 | PSkodu = dr["MakineKodu"].ToString(); 105 | PSoperasyonid = dr["OperasyonID"].ToString(); 106 | ///////////////////////// 107 | 108 | dr.Close(); 109 | DialogResult durum = MessageBox.Show(id + " numarali " + adi + " " + kodu + " isimli makineyi veritabanından silmek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 110 | if (DialogResult.Yes == durum) 111 | { 112 | string silmeSorgusu = "exec PRC_MakineDelete @makineid"; 113 | SqlCommand silKomutu = new SqlCommand(silmeSorgusu, baglanti); 114 | silKomutu.Parameters.AddWithValue("@makineid", degisken.MakineID); 115 | if (silKomutu.ExecuteNonQuery() != -1) 116 | { 117 | result = true; 118 | } 119 | 120 | 121 | } 122 | 123 | baglanti.Close(); 124 | 125 | 126 | } 127 | else 128 | { 129 | MessageBox.Show("Böyle bir makine yok."); 130 | } 131 | 132 | return result; 133 | } 134 | } 135 | #endregion 136 | 137 | #region MakineGuncelleme 138 | public bool MakineGuncelleme(MasDLL.Rapor degisken) 139 | { 140 | bool result = false; 141 | using (var baglanti = Veritabani.Database.GetConnection()) 142 | { 143 | baglanti.Open(); 144 | string secmeSorgusu = "exec PRC_MakineUpdateKontrol @makineid"; 145 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 146 | secmeKomutu.Parameters.AddWithValue("@makineid", degisken.MakineID); 147 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 148 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 149 | if (dr.Read()) 150 | { 151 | string id = dr["MakineID"].ToString(); 152 | string urunadkod = dr["MakineAdi"].ToString() + " " + dr["MakineKodu"].ToString(); 153 | 154 | dr.Close(); 155 | DialogResult durum = MessageBox.Show(id + " numaralı " + urunadkod + " makinesini güncellemek istediğinize emin misiniz?", "Güncelleme Onayı", MessageBoxButtons.YesNo); 156 | if (DialogResult.Yes == durum) 157 | { 158 | 159 | //string kayit = "UPDATE MakinelerTablosu SET MakineAdi=@makineadi,MakineKodu=@makinekodu,OperasyonID=@opid where MakineID=@makineid"; 160 | string kayit = "exec PRC_MakineUpdate @makineadi,@makinekodu,@opid,@makineid"; 161 | SqlCommand komut = new SqlCommand(kayit, baglanti); 162 | komut.Parameters.AddWithValue("@opid", degisken.OperasyonID); 163 | komut.Parameters.AddWithValue("@makineadi", degisken.MakineAdi); 164 | komut.Parameters.AddWithValue("@makinekodu", degisken.MakineKodu); 165 | komut.Parameters.AddWithValue("@makineid", degisken.MakineID); 166 | komut.ExecuteNonQuery(); 167 | 168 | MessageBox.Show("Makine bilgileri başarıyla güncellendi."); 169 | 170 | } 171 | 172 | baglanti.Close(); 173 | 174 | 175 | } 176 | else 177 | { 178 | MessageBox.Show("Böyle bir makine bulunamadı."); 179 | } 180 | 181 | return result; 182 | } 183 | } 184 | #endregion 185 | //Makine İşlemleri 186 | 187 | //Operator İşlemleri 188 | #region OperatorVarmiKontrolu 189 | public bool OperatorVarmiKontrolu(KullaniciDLL.Operator degisken) 190 | { 191 | bool result = false; 192 | using (var connection = Veritabani.Database.GetConnection()) 193 | { 194 | var command = new SqlCommand("SELECT * FROM Operator WHERE SicilNo='" + degisken.SicilNO + "'") 195 | { 196 | Connection = connection 197 | }; 198 | connection.Open(); 199 | using (var reader = command.ExecuteReader()) 200 | { 201 | if (reader.Read()) 202 | { 203 | result = true; 204 | } 205 | } 206 | connection.Close(); 207 | } 208 | return result; 209 | } 210 | #endregion 211 | 212 | #region OperatorEkleme 213 | public bool OperatorEkleme(KullaniciDLL.Operator degisken) 214 | { 215 | bool result = false; 216 | if (!OperatorVarmiKontrolu(degisken)) 217 | { 218 | using (var baglanti = MeshEkran.Veritabani.Database.GetConnection()) 219 | { 220 | try 221 | { 222 | 223 | 224 | string kayit = "insert into Operator(Ad,Soyad,DogumTarihi,SicilNo,IseBaslangicTarihi,DurumAP) values (@ad,@soyad,@dogumtarihi,@sicilno,@isebaslangictarihi,@durumap)"; 225 | SqlCommand komut = new SqlCommand(kayit, baglanti); 226 | komut.Parameters.AddWithValue("@ad", degisken.Isim); 227 | komut.Parameters.AddWithValue("@soyad", degisken.Soyisim); 228 | komut.Parameters.AddWithValue("@dogumtarihi", degisken.DogumTarihi); 229 | komut.Parameters.AddWithValue("@sicilno", degisken.SicilNO); 230 | komut.Parameters.AddWithValue("@isebaslangictarihi", degisken.IsBaslangicTarihi); 231 | komut.Parameters.AddWithValue("@durumap", degisken.DurumAP); 232 | 233 | baglanti.Open(); 234 | if (komut.ExecuteNonQuery() != -1) 235 | { 236 | result = true; 237 | } 238 | baglanti.Close(); 239 | 240 | } 241 | catch (Exception hata) 242 | { 243 | MessageBox.Show("İşlem Sırasında Hata Oluştu. \n\n\n\n" + hata.Message); 244 | } 245 | 246 | return result; 247 | } 248 | } 249 | return result; 250 | } 251 | #endregion 252 | 253 | #region OperatorSilme 254 | public bool OperatorSilme(KullaniciDLL.Operator degisken) 255 | { 256 | bool result = false; 257 | using (var baglanti = MeshEkran.Veritabani.Database.GetConnection()) 258 | { 259 | baglanti.Open(); 260 | string secmeSorgusu = "SELECT * from Operator where SicilNo=@sicilno"; 261 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 262 | secmeKomutu.Parameters.AddWithValue("@sicilno", degisken.SicilNO); 263 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 264 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 265 | if (dr.Read()) 266 | { 267 | string id = dr["SicilNo"].ToString(); 268 | string adsoyad = dr["Ad"].ToString() + " " + dr["Soyad"].ToString(); 269 | 270 | dr.Close(); 271 | DialogResult durum = MessageBox.Show(id + " numaralı " + adsoyad + " kişisini veritabanından silmek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 272 | if (DialogResult.Yes == durum) 273 | { 274 | string silmeSorgusu = "DELETE from Operator where SicilNo=@sicilno"; 275 | SqlCommand silKomutu = new SqlCommand(silmeSorgusu, baglanti); 276 | silKomutu.Parameters.AddWithValue("@sicilno", degisken.SicilNO); 277 | if (silKomutu.ExecuteNonQuery() != -1) 278 | { 279 | result = true; 280 | } 281 | 282 | 283 | } 284 | 285 | baglanti.Close(); 286 | 287 | 288 | } 289 | else 290 | { 291 | MessageBox.Show("Böyle bir kişi bulunamadı."); 292 | } 293 | 294 | return result; 295 | } 296 | } 297 | #endregion 298 | 299 | #region OperatorGuncelleme 300 | public bool OperatorGuncelleme(KullaniciDLL.Operator degisken) 301 | { 302 | bool result = false; 303 | using (var baglanti = Veritabani.Database.GetConnection()) 304 | { 305 | baglanti.Open(); 306 | string secmeSorgusu = "SELECT * from Operator where OperatorID=@opid"; 307 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 308 | secmeKomutu.Parameters.AddWithValue("@opid", degisken.OperatorID); 309 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 310 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 311 | if (dr.Read()) 312 | { 313 | string id = dr["OperatorID"].ToString(); 314 | string adsoyad = dr["Ad"].ToString() + " " + dr["Soyad"].ToString(); 315 | 316 | dr.Close(); 317 | DialogResult durum = MessageBox.Show(id + " numaralı " + adsoyad + " kişisini güncellemek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 318 | if (DialogResult.Yes == durum) 319 | { 320 | 321 | string kayit = "UPDATE Operator SET Ad=@ad,Soyad=@soyad,DogumTarihi=@dogumtarihi,SicilNo=@sicilno,IseBaslangicTarihi=@isbaslangictar,IstenCikisTarihi=@iscikistar,DurumAP=@durumap where OperatorID=@OPID"; 322 | SqlCommand komut = new SqlCommand(kayit, baglanti); 323 | komut.Parameters.AddWithValue("@ad", degisken.Isim); 324 | komut.Parameters.AddWithValue("@soyad", degisken.Soyisim); 325 | komut.Parameters.AddWithValue("@dogumtarihi", degisken.DogumTarihi); 326 | komut.Parameters.AddWithValue("@sicilno", degisken.SicilNO); 327 | komut.Parameters.AddWithValue("@isbaslangictar", degisken.IsBaslangicTarihi); 328 | komut.Parameters.AddWithValue("@iscikistar", degisken.IsCikisTarihi); 329 | komut.Parameters.AddWithValue("@durumap", degisken.DurumAP); 330 | komut.Parameters.AddWithValue("@OPID", degisken.OperatorID); 331 | komut.ExecuteNonQuery(); 332 | 333 | MessageBox.Show("Operatör bilgileri başarıyla güncellendi."); 334 | 335 | } 336 | 337 | baglanti.Close(); 338 | 339 | 340 | } 341 | else 342 | { 343 | MessageBox.Show("Böyle bir operatör bulunamadı."); 344 | } 345 | 346 | return result; 347 | } 348 | } 349 | #endregion 350 | //Operator İşlemleri 351 | 352 | //Ürün İşlemleri 353 | #region UrunVarmiKontrolu 354 | private bool UrunVarsa(MasDLL.Rapor degisken) 355 | { 356 | 357 | 358 | bool result = false; 359 | using (var connection = MeshEkran.Veritabani.Database.GetConnection()) 360 | { 361 | var command = new SqlCommand("SELECT * FROM UrunTablosu WHERE UrunKodu='" + degisken.UrunKodu + "'") 362 | { 363 | Connection = connection 364 | }; 365 | connection.Open(); 366 | using (var reader = command.ExecuteReader()) 367 | { 368 | if (reader.Read()) 369 | { 370 | result = true; 371 | } 372 | } 373 | connection.Close(); 374 | } 375 | return result; 376 | 377 | } 378 | #endregion 379 | 380 | #region UrunEkleme 381 | public bool UrunEkleme(MasDLL.Rapor degisken) 382 | { 383 | 384 | bool result = false; 385 | if (!UrunVarsa(degisken)) 386 | { 387 | using (var baglanti = Veritabani.Database.GetConnection()) 388 | { 389 | try 390 | { 391 | 392 | 393 | string kayit = "insert into UrunTablosu(UrunAdi,UrunAciklama,UrunKodu,En,Boy) values (@urunad,@urunaciklama,@urunkodu,@en,@boy)"; 394 | SqlCommand komut = new SqlCommand(kayit, baglanti); 395 | komut.Parameters.AddWithValue("@urunad", degisken.UrunAdi); 396 | komut.Parameters.AddWithValue("@urunaciklama", degisken.UrunAciklama); 397 | komut.Parameters.AddWithValue("@urunkodu", degisken.UrunKodu); 398 | komut.Parameters.AddWithValue("@en", degisken.UrunEn); 399 | komut.Parameters.AddWithValue("@boy", degisken.UrunBoy); 400 | 401 | baglanti.Open(); 402 | if (komut.ExecuteNonQuery() != -1) 403 | { 404 | result = true; 405 | } 406 | baglanti.Close(); 407 | 408 | } 409 | catch (Exception hata) 410 | { 411 | MessageBox.Show("İşlem Sırasında Hata Oluştu. \n\n\n\n" + hata.Message); 412 | } 413 | 414 | return result; 415 | } 416 | } 417 | return result; 418 | } 419 | #endregion 420 | 421 | #region UrunSilme 422 | public bool UrunSilme(MasDLL.Rapor degisken) 423 | { 424 | bool result = false; 425 | using (var baglanti = MeshEkran.Veritabani.Database.GetConnection()) 426 | { 427 | baglanti.Open(); 428 | string secmeSorgusu = "SELECT * from UrunTablosu where UrunKodu=@urunkodu"; 429 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 430 | secmeKomutu.Parameters.AddWithValue("@urunkodu", degisken.UrunKodu); 431 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 432 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 433 | if (dr.Read()) 434 | { 435 | string id = dr["UrunID"].ToString(); 436 | string urunadkod = dr["UrunAdi"].ToString() + " " + dr["UrunKodu"].ToString(); 437 | 438 | dr.Close(); 439 | DialogResult durum = MessageBox.Show(id + " numaralı " + urunadkod + " ürününü veritabanından silmek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 440 | if (DialogResult.Yes == durum) 441 | { 442 | string silmeSorgusu = "DELETE from UrunTablosu where UrunKodu=@urunkodu"; 443 | SqlCommand silKomutu = new SqlCommand(silmeSorgusu, baglanti); 444 | silKomutu.Parameters.AddWithValue("@urunkodu", degisken.UrunKodu); 445 | if (silKomutu.ExecuteNonQuery() != -1) 446 | { 447 | result = true; 448 | } 449 | 450 | 451 | } 452 | 453 | baglanti.Close(); 454 | 455 | 456 | } 457 | else 458 | { 459 | MessageBox.Show("Böyle bir ürün bulunamadı. Silme işlemi tamamlanamadı."); 460 | } 461 | 462 | return result; 463 | } 464 | } 465 | #endregion 466 | 467 | #region UrunGuncelleme 468 | public bool UrunGuncelleme(MasDLL.Rapor degisken) 469 | { 470 | bool result = false; 471 | using (var baglanti = Veritabani.Database.GetConnection()) 472 | { 473 | baglanti.Open(); 474 | string secmeSorgusu = "SELECT * from UrunTablosu where UrunKodu=@urunkod"; 475 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 476 | secmeKomutu.Parameters.AddWithValue("@urunkod", degisken.UrunKodu); 477 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 478 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 479 | if (dr.Read()) 480 | { 481 | string id = dr["UrunID"].ToString(); 482 | string urunadkod = dr["UrunAdi"].ToString() + " " + dr["UrunKodu"].ToString(); 483 | 484 | dr.Close(); 485 | DialogResult durum = MessageBox.Show(id + " numaralı " + urunadkod + " ürününü güncellemek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 486 | if (DialogResult.Yes == durum) 487 | { 488 | 489 | string kayit = "UPDATE UrunTablosu SET UrunAdi=@urunad,UrunAciklama=@urunaciklama,En=@urunen,Boy=@urunboy where UrunKodu=@urunkod"; 490 | SqlCommand komut = new SqlCommand(kayit, baglanti); 491 | komut.Parameters.AddWithValue("@urunad", degisken.UrunAdi); 492 | komut.Parameters.AddWithValue("@urunaciklama", degisken.UrunAciklama); 493 | komut.Parameters.AddWithValue("@urunkod", degisken.UrunKodu); 494 | komut.Parameters.AddWithValue("@urunen", degisken.UrunEn); 495 | komut.Parameters.AddWithValue("@urunboy", degisken.UrunBoy); 496 | komut.ExecuteNonQuery(); 497 | 498 | MessageBox.Show("Ürün bilgileri başarıyla güncellendi."); 499 | 500 | } 501 | 502 | baglanti.Close(); 503 | 504 | 505 | } 506 | else 507 | { 508 | MessageBox.Show("Böyle bir ürün bulunamadı."); 509 | } 510 | 511 | return result; 512 | } 513 | } 514 | #endregion 515 | //Ürün İşlemleri 516 | 517 | //Operasyon İşlemleri 518 | #region OperasyonVarmiKontrolu 519 | private bool OperasyonVarsa(MasDLL.Rapor degisken) 520 | { 521 | bool result = false; 522 | using (var baglanti = Veritabani.Database.GetConnection()) 523 | { 524 | baglanti.Open(); 525 | string secmeSorgusu = "exec PRC_OperasyonSelect @opid"; 526 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 527 | secmeKomutu.Parameters.AddWithValue("@opid", degisken.OperasyonID); 528 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 529 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 530 | if (dr.Read()) 531 | { 532 | result = true; 533 | baglanti.Close(); 534 | } 535 | return result; 536 | 537 | } 538 | 539 | } 540 | #endregion 541 | 542 | #region OperasyonEkle 543 | public bool OperasyonEkleme(MasDLL.Rapor degisken) 544 | { 545 | 546 | bool result = false; 547 | if (!OperasyonVarsa(degisken)) 548 | { 549 | using (var baglanti = Veritabani.Database.GetConnection()) 550 | { 551 | try 552 | { 553 | 554 | 555 | string kayit = "insert into OperasyonlarTablosu(OperasyonAdi) values (@opad)"; 556 | SqlCommand komut = new SqlCommand(kayit, baglanti); 557 | komut.Parameters.AddWithValue("@opad", degisken.OperasyonAdi); 558 | 559 | 560 | baglanti.Open(); 561 | if (komut.ExecuteNonQuery() != -1) 562 | { 563 | result = true; 564 | } 565 | baglanti.Close(); 566 | 567 | } 568 | catch (Exception hata) 569 | { 570 | MessageBox.Show("İşlem Sırasında Hata Oluştu. \n\n\n\n" + hata.Message); 571 | } 572 | 573 | return result; 574 | } 575 | } 576 | return result; 577 | } 578 | #endregion 579 | 580 | #region OperasyonGuncelle 581 | public bool OperasyonGuncelleme(MasDLL.Rapor degisken) 582 | { 583 | bool result = false; 584 | using (var baglanti = Veritabani.Database.GetConnection()) 585 | { 586 | baglanti.Open(); 587 | string secmeSorgusu = "SELECT * from OperasyonlarTablosu where OperasyonID=@opid"; 588 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 589 | secmeKomutu.Parameters.AddWithValue("@opid", degisken.OperasyonID); 590 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 591 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 592 | if (dr.Read()) 593 | { 594 | string id = dr["OperasyonID"].ToString(); 595 | string urunadkod = dr["OperasyonAdi"].ToString(); 596 | 597 | dr.Close(); 598 | DialogResult durum = MessageBox.Show(id + " numaralı " + urunadkod + " operasyonu güncellemek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 599 | if (DialogResult.Yes == durum) 600 | { 601 | 602 | string kayit = "UPDATE OperasyonlarTablosu SET OperasyonAdi=@opad where OperasyonID=@opid"; 603 | SqlCommand komut = new SqlCommand(kayit, baglanti); 604 | komut.Parameters.AddWithValue("@opid", degisken.OperasyonID); 605 | komut.Parameters.AddWithValue("@opad", degisken.OperasyonAdi); 606 | 607 | komut.ExecuteNonQuery(); 608 | 609 | MessageBox.Show("Operasyon bilgileri başarıyla güncellendi."); 610 | 611 | } 612 | 613 | baglanti.Close(); 614 | 615 | 616 | } 617 | else 618 | { 619 | MessageBox.Show("Böyle bir operasyon bulunamadı."); 620 | } 621 | 622 | return result; 623 | } 624 | } 625 | #endregion 626 | 627 | #region OperasyonSil 628 | public bool OperasyonSilme(MasDLL.Rapor degisken) 629 | { 630 | bool result = false; 631 | using (var baglanti = Veritabani.Database.GetConnection()) 632 | { 633 | baglanti.Open(); 634 | string secmeSorgusu = "PRC_OperasyonSelect @opid"; 635 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 636 | secmeKomutu.Parameters.AddWithValue("@opid", degisken.OperasyonID); 637 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 638 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 639 | if (dr.Read()) 640 | { 641 | string id = dr["OperasyonID"].ToString(); 642 | string opad = dr["OperasyonAdi"].ToString(); 643 | 644 | dr.Close(); 645 | DialogResult durum = MessageBox.Show(id + " numaralı " + opad + " operasyonunu veritabanından silmek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 646 | if (DialogResult.Yes == durum) 647 | { 648 | string silmeSorgusu = "DELETE from OperasyonlarTablosu where OperasyonID=@opid"; 649 | SqlCommand silKomutu = new SqlCommand(silmeSorgusu, baglanti); 650 | silKomutu.Parameters.AddWithValue("@opid", degisken.OperasyonID); 651 | if (silKomutu.ExecuteNonQuery() != -1) 652 | { 653 | result = true; 654 | } 655 | 656 | 657 | } 658 | 659 | baglanti.Close(); 660 | 661 | 662 | } 663 | else 664 | { 665 | MessageBox.Show("Böyle bir operasyon bulunamadı. Silme işlemi tamamlanamadı."); 666 | } 667 | 668 | return result; 669 | } 670 | } 671 | #endregion 672 | //Operasyon İşlemleri 673 | 674 | //Duruş İşlemleri 675 | #region DuruşVarmıKontrolü 676 | private bool DurusVarsa(MasDLL.Rapor degisken) 677 | { 678 | 679 | bool result = false; 680 | using (var baglanti = Veritabani.Database.GetConnection()) 681 | { 682 | baglanti.Open(); 683 | string secmeSorgusu = "exec PRC_DurusInsertSelect @durusid"; 684 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 685 | secmeKomutu.Parameters.AddWithValue("@durusid", degisken.DurusID); 686 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 687 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 688 | if (dr.Read()) 689 | { 690 | result = true; 691 | baglanti.Close(); 692 | } 693 | return result; 694 | 695 | } 696 | 697 | } 698 | #endregion 699 | 700 | #region DuruşEkle 701 | public bool DurusEkle(MasDLL.Rapor degisken) 702 | { 703 | bool result = false; 704 | if (!DurusVarsa(degisken)) 705 | { 706 | using (var baglanti = Veritabani.Database.GetConnection()) 707 | { 708 | try 709 | { 710 | 711 | 712 | string kayit = "insert into DurusTablosu(DurusAd,DurusAciklama) values (@durusad,@durusaciklama)"; 713 | SqlCommand komut = new SqlCommand(kayit, baglanti); 714 | komut.Parameters.AddWithValue("@durusad", degisken.DurusAd); 715 | komut.Parameters.AddWithValue("@durusaciklama", degisken.DurusAciklama); 716 | 717 | 718 | baglanti.Open(); 719 | if (komut.ExecuteNonQuery() != -1) 720 | { 721 | result = true; 722 | } 723 | baglanti.Close(); 724 | 725 | } 726 | catch (Exception hata) 727 | { 728 | MessageBox.Show("İşlem Sırasında Hata Oluştu. \n\n\n\n" + hata.Message); 729 | } 730 | 731 | return result; 732 | } 733 | } 734 | return result; 735 | } 736 | #endregion 737 | 738 | #region DuruşGüncelle 739 | public bool DurusGuncelle(MasDLL.Rapor degisken) 740 | { 741 | bool result = false; 742 | using (var baglanti = Veritabani.Database.GetConnection()) 743 | { 744 | baglanti.Open(); 745 | string secmeSorgusu = "SELECT * from DurusTablosu where DurusID=@durusid"; 746 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 747 | secmeKomutu.Parameters.AddWithValue("@durusid", degisken.DurusID); 748 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 749 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 750 | if (dr.Read()) 751 | { 752 | string id = dr["DurusID"].ToString(); 753 | string urunadkod = dr["DurusAd"].ToString(); 754 | 755 | dr.Close(); 756 | DialogResult durum = MessageBox.Show(id + " numaralı " + urunadkod + " duruşunu güncellemek istediğinize emin misiniz?", "Güncelleme Onayı", MessageBoxButtons.YesNo); 757 | if (DialogResult.Yes == durum) 758 | { 759 | 760 | string kayit = "UPDATE DurusTablosu SET DurusAd=@durusad,DurusAciklama=@durusaciklama where DurusID=@durusid"; 761 | SqlCommand komut = new SqlCommand(kayit, baglanti); 762 | komut.Parameters.AddWithValue("@durusad", degisken.DurusAd); 763 | komut.Parameters.AddWithValue("@durusaciklama", degisken.DurusAciklama); 764 | komut.Parameters.AddWithValue("@durusid", degisken.DurusID); 765 | 766 | komut.ExecuteNonQuery(); 767 | 768 | MessageBox.Show("Duruş bilgileri başarıyla güncellendi."); 769 | 770 | } 771 | 772 | baglanti.Close(); 773 | 774 | 775 | } 776 | else 777 | { 778 | MessageBox.Show("Böyle bir duruş bulunamadı."); 779 | } 780 | 781 | return result; 782 | } 783 | } 784 | #endregion 785 | 786 | #region DuruşSil 787 | public bool DurusSil(MasDLL.Rapor degisken) 788 | { 789 | bool result = false; 790 | using (var baglanti = Veritabani.Database.GetConnection()) 791 | { 792 | baglanti.Open(); 793 | string secmeSorgusu = "exec PRC_DurusSelect @durusid"; 794 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 795 | secmeKomutu.Parameters.AddWithValue("@durusid", degisken.DurusID); 796 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 797 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 798 | if (dr.Read()) 799 | { 800 | string id = dr["DurusID"].ToString(); 801 | string opad = dr["DurusAd"].ToString(); 802 | 803 | dr.Close(); 804 | DialogResult durum = MessageBox.Show(id + " numaralı " + opad + " duruşunu veritabanından silmek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 805 | if (DialogResult.Yes == durum) 806 | { 807 | string silmeSorgusu = "DELETE from DurusTablosu where DurusID=@durusid"; 808 | SqlCommand silKomutu = new SqlCommand(silmeSorgusu, baglanti); 809 | silKomutu.Parameters.AddWithValue("@durusid", degisken.DurusID); 810 | if (silKomutu.ExecuteNonQuery() != -1) 811 | { 812 | result = true; 813 | } 814 | 815 | 816 | } 817 | 818 | baglanti.Close(); 819 | 820 | 821 | } 822 | else 823 | { 824 | MessageBox.Show("Böyle bir duruş bulunamadı. Silme işlemi tamamlanamadı."); 825 | } 826 | 827 | return result; 828 | } 829 | } 830 | #endregion 831 | //Duruş İşlemleri 832 | 833 | //Alıcı İşlemleri 834 | #region AlıcıVarmıKontrolü 835 | private bool AliciVarsa(MasDLL.Rapor degisken) 836 | { 837 | 838 | bool result = false; 839 | using (var baglanti = Veritabani.Database.GetConnection()) 840 | { 841 | baglanti.Open(); 842 | string secmeSorgusu = "exec PRC_AliciInsertSelect @aliciid"; 843 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 844 | secmeKomutu.Parameters.AddWithValue("@aliciid", degisken.AliciID); 845 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 846 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 847 | if (dr.Read()) 848 | { 849 | result = true; 850 | baglanti.Close(); 851 | } 852 | return result; 853 | 854 | } 855 | 856 | } 857 | #endregion 858 | 859 | #region AlıcıEkle 860 | public bool AliciEkle(MasDLL.Rapor degisken) 861 | { 862 | bool result = false; 863 | if (!AliciVarsa(degisken)) 864 | { 865 | using (var baglanti = Veritabani.Database.GetConnection()) 866 | { 867 | try 868 | { 869 | 870 | 871 | string kayit = "insert into AliciTablosu(AliciAD,AliciSirketNo) values (@aliciad,@alicisirketno)"; 872 | SqlCommand komut = new SqlCommand(kayit, baglanti); 873 | komut.Parameters.AddWithValue("@aliciad", degisken.AliciAD); 874 | komut.Parameters.AddWithValue("@alicisirketno", degisken.AliciSirketNo); 875 | 876 | 877 | baglanti.Open(); 878 | if (komut.ExecuteNonQuery() != -1) 879 | { 880 | result = true; 881 | } 882 | baglanti.Close(); 883 | 884 | } 885 | catch (Exception hata) 886 | { 887 | MessageBox.Show("İşlem Sırasında Hata Oluştu. \n\n\n\n" + hata.Message); 888 | } 889 | 890 | return result; 891 | } 892 | } 893 | return result; 894 | } 895 | #endregion 896 | 897 | #region AlıcıGüncelle 898 | public bool AliciGuncelle(MasDLL.Rapor degisken) 899 | { 900 | bool result = false; 901 | using (var baglanti = Veritabani.Database.GetConnection()) 902 | { 903 | baglanti.Open(); 904 | string secmeSorgusu = "SELECT * from AliciTablosu where AliciID=@aliciid"; 905 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 906 | secmeKomutu.Parameters.AddWithValue("@aliciid", degisken.AliciID); 907 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 908 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 909 | if (dr.Read()) 910 | { 911 | string id = dr["AliciID"].ToString(); 912 | string aliciad = dr["AliciAD"].ToString(); 913 | string alicisno = dr["AliciSirketNO"].ToString(); 914 | 915 | dr.Close(); 916 | DialogResult durum = MessageBox.Show(id + " numaralı " + aliciad + " isimli alıcıyı güncellemek istediğinize emin misiniz?", "Güncelleme Onayı", MessageBoxButtons.YesNo); 917 | if (DialogResult.Yes == durum) 918 | { 919 | 920 | string kayit = "UPDATE AliciTablosu SET AliciAD=@aliciad,AliciSirketNO=@alicisno where AliciID=@alicid"; 921 | SqlCommand komut = new SqlCommand(kayit, baglanti); 922 | komut.Parameters.AddWithValue("@aliciad", degisken.AliciAD); 923 | komut.Parameters.AddWithValue("@alicisno", degisken.AliciSirketNo); 924 | komut.Parameters.AddWithValue("@alicid", degisken.AliciID); 925 | 926 | komut.ExecuteNonQuery(); 927 | 928 | MessageBox.Show("Alıcının bilgileri başarıyla güncellendi."); 929 | 930 | } 931 | 932 | baglanti.Close(); 933 | 934 | 935 | } 936 | else 937 | { 938 | MessageBox.Show("Böyle bir alıcı bulunamadı."); 939 | } 940 | 941 | return result; 942 | } 943 | } 944 | #endregion 945 | 946 | #region AlıcıSil 947 | public bool AliciSil(MasDLL.Rapor degisken) 948 | { 949 | bool result = false; 950 | using (var baglanti = Veritabani.Database.GetConnection()) 951 | { 952 | baglanti.Open(); 953 | string secmeSorgusu = "exec PRC_AliciDelete @aliciid"; 954 | SqlCommand secmeKomutu = new SqlCommand(secmeSorgusu, baglanti); 955 | secmeKomutu.Parameters.AddWithValue("@aliciid", degisken.AliciID); 956 | SqlDataAdapter da = new SqlDataAdapter(secmeKomutu); 957 | SqlDataReader dr = secmeKomutu.ExecuteReader(); 958 | if (dr.Read()) 959 | { 960 | string id = dr["AliciID"].ToString(); 961 | string opad = dr["AliciAd"].ToString(); 962 | 963 | dr.Close(); 964 | DialogResult durum = MessageBox.Show(id + " numaralı " + opad + " isimli alıcıyı veritabanından silmek istediğinize emin misiniz?", "Silme Onayı", MessageBoxButtons.YesNo); 965 | if (DialogResult.Yes == durum) 966 | { 967 | string silmeSorgusu = "DELETE from AliciTablosu where AliciID=@aliciid"; 968 | SqlCommand silKomutu = new SqlCommand(silmeSorgusu, baglanti); 969 | silKomutu.Parameters.AddWithValue("@aliciid", degisken.AliciID); 970 | if (silKomutu.ExecuteNonQuery() != -1) 971 | { 972 | result = true; 973 | } 974 | 975 | 976 | } 977 | 978 | baglanti.Close(); 979 | 980 | 981 | } 982 | else 983 | { 984 | MessageBox.Show("Böyle bir alıcı bulunamadı. Silme işlemi tamamlanamadı."); 985 | } 986 | 987 | return result; 988 | } 989 | } 990 | #endregion 991 | 992 | //Alıcı İşlemleri 993 | } 994 | } 995 | -------------------------------------------------------------------------------- /MeshEkran/DataSetler/FirmaDBListDataSet.xsc: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /MeshEkran/DataSetler/FirmaDBListDataSet.xsd: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | INSERT INTO [dbo].[DBAdlari] ([dbName]) VALUES (@dbName) 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | SELECT dbName FROM dbo.DBAdlari 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /MeshEkran/DataSetler/FirmaDBListDataSet.xss: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /MeshEkran/DatabaseImg/DatabaseSQL.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/DatabaseImg/DatabaseSQL.PNG -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_Admin.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace MeshEkran 2 | { 3 | partial class Giris_Admin 4 | { 5 | /// 6 | ///Gerekli tasarımcı değişkeni. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | ///Kullanılan tüm kaynakları temizleyin. 12 | /// 13 | ///yönetilen kaynaklar dispose edilmeliyse doğru; aksi halde yanlış. 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 üretilen kod 24 | 25 | /// 26 | /// Tasarımcı desteği için gerekli metot - bu metodun 27 | ///içeriğini kod düzenleyici ile değiştirmeyin. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.GirisYapButon = new System.Windows.Forms.Button(); 32 | this.label2 = new System.Windows.Forms.Label(); 33 | this.label3 = new System.Windows.Forms.Label(); 34 | this.KullaniciAdBox = new System.Windows.Forms.TextBox(); 35 | this.SifreBox = new System.Windows.Forms.TextBox(); 36 | this.label4 = new System.Windows.Forms.Label(); 37 | this.GeriDonButon = new System.Windows.Forms.PictureBox(); 38 | this.KapatButon = new System.Windows.Forms.PictureBox(); 39 | this.pictureBox1 = new System.Windows.Forms.PictureBox(); 40 | ((System.ComponentModel.ISupportInitialize)(this.GeriDonButon)).BeginInit(); 41 | ((System.ComponentModel.ISupportInitialize)(this.KapatButon)).BeginInit(); 42 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); 43 | this.SuspendLayout(); 44 | // 45 | // GirisYapButon 46 | // 47 | this.GirisYapButon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 48 | this.GirisYapButon.Location = new System.Drawing.Point(218, 294); 49 | this.GirisYapButon.Name = "GirisYapButon"; 50 | this.GirisYapButon.Size = new System.Drawing.Size(189, 35); 51 | this.GirisYapButon.TabIndex = 1; 52 | this.GirisYapButon.Text = "Giriş Yap"; 53 | this.GirisYapButon.UseVisualStyleBackColor = true; 54 | this.GirisYapButon.Click += new System.EventHandler(this.GirisYapButon_Click); 55 | // 56 | // label2 57 | // 58 | this.label2.AutoSize = true; 59 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 60 | this.label2.Location = new System.Drawing.Point(115, 228); 61 | this.label2.Name = "label2"; 62 | this.label2.Size = new System.Drawing.Size(97, 20); 63 | this.label2.TabIndex = 2; 64 | this.label2.Text = "Kullanıcı Adı:"; 65 | // 66 | // label3 67 | // 68 | this.label3.AutoSize = true; 69 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 70 | this.label3.Location = new System.Drawing.Point(166, 262); 71 | this.label3.Name = "label3"; 72 | this.label3.Size = new System.Drawing.Size(46, 20); 73 | this.label3.TabIndex = 3; 74 | this.label3.Text = "Şifre:"; 75 | // 76 | // KullaniciAdBox 77 | // 78 | this.KullaniciAdBox.BackColor = System.Drawing.Color.White; 79 | this.KullaniciAdBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 80 | this.KullaniciAdBox.Location = new System.Drawing.Point(218, 225); 81 | this.KullaniciAdBox.MaxLength = 100; 82 | this.KullaniciAdBox.Multiline = true; 83 | this.KullaniciAdBox.Name = "KullaniciAdBox"; 84 | this.KullaniciAdBox.Size = new System.Drawing.Size(189, 28); 85 | this.KullaniciAdBox.TabIndex = 5; 86 | // 87 | // SifreBox 88 | // 89 | this.SifreBox.BackColor = System.Drawing.Color.White; 90 | this.SifreBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 91 | this.SifreBox.Location = new System.Drawing.Point(218, 259); 92 | this.SifreBox.MaxLength = 100; 93 | this.SifreBox.Multiline = true; 94 | this.SifreBox.Name = "SifreBox"; 95 | this.SifreBox.PasswordChar = '*'; 96 | this.SifreBox.Size = new System.Drawing.Size(189, 29); 97 | this.SifreBox.TabIndex = 6; 98 | // 99 | // label4 100 | // 101 | this.label4.AutoSize = true; 102 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 103 | this.label4.Location = new System.Drawing.Point(211, 196); 104 | this.label4.Name = "label4"; 105 | this.label4.Size = new System.Drawing.Size(207, 18); 106 | this.label4.TabIndex = 8; 107 | this.label4.Text = "MAS Admin Panel Giriş Ekranı"; 108 | // 109 | // GeriDonButon 110 | // 111 | this.GeriDonButon.BackColor = System.Drawing.Color.Transparent; 112 | this.GeriDonButon.Image = global::MeshEkran.Properties.Resources.Left_Arrow__512; 113 | this.GeriDonButon.Location = new System.Drawing.Point(451, 452); 114 | this.GeriDonButon.Name = "GeriDonButon"; 115 | this.GeriDonButon.Size = new System.Drawing.Size(78, 72); 116 | this.GeriDonButon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 117 | this.GeriDonButon.TabIndex = 10; 118 | this.GeriDonButon.TabStop = false; 119 | this.GeriDonButon.Click += new System.EventHandler(this.GeriDonButon_Click); 120 | // 121 | // KapatButon 122 | // 123 | this.KapatButon.BackColor = System.Drawing.Color.Transparent; 124 | this.KapatButon.Image = global::MeshEkran.Properties.Resources.quittt; 125 | this.KapatButon.Location = new System.Drawing.Point(535, 452); 126 | this.KapatButon.Name = "KapatButon"; 127 | this.KapatButon.Size = new System.Drawing.Size(77, 72); 128 | this.KapatButon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 129 | this.KapatButon.TabIndex = 9; 130 | this.KapatButon.TabStop = false; 131 | this.KapatButon.Click += new System.EventHandler(this.KapatButon_Click); 132 | // 133 | // pictureBox1 134 | // 135 | this.pictureBox1.Image = global::MeshEkran.Properties.Resources.adminicon; 136 | this.pictureBox1.Location = new System.Drawing.Point(169, 12); 137 | this.pictureBox1.Name = "pictureBox1"; 138 | this.pictureBox1.Size = new System.Drawing.Size(273, 164); 139 | this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 140 | this.pictureBox1.TabIndex = 11; 141 | this.pictureBox1.TabStop = false; 142 | // 143 | // Giris_Admin 144 | // 145 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 146 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 147 | this.BackColor = System.Drawing.Color.White; 148 | this.ClientSize = new System.Drawing.Size(624, 531); 149 | this.Controls.Add(this.pictureBox1); 150 | this.Controls.Add(this.GeriDonButon); 151 | this.Controls.Add(this.KapatButon); 152 | this.Controls.Add(this.label4); 153 | this.Controls.Add(this.SifreBox); 154 | this.Controls.Add(this.KullaniciAdBox); 155 | this.Controls.Add(this.label3); 156 | this.Controls.Add(this.label2); 157 | this.Controls.Add(this.GirisYapButon); 158 | this.Name = "Giris_Admin"; 159 | this.Text = "MAS Admin Paneli"; 160 | this.Load += new System.EventHandler(this.Giris_Admin_Load); 161 | ((System.ComponentModel.ISupportInitialize)(this.GeriDonButon)).EndInit(); 162 | ((System.ComponentModel.ISupportInitialize)(this.KapatButon)).EndInit(); 163 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); 164 | this.ResumeLayout(false); 165 | this.PerformLayout(); 166 | 167 | } 168 | 169 | #endregion 170 | private System.Windows.Forms.Button GirisYapButon; 171 | private System.Windows.Forms.Label label2; 172 | private System.Windows.Forms.Label label3; 173 | private System.Windows.Forms.TextBox KullaniciAdBox; 174 | private System.Windows.Forms.TextBox SifreBox; 175 | private System.Windows.Forms.Label label4; 176 | private System.Windows.Forms.PictureBox KapatButon; 177 | private System.Windows.Forms.PictureBox GeriDonButon; 178 | private System.Windows.Forms.PictureBox pictureBox1; 179 | } 180 | } 181 | 182 | -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_Admin.cs: -------------------------------------------------------------------------------- 1 | using MeshEkran.Classlar; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.ComponentModel; 5 | using System.Data; 6 | using System.Drawing; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | using System.Windows.Forms; 11 | 12 | namespace MeshEkran 13 | { 14 | public partial class Giris_Admin : Form 15 | { 16 | public Giris_Admin() 17 | { 18 | InitializeComponent(); 19 | } 20 | 21 | private void KapatButon_Click(object sender, EventArgs e) 22 | { 23 | Application.Exit(); 24 | } 25 | 26 | private void GeriDonButon_Click(object sender, EventArgs e) 27 | { 28 | Giris_SecimEkran ac = new Giris_SecimEkran(); 29 | ac.Show(); 30 | this.Hide(); 31 | } 32 | 33 | public KullaniciDLL.Admin adminkullanicisi; 34 | public AdminGiris islem; 35 | 36 | #region GirişYap-Buton-Click-Event 37 | private void GirisYapButon_Click(object sender, EventArgs e) 38 | { 39 | 40 | 41 | try 42 | { 43 | if (KullaniciAdBox.Text == "" && SifreBox.Text == "") 44 | { 45 | MessageBox.Show("Lütfen boş kısım bırakmayınız."); 46 | } 47 | else 48 | { 49 | islem = new MeshEkran.Classlar.AdminGiris(); 50 | adminkullanicisi = islem.AdminKontrol(KullaniciAdBox.Text, SifreBox.Text); 51 | if (adminkullanicisi != null) 52 | { 53 | Admin_AnaMenu a = new Admin_AnaMenu(); 54 | MessageBox.Show("Başarıyla giriş yaptınız."); 55 | a.StartPosition = FormStartPosition.CenterScreen; 56 | a.Show(); 57 | this.Hide(); 58 | Dispose(); 59 | } 60 | else 61 | { 62 | MessageBox.Show("Kullanıcı adı veya şifre yanlıştır. Lütfen tekrar deneyiniz."); 63 | } 64 | } 65 | 66 | } 67 | catch (Exception hata) 68 | { 69 | MessageBox.Show("Bir hata oluştu. \n"); 70 | MessageBox.Show(hata.Message); 71 | } 72 | 73 | 74 | } 75 | #endregion 76 | 77 | private void Giris_Admin_Load(object sender, EventArgs e) 78 | { 79 | 80 | } 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_Admin.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 | -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_Operator.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace MeshEkran 2 | { 3 | partial class Giris_Operator 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.label4 = new System.Windows.Forms.Label(); 32 | this.SifreBox = new System.Windows.Forms.TextBox(); 33 | this.KullaniciAdBox = new System.Windows.Forms.TextBox(); 34 | this.label3 = new System.Windows.Forms.Label(); 35 | this.label2 = new System.Windows.Forms.Label(); 36 | this.GirisYapButon = new System.Windows.Forms.Button(); 37 | this.GeriDonButon = new System.Windows.Forms.PictureBox(); 38 | this.KapatButon = new System.Windows.Forms.PictureBox(); 39 | ((System.ComponentModel.ISupportInitialize)(this.GeriDonButon)).BeginInit(); 40 | ((System.ComponentModel.ISupportInitialize)(this.KapatButon)).BeginInit(); 41 | this.SuspendLayout(); 42 | // 43 | // label4 44 | // 45 | this.label4.AutoSize = true; 46 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 47 | this.label4.Location = new System.Drawing.Point(92, 5); 48 | this.label4.Name = "label4"; 49 | this.label4.Size = new System.Drawing.Size(225, 18); 50 | this.label4.TabIndex = 16; 51 | this.label4.Text = "MAS Operatör Panel Giriş Ekranı"; 52 | // 53 | // SifreBox 54 | // 55 | this.SifreBox.BackColor = System.Drawing.Color.White; 56 | this.SifreBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 57 | this.SifreBox.Location = new System.Drawing.Point(110, 70); 58 | this.SifreBox.Multiline = true; 59 | this.SifreBox.Name = "SifreBox"; 60 | this.SifreBox.Size = new System.Drawing.Size(178, 29); 61 | this.SifreBox.TabIndex = 15; 62 | // 63 | // KullaniciAdBox 64 | // 65 | this.KullaniciAdBox.BackColor = System.Drawing.Color.White; 66 | this.KullaniciAdBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 67 | this.KullaniciAdBox.Location = new System.Drawing.Point(110, 36); 68 | this.KullaniciAdBox.Multiline = true; 69 | this.KullaniciAdBox.Name = "KullaniciAdBox"; 70 | this.KullaniciAdBox.Size = new System.Drawing.Size(178, 28); 71 | this.KullaniciAdBox.TabIndex = 14; 72 | // 73 | // label3 74 | // 75 | this.label3.AutoSize = true; 76 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 77 | this.label3.Location = new System.Drawing.Point(58, 73); 78 | this.label3.Name = "label3"; 79 | this.label3.Size = new System.Drawing.Size(46, 20); 80 | this.label3.TabIndex = 13; 81 | this.label3.Text = "Şifre:"; 82 | // 83 | // label2 84 | // 85 | this.label2.AutoSize = true; 86 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 87 | this.label2.Location = new System.Drawing.Point(7, 39); 88 | this.label2.Name = "label2"; 89 | this.label2.Size = new System.Drawing.Size(97, 20); 90 | this.label2.TabIndex = 12; 91 | this.label2.Text = "Kullanıcı Adı:"; 92 | // 93 | // GirisYapButon 94 | // 95 | this.GirisYapButon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 96 | this.GirisYapButon.Location = new System.Drawing.Point(111, 105); 97 | this.GirisYapButon.Name = "GirisYapButon"; 98 | this.GirisYapButon.Size = new System.Drawing.Size(177, 35); 99 | this.GirisYapButon.TabIndex = 11; 100 | this.GirisYapButon.Text = "Giriş Yap"; 101 | this.GirisYapButon.UseVisualStyleBackColor = true; 102 | this.GirisYapButon.Click += new System.EventHandler(this.GirisYapButon_Click); 103 | // 104 | // GeriDonButon 105 | // 106 | this.GeriDonButon.BackColor = System.Drawing.Color.Transparent; 107 | this.GeriDonButon.Image = global::MeshEkran.Properties.Resources.BackIcon; 108 | this.GeriDonButon.Location = new System.Drawing.Point(205, 208); 109 | this.GeriDonButon.Name = "GeriDonButon"; 110 | this.GeriDonButon.Size = new System.Drawing.Size(77, 81); 111 | this.GeriDonButon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 112 | this.GeriDonButon.TabIndex = 18; 113 | this.GeriDonButon.TabStop = false; 114 | this.GeriDonButon.Click += new System.EventHandler(this.GeriDonButon_Click); 115 | // 116 | // KapatButon 117 | // 118 | this.KapatButon.BackColor = System.Drawing.Color.Transparent; 119 | this.KapatButon.Image = global::MeshEkran.Properties.Resources.QuitIcon; 120 | this.KapatButon.Location = new System.Drawing.Point(288, 208); 121 | this.KapatButon.Name = "KapatButon"; 122 | this.KapatButon.Size = new System.Drawing.Size(77, 81); 123 | this.KapatButon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 124 | this.KapatButon.TabIndex = 17; 125 | this.KapatButon.TabStop = false; 126 | this.KapatButon.Click += new System.EventHandler(this.KapatButon_Click); 127 | // 128 | // Giris_Operator 129 | // 130 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 131 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 132 | this.ClientSize = new System.Drawing.Size(378, 298); 133 | this.Controls.Add(this.GeriDonButon); 134 | this.Controls.Add(this.KapatButon); 135 | this.Controls.Add(this.label4); 136 | this.Controls.Add(this.SifreBox); 137 | this.Controls.Add(this.KullaniciAdBox); 138 | this.Controls.Add(this.label3); 139 | this.Controls.Add(this.label2); 140 | this.Controls.Add(this.GirisYapButon); 141 | this.Name = "Giris_Operator"; 142 | this.Text = "Giris_Operator"; 143 | ((System.ComponentModel.ISupportInitialize)(this.GeriDonButon)).EndInit(); 144 | ((System.ComponentModel.ISupportInitialize)(this.KapatButon)).EndInit(); 145 | this.ResumeLayout(false); 146 | this.PerformLayout(); 147 | 148 | } 149 | 150 | #endregion 151 | 152 | private System.Windows.Forms.PictureBox GeriDonButon; 153 | private System.Windows.Forms.PictureBox KapatButon; 154 | private System.Windows.Forms.Label label4; 155 | private System.Windows.Forms.TextBox SifreBox; 156 | private System.Windows.Forms.TextBox KullaniciAdBox; 157 | private System.Windows.Forms.Label label3; 158 | private System.Windows.Forms.Label label2; 159 | private System.Windows.Forms.Button GirisYapButon; 160 | } 161 | } -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_Operator.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 MeshEkran 12 | { 13 | public partial class Giris_Operator : Form 14 | { 15 | public Giris_Operator() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void KapatButon_Click(object sender, EventArgs e) 21 | { 22 | Application.Exit(); 23 | } 24 | 25 | private void GeriDonButon_Click(object sender, EventArgs e) 26 | { 27 | Giris_SecimEkran ac = new Giris_SecimEkran(); 28 | ac.Show(); 29 | this.Hide(); 30 | } 31 | 32 | private void GirisYapButon_Click(object sender, EventArgs e) 33 | { 34 | if (KullaniciAdBox.Text == "" && SifreBox.Text == "") 35 | { 36 | MessageBox.Show("Lütfen boş kısım bırakmayınız."); 37 | } 38 | else 39 | { 40 | 41 | //Diğer İşlemler 42 | 43 | 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_Operator.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 | -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_SecimEkran.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace MeshEkran 2 | { 3 | partial class Giris_SecimEkran 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.components = new System.ComponentModel.Container(); 32 | this.label1 = new System.Windows.Forms.Label(); 33 | this.OperatorButon = new System.Windows.Forms.Button(); 34 | this.AdminButon = new System.Windows.Forms.Button(); 35 | this.label2 = new System.Windows.Forms.Label(); 36 | this.pictureBox3 = new System.Windows.Forms.PictureBox(); 37 | this.pictureBox2 = new System.Windows.Forms.PictureBox(); 38 | this.pictureBox1 = new System.Windows.Forms.PictureBox(); 39 | this.label3 = new System.Windows.Forms.Label(); 40 | this.comboBox1 = new System.Windows.Forms.ComboBox(); 41 | this.dBAdlariBindingSource = new System.Windows.Forms.BindingSource(this.components); 42 | this.firmaDBListDataSet = new MeshEkran.DataSetler.FirmaDBListDataSet(); 43 | this.dBAdlariTableAdapter = new MeshEkran.DataSetler.FirmaDBListDataSetTableAdapters.DBAdlariTableAdapter(); 44 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); 45 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); 46 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); 47 | ((System.ComponentModel.ISupportInitialize)(this.dBAdlariBindingSource)).BeginInit(); 48 | ((System.ComponentModel.ISupportInitialize)(this.firmaDBListDataSet)).BeginInit(); 49 | this.SuspendLayout(); 50 | // 51 | // label1 52 | // 53 | this.label1.AutoSize = true; 54 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 55 | this.label1.Location = new System.Drawing.Point(94, 30); 56 | this.label1.Name = "label1"; 57 | this.label1.Size = new System.Drawing.Size(206, 20); 58 | this.label1.TabIndex = 0; 59 | this.label1.Text = "Lütfen giriş türünüzü seçiniz"; 60 | // 61 | // OperatorButon 62 | // 63 | this.OperatorButon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 64 | this.OperatorButon.Location = new System.Drawing.Point(40, 204); 65 | this.OperatorButon.Name = "OperatorButon"; 66 | this.OperatorButon.Size = new System.Drawing.Size(146, 36); 67 | this.OperatorButon.TabIndex = 3; 68 | this.OperatorButon.Text = "Operator Giriş"; 69 | this.OperatorButon.UseVisualStyleBackColor = true; 70 | this.OperatorButon.Click += new System.EventHandler(this.OperatorButon_Click); 71 | // 72 | // AdminButon 73 | // 74 | this.AdminButon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 75 | this.AdminButon.Location = new System.Drawing.Point(208, 204); 76 | this.AdminButon.Name = "AdminButon"; 77 | this.AdminButon.Size = new System.Drawing.Size(146, 36); 78 | this.AdminButon.TabIndex = 4; 79 | this.AdminButon.Text = "Admin Giriş"; 80 | this.AdminButon.UseVisualStyleBackColor = true; 81 | this.AdminButon.Click += new System.EventHandler(this.AdminButon_Click); 82 | // 83 | // label2 84 | // 85 | this.label2.AutoSize = true; 86 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 87 | this.label2.Location = new System.Drawing.Point(111, 441); 88 | this.label2.Name = "label2"; 89 | this.label2.Size = new System.Drawing.Size(243, 24); 90 | this.label2.TabIndex = 5; 91 | this.label2.Text = "Veritabanı Bağlantı Durumu:"; 92 | // 93 | // pictureBox3 94 | // 95 | this.pictureBox3.BackColor = System.Drawing.Color.Transparent; 96 | this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; 97 | this.pictureBox3.Image = global::MeshEkran.Properties.Resources.RedIcon; 98 | this.pictureBox3.Location = new System.Drawing.Point(360, 441); 99 | this.pictureBox3.Name = "pictureBox3"; 100 | this.pictureBox3.Size = new System.Drawing.Size(33, 29); 101 | this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 102 | this.pictureBox3.TabIndex = 7; 103 | this.pictureBox3.TabStop = false; 104 | // 105 | // pictureBox2 106 | // 107 | this.pictureBox2.BackColor = System.Drawing.Color.Transparent; 108 | this.pictureBox2.Image = global::MeshEkran.Properties.Resources.adminicon; 109 | this.pictureBox2.Location = new System.Drawing.Point(208, 65); 110 | this.pictureBox2.Name = "pictureBox2"; 111 | this.pictureBox2.Size = new System.Drawing.Size(146, 133); 112 | this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 113 | this.pictureBox2.TabIndex = 2; 114 | this.pictureBox2.TabStop = false; 115 | // 116 | // pictureBox1 117 | // 118 | this.pictureBox1.BackColor = System.Drawing.Color.Transparent; 119 | this.pictureBox1.Image = global::MeshEkran.Properties.Resources.factoryicon; 120 | this.pictureBox1.Location = new System.Drawing.Point(40, 65); 121 | this.pictureBox1.Name = "pictureBox1"; 122 | this.pictureBox1.Size = new System.Drawing.Size(146, 133); 123 | this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 124 | this.pictureBox1.TabIndex = 1; 125 | this.pictureBox1.TabStop = false; 126 | // 127 | // label3 128 | // 129 | this.label3.AutoSize = true; 130 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Italic); 131 | this.label3.Location = new System.Drawing.Point(94, 260); 132 | this.label3.Name = "label3"; 133 | this.label3.Size = new System.Drawing.Size(191, 20); 134 | this.label3.TabIndex = 8; 135 | this.label3.Text = "Lütfen veritabanını seçiniz"; 136 | // 137 | // comboBox1 138 | // 139 | this.comboBox1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.dBAdlariBindingSource, "dbName", true)); 140 | this.comboBox1.DataSource = this.dBAdlariBindingSource; 141 | this.comboBox1.DisplayMember = "dbName"; 142 | this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 143 | this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); 144 | this.comboBox1.FormattingEnabled = true; 145 | this.comboBox1.Location = new System.Drawing.Point(71, 294); 146 | this.comboBox1.Name = "comboBox1"; 147 | this.comboBox1.Size = new System.Drawing.Size(258, 26); 148 | this.comboBox1.TabIndex = 9; 149 | this.comboBox1.ValueMember = "dbName"; 150 | this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1_SelectedIndexChanged); 151 | // 152 | // dBAdlariBindingSource 153 | // 154 | this.dBAdlariBindingSource.DataMember = "DBAdlari"; 155 | this.dBAdlariBindingSource.DataSource = this.firmaDBListDataSet; 156 | // 157 | // firmaDBListDataSet 158 | // 159 | this.firmaDBListDataSet.DataSetName = "FirmaDBListDataSet"; 160 | this.firmaDBListDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; 161 | // 162 | // dBAdlariTableAdapter 163 | // 164 | this.dBAdlariTableAdapter.ClearBeforeFill = true; 165 | // 166 | // Giris_SecimEkran 167 | // 168 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 169 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 170 | this.ClientSize = new System.Drawing.Size(405, 479); 171 | this.Controls.Add(this.comboBox1); 172 | this.Controls.Add(this.label3); 173 | this.Controls.Add(this.pictureBox3); 174 | this.Controls.Add(this.label2); 175 | this.Controls.Add(this.AdminButon); 176 | this.Controls.Add(this.OperatorButon); 177 | this.Controls.Add(this.pictureBox2); 178 | this.Controls.Add(this.pictureBox1); 179 | this.Controls.Add(this.label1); 180 | this.Name = "Giris_SecimEkran"; 181 | this.Text = "MES Sistemi Giriş Seçim Paneli"; 182 | this.Load += new System.EventHandler(this.Giris_SecimEkran_Load); 183 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); 184 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); 185 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); 186 | ((System.ComponentModel.ISupportInitialize)(this.dBAdlariBindingSource)).EndInit(); 187 | ((System.ComponentModel.ISupportInitialize)(this.firmaDBListDataSet)).EndInit(); 188 | this.ResumeLayout(false); 189 | this.PerformLayout(); 190 | 191 | } 192 | 193 | #endregion 194 | 195 | private System.Windows.Forms.Label label1; 196 | private System.Windows.Forms.PictureBox pictureBox1; 197 | private System.Windows.Forms.PictureBox pictureBox2; 198 | private System.Windows.Forms.Button OperatorButon; 199 | private System.Windows.Forms.Button AdminButon; 200 | private System.Windows.Forms.Label label2; 201 | private System.Windows.Forms.PictureBox pictureBox3; 202 | private System.Windows.Forms.Label label3; 203 | private System.Windows.Forms.ComboBox comboBox1; 204 | private MeshEkran.DataSetler.FirmaDBListDataSet firmaDBListDataSet; 205 | private System.Windows.Forms.BindingSource dBAdlariBindingSource; 206 | private MeshEkran.DataSetler.FirmaDBListDataSetTableAdapters.DBAdlariTableAdapter dBAdlariTableAdapter; 207 | } 208 | } -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_SecimEkran.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 System.Data.SqlClient; //sql 11 | using MeshEkran.Classlar; 12 | 13 | namespace MeshEkran 14 | { 15 | public partial class Giris_SecimEkran : Form 16 | { 17 | public Giris_SecimEkran() 18 | { 19 | InitializeComponent(); 20 | } 21 | 22 | #region Değişkenler 23 | public static bool Kontrol; 24 | public static string DBAdiGlobal; 25 | public string ServerName = "BATUR" + "\\" + "BATUR"; 26 | #endregion 27 | 28 | #region Giris_SecimEkran Load Eventi 29 | private void Giris_SecimEkran_Load(object sender, EventArgs e) 30 | { 31 | 32 | AdminButon.Enabled = false; 33 | OperatorButon.Enabled = false; 34 | 35 | string DBSecimAd = "FirmaDBList"; 36 | 37 | 38 | SqlConnection baglanti = new SqlConnection("Data Source=" + ServerName + ";Initial Catalog=" + DBSecimAd + ";Integrated Security=TRUE"); 39 | SqlCommand komut = new SqlCommand("SELECT dbID, dbName FROM DBAdlari", baglanti); 40 | SqlDataAdapter da; 41 | DataTable dt; 42 | DataRow row; 43 | baglanti.Open(); 44 | da = new SqlDataAdapter(komut); 45 | dt = new DataTable(); 46 | da.Fill(dt); 47 | 48 | row = dt.NewRow(); 49 | row["dbID"] = 0; 50 | row["dbName"] = "Lütfen veritabanını seçiniz."; 51 | dt.Rows.InsertAt(row, 0); 52 | 53 | 54 | comboBox1.DataSource = dt; 55 | comboBox1.ValueMember = "dbID"; 56 | comboBox1.DisplayMember = "dbName"; 57 | baglanti.Close(); 58 | 59 | 60 | } 61 | #endregion 62 | 63 | #region VeritabaniComboboxSeçimEventi 64 | private void ComboBox1_SelectedIndexChanged(object sender, EventArgs e) 65 | { 66 | 67 | string DBSecimAd; 68 | DBSecimAd = comboBox1.Text; 69 | 70 | if(DBSecimAd == "" || comboBox1.SelectedIndex == 0) 71 | { 72 | pictureBox3.Image = Properties.Resources.RedIcon; 73 | AdminButon.Enabled = false; 74 | OperatorButon.Enabled = false; 75 | Kontrol = false; 76 | } 77 | else 78 | { 79 | string connetionString; 80 | SqlConnection cnn; 81 | connetionString = "Data Source=" + ServerName + ";Initial Catalog=" + DBSecimAd + ";Integrated Security=TRUE"; 82 | cnn = new SqlConnection(connetionString); 83 | try 84 | { 85 | cnn.Open(); 86 | 87 | MessageBox.Show("Veritabanı bağlantısı kuruldu. Veritabanınız: " + DBSecimAd); 88 | pictureBox3.Image = Properties.Resources.greenicon; 89 | 90 | DBAdiGlobal = DBSecimAd; 91 | AdminButon.Enabled = true; 92 | OperatorButon.Enabled = true; 93 | Kontrol = true; 94 | 95 | cnn.Close(); 96 | 97 | } 98 | catch (Exception ex) 99 | { 100 | 101 | MessageBox.Show("Veritabanı bağlantısı kurulamadı. Seçmeye çalıştığınız veritabanı: " + DBSecimAd); 102 | MessageBox.Show(ex.Message); 103 | pictureBox3.Image = Properties.Resources.RedIcon; 104 | 105 | this.dBAdlariTableAdapter.Fill(this.firmaDBListDataSet.DBAdlari); 106 | 107 | AdminButon.Enabled = false; 108 | OperatorButon.Enabled = false; 109 | Kontrol = false; 110 | comboBox1.SelectedIndex = 0; 111 | 112 | } 113 | } 114 | 115 | } 116 | #endregion 117 | 118 | #region OperatorGirisEkrani Buton Eventi 119 | private void OperatorButon_Click(object sender, EventArgs e) 120 | { 121 | 122 | if(Kontrol == true) 123 | { 124 | MessageBox.Show("Operatör Ekranına yönlendiriliyorsunuz..."); 125 | //Admin_AnaMenu ac = new Admin_AnaMenu(); 126 | Giris_Operator ac = new Giris_Operator 127 | { 128 | StartPosition = FormStartPosition.CenterScreen 129 | }; 130 | ac.Show(); 131 | this.Hide(); 132 | } 133 | else 134 | { 135 | MessageBox.Show("Veritabanı bağlantınız düzgün sağlanamadı. Lütfen tekrar deneyiniz."); 136 | } 137 | } 138 | #endregion 139 | 140 | #region AdminGirişEkranı Buton Eventi 141 | private void AdminButon_Click(object sender, EventArgs e) 142 | { 143 | if (Kontrol == true) 144 | { 145 | MessageBox.Show("Admin Ekranına yönlendiriliyorsunuz..."); 146 | 147 | //Admin_AnaMenu ac = new Admin_AnaMenu(); 148 | Giris_Admin ac = new Giris_Admin 149 | { 150 | StartPosition = FormStartPosition.CenterScreen 151 | }; 152 | ac.Show(); 153 | this.Hide(); 154 | } 155 | else 156 | { 157 | MessageBox.Show("Veritabanı bağlantınız düzgün sağlanamadı. Lütfen tekrar deneyiniz."); 158 | } 159 | } 160 | #endregion 161 | } 162 | } 163 | -------------------------------------------------------------------------------- /MeshEkran/GirisEkranlari/Giris_SecimEkran.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 | 173, 17 122 | 123 | 124 | 17, 17 125 | 126 | 127 | 350, 17 128 | 129 | -------------------------------------------------------------------------------- /MeshEkran/Islemler/OperatorEkleme.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace MeshEkran 2 | { 3 | partial class OperatorEkleme 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.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "OperatorEkleme"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /MeshEkran/Islemler/OperatorEkleme.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 MeshEkran 12 | { 13 | public partial class OperatorEkleme : Form 14 | { 15 | public OperatorEkleme() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /MeshEkran/MeshEkran.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35} 8 | WinExe 9 | MeshEkran 10 | MeshEkran 11 | v4.7.2 12 | 512 13 | true 14 | true 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | 37 | False 38 | ..\..\MasDLL.dll 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | Form 56 | 57 | 58 | Admin_AnaMenu.cs 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | True 67 | True 68 | FirmaDBListDataSet.xsd 69 | 70 | 71 | Form 72 | 73 | 74 | Giris_Admin.cs 75 | 76 | 77 | Form 78 | 79 | 80 | Giris_Operator.cs 81 | 82 | 83 | Form 84 | 85 | 86 | Giris_SecimEkran.cs 87 | 88 | 89 | Form 90 | 91 | 92 | OperatorEkleme.cs 93 | 94 | 95 | 96 | 97 | 98 | Admin_AnaMenu.cs 99 | 100 | 101 | Giris_Admin.cs 102 | 103 | 104 | Giris_Operator.cs 105 | 106 | 107 | Giris_SecimEkran.cs 108 | 109 | 110 | ResXFileCodeGenerator 111 | Resources.Designer.cs 112 | Designer 113 | 114 | 115 | True 116 | Resources.resx 117 | True 118 | 119 | 120 | FirmaDBListDataSet.xsd 121 | 122 | 123 | MSDataSetGenerator 124 | FirmaDBListDataSet.Designer.cs 125 | Designer 126 | 127 | 128 | FirmaDBListDataSet.xsd 129 | 130 | 131 | SettingsSingleFileGenerator 132 | Settings.Designer.cs 133 | 134 | 135 | True 136 | Settings.settings 137 | True 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | -------------------------------------------------------------------------------- /MeshEkran/MeshEkran.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29102.190 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MeshEkran", "MeshEkran\MeshEkran.csproj", "{3D110EBB-3F04-4F16-83C2-DF5A2458CB35}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {3D110EBB-3F04-4F16-83C2-DF5A2458CB35}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {D3AC74F1-2193-49E9-9402-3B371C3850B2} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /MeshEkran/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 MeshEkran 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// Uygulamanın ana girdi noktası. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new Giris_SecimEkran()); 20 | 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /MeshEkran/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // Bir bütünleştirilmiş koda ilişkin Genel Bilgiler aşağıdaki öznitelikler kümesiyle 6 | // denetlenir. Bütünleştirilmiş kod ile ilişkili bilgileri değiştirmek için 7 | // bu öznitelik değerlerini değiştirin. 8 | [assembly: AssemblyTitle("MeshEkran")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("MeshEkran")] 13 | [assembly: AssemblyCopyright("Copyright © 2019")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible özniteliğinin false olarak ayarlanması bu bütünleştirilmiş koddaki türleri 18 | // COM bileşenleri için görünmez yapar. Bu bütünleştirilmiş koddaki bir türe 19 | // erişmeniz gerekirse ComVisible özniteliğini o türde true olarak ayarlayın. 20 | [assembly: ComVisible(false)] 21 | 22 | // Bu proje COM'un kullanımına sunulursa, aşağıdaki GUID tür kitaplığının kimliği içindir 23 | [assembly: Guid("3d110ebb-3f04-4f16-83c2-df5a2458cb35")] 24 | 25 | // Bir derlemenin sürüm bilgileri aşağıdaki dört değerden oluşur: 26 | // 27 | // Ana Sürüm 28 | // İkincil Sürüm 29 | // Yapı Numarası 30 | // Düzeltme 31 | // 32 | // Tüm değerleri belirtebilir veya varsayılan Derleme ve Düzeltme Numaralarını kullanmak için 33 | // aşağıda gösterildiği gibi '*' kullanabilirsiniz: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /MeshEkran/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Bu kod araç tarafından oluşturuldu. 4 | // Çalışma Zamanı Sürümü:4.0.30319.42000 5 | // 6 | // Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve 7 | // kod yeniden oluşturulursa kaybolur. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace MeshEkran.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// Yerelleştirilmiş dizeleri aramak gibi işlemler için, türü kesin olarak belirtilmiş kaynak sınıfı. 17 | /// 18 | // Bu sınıf ResGen veya Visual Studio gibi bir araç kullanılarak StronglyTypedResourceBuilder 19 | // sınıfı tarafından otomatik olarak oluşturuldu. 20 | // Üye eklemek veya kaldırmak için .ResX dosyanızı düzenleyin ve sonra da ResGen 21 | // komutunu /str seçeneğiyle yeniden çalıştırın veya VS projenizi yeniden oluşturun. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Bu sınıf tarafından kullanılan, önbelleğe alınmış ResourceManager örneğini döndürür. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MeshEkran.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Tümü için geçerli iş parçacığının CurrentUICulture özelliğini geçersiz kular 51 | /// CurrentUICulture özelliğini tüm kaynak aramaları için geçersiz kılar. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | 63 | /// 64 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 65 | /// 66 | internal static System.Drawing.Bitmap adminicon { 67 | get { 68 | object obj = ResourceManager.GetObject("adminicon", resourceCulture); 69 | return ((System.Drawing.Bitmap)(obj)); 70 | } 71 | } 72 | 73 | /// 74 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 75 | /// 76 | internal static System.Drawing.Bitmap BackIcon { 77 | get { 78 | object obj = ResourceManager.GetObject("BackIcon", resourceCulture); 79 | return ((System.Drawing.Bitmap)(obj)); 80 | } 81 | } 82 | 83 | /// 84 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 85 | /// 86 | internal static System.Drawing.Bitmap cancel_256256 { 87 | get { 88 | object obj = ResourceManager.GetObject("cancel-256256", resourceCulture); 89 | return ((System.Drawing.Bitmap)(obj)); 90 | } 91 | } 92 | 93 | /// 94 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 95 | /// 96 | internal static System.Drawing.Bitmap CancelIcon { 97 | get { 98 | object obj = ResourceManager.GetObject("CancelIcon", resourceCulture); 99 | return ((System.Drawing.Bitmap)(obj)); 100 | } 101 | } 102 | 103 | /// 104 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 105 | /// 106 | internal static System.Drawing.Bitmap CheckIcon { 107 | get { 108 | object obj = ResourceManager.GetObject("CheckIcon", resourceCulture); 109 | return ((System.Drawing.Bitmap)(obj)); 110 | } 111 | } 112 | 113 | /// 114 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 115 | /// 116 | internal static System.Drawing.Bitmap factoryicon { 117 | get { 118 | object obj = ResourceManager.GetObject("factoryicon", resourceCulture); 119 | return ((System.Drawing.Bitmap)(obj)); 120 | } 121 | } 122 | 123 | /// 124 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 125 | /// 126 | internal static System.Drawing.Bitmap gearicon { 127 | get { 128 | object obj = ResourceManager.GetObject("gearicon", resourceCulture); 129 | return ((System.Drawing.Bitmap)(obj)); 130 | } 131 | } 132 | 133 | /// 134 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 135 | /// 136 | internal static System.Drawing.Bitmap green_img { 137 | get { 138 | object obj = ResourceManager.GetObject("green img", resourceCulture); 139 | return ((System.Drawing.Bitmap)(obj)); 140 | } 141 | } 142 | 143 | /// 144 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 145 | /// 146 | internal static System.Drawing.Bitmap greenicon { 147 | get { 148 | object obj = ResourceManager.GetObject("greenicon", resourceCulture); 149 | return ((System.Drawing.Bitmap)(obj)); 150 | } 151 | } 152 | 153 | /// 154 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 155 | /// 156 | internal static System.Drawing.Bitmap icon_ios7_gear_512 { 157 | get { 158 | object obj = ResourceManager.GetObject("icon-ios7-gear-512", resourceCulture); 159 | return ((System.Drawing.Bitmap)(obj)); 160 | } 161 | } 162 | 163 | /// 164 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 165 | /// 166 | internal static System.Drawing.Bitmap Left_Arrow__512 { 167 | get { 168 | object obj = ResourceManager.GetObject("Left_Arrow_-512", resourceCulture); 169 | return ((System.Drawing.Bitmap)(obj)); 170 | } 171 | } 172 | 173 | /// 174 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 175 | /// 176 | internal static System.Drawing.Bitmap Ok_256256 { 177 | get { 178 | object obj = ResourceManager.GetObject("Ok-256256", resourceCulture); 179 | return ((System.Drawing.Bitmap)(obj)); 180 | } 181 | } 182 | 183 | /// 184 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 185 | /// 186 | internal static System.Drawing.Bitmap QuitIcon { 187 | get { 188 | object obj = ResourceManager.GetObject("QuitIcon", resourceCulture); 189 | return ((System.Drawing.Bitmap)(obj)); 190 | } 191 | } 192 | 193 | /// 194 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 195 | /// 196 | internal static System.Drawing.Bitmap quittt { 197 | get { 198 | object obj = ResourceManager.GetObject("quittt", resourceCulture); 199 | return ((System.Drawing.Bitmap)(obj)); 200 | } 201 | } 202 | 203 | /// 204 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 205 | /// 206 | internal static System.Drawing.Bitmap RedIcon { 207 | get { 208 | object obj = ResourceManager.GetObject("RedIcon", resourceCulture); 209 | return ((System.Drawing.Bitmap)(obj)); 210 | } 211 | } 212 | 213 | /// 214 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 215 | /// 216 | internal static System.Drawing.Bitmap redimg { 217 | get { 218 | object obj = ResourceManager.GetObject("redimg", resourceCulture); 219 | return ((System.Drawing.Bitmap)(obj)); 220 | } 221 | } 222 | 223 | /// 224 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 225 | /// 226 | internal static System.Drawing.Bitmap reload { 227 | get { 228 | object obj = ResourceManager.GetObject("reload", resourceCulture); 229 | return ((System.Drawing.Bitmap)(obj)); 230 | } 231 | } 232 | 233 | /// 234 | /// System.Drawing.Bitmap türünde yerelleştirilmiş bir kaynak arar. 235 | /// 236 | internal static System.Drawing.Bitmap yellow_img { 237 | get { 238 | object obj = ResourceManager.GetObject("yellow img", resourceCulture); 239 | return ((System.Drawing.Bitmap)(obj)); 240 | } 241 | } 242 | } 243 | } 244 | -------------------------------------------------------------------------------- /MeshEkran/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 | 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 | 122 | ..\Resources\reload.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 123 | 124 | 125 | ..\Resources\Ok-256256.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 126 | 127 | 128 | ..\Resources\RedIcon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 129 | 130 | 131 | ..\Resources\BackIcon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 132 | 133 | 134 | ..\Resources\yellow img.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 135 | 136 | 137 | ..\Resources\quittt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 138 | 139 | 140 | ..\Resources\redimg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 141 | 142 | 143 | ..\Resources\icon-ios7-gear-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 144 | 145 | 146 | ..\Resources\cancel-256256.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 147 | 148 | 149 | ..\Resources\adminicon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 150 | 151 | 152 | ..\Resources\green img.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 153 | 154 | 155 | ..\Resources\QuitIcon.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 156 | 157 | 158 | ..\Resources\CheckIcon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 159 | 160 | 161 | ..\Resources\greenicon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 162 | 163 | 164 | ..\Resources\CancelIcon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 165 | 166 | 167 | ..\Resources\gearicon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 168 | 169 | 170 | ..\Resources\factoryicon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 171 | 172 | 173 | ..\Resources\Left_Arrow_-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 174 | 175 | -------------------------------------------------------------------------------- /MeshEkran/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Bu kod araç tarafından oluşturuldu. 4 | // Çalışma Zamanı Sürümü:4.0.30319.42000 5 | // 6 | // Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve 7 | // kod yeniden oluşturulursa kaybolur. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace MeshEkran.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.1.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | 26 | [global::System.Configuration.ApplicationScopedSettingAttribute()] 27 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 | [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] 29 | [global::System.Configuration.DefaultSettingValueAttribute("Data Source=BATUR\\BATUR;Initial Catalog=FirmaDBList;Integrated Security=True")] 30 | public string VeritabaniListesineErisim { 31 | get { 32 | return ((string)(this["VeritabaniListesineErisim"])); 33 | } 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /MeshEkran/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | <?xml version="1.0" encoding="utf-16"?> 7 | <SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 8 | <ConnectionString>Data Source=BATUR\BATUR;Initial Catalog=FirmaDBList;Integrated Security=True</ConnectionString> 9 | <ProviderName>System.Data.SqlClient</ProviderName> 10 | </SerializableConnectionString> 11 | Data Source=BATUR\BATUR;Initial Catalog=FirmaDBList;Integrated Security=True 12 | 13 | 14 | -------------------------------------------------------------------------------- /MeshEkran/Resources/BackIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/BackIcon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/CancelIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/CancelIcon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/CheckIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/CheckIcon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/Left_Arrow_-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/Left_Arrow_-512.png -------------------------------------------------------------------------------- /MeshEkran/Resources/Ok-256256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/Ok-256256.png -------------------------------------------------------------------------------- /MeshEkran/Resources/QuitIcon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/QuitIcon.jpg -------------------------------------------------------------------------------- /MeshEkran/Resources/RedIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/RedIcon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/adminicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/adminicon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/cancel-256256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/cancel-256256.png -------------------------------------------------------------------------------- /MeshEkran/Resources/factoryicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/factoryicon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/gearicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/gearicon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/green img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/green img.jpg -------------------------------------------------------------------------------- /MeshEkran/Resources/greenicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/greenicon.png -------------------------------------------------------------------------------- /MeshEkran/Resources/icon-ios7-gear-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/icon-ios7-gear-512.png -------------------------------------------------------------------------------- /MeshEkran/Resources/quittt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/quittt.png -------------------------------------------------------------------------------- /MeshEkran/Resources/redimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/redimg.png -------------------------------------------------------------------------------- /MeshEkran/Resources/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/reload.png -------------------------------------------------------------------------------- /MeshEkran/Resources/yellow img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/Resources/yellow img.jpg -------------------------------------------------------------------------------- /MeshEkran/Veritabani/Database.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Data.SqlClient; 7 | 8 | namespace MeshEkran.Veritabani 9 | { 10 | 11 | 12 | public class Database 13 | { 14 | 15 | public static string GlobalServerName = "BATUR" + "\\" + "BATUR"; 16 | 17 | public static SqlConnection GetConnection() 18 | { 19 | 20 | 21 | 22 | string connectionString = @"Data Source="+ GlobalServerName+"; Initial Catalog="+Giris_SecimEkran.DBAdiGlobal+";Integrated Security=True"; 23 | 24 | return new SqlConnection(connectionString); 25 | } 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MeshEkran/bin/Debug/MeshEkran.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /MeshEkran/bin/Release/MeshEkran.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.Admin_AnaMenu.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.Admin_AnaMenu.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.Giris_Admin.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.Giris_Admin.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.Giris_Operator.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.Giris_Operator.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.Giris_SecimEkran.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.Giris_SecimEkran.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.Properties.Resources.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.csproj.CopyComplete -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MeshEkran.exe.config 2 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MeshEkran.exe 3 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MeshEkran.pdb 4 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.csprojAssemblyReference.cache 5 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Properties.Resources.resources 6 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.csproj.GenerateResource.cache 7 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.exe 8 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.pdb 9 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MasDLL.dll 10 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Giris_Admin.resources 11 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Giris_SecimEkran.resources 12 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.csproj.CopyComplete 13 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Admin_AnaMenu.resources 14 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Giris_Operator.resources 15 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MeshEkran.exe.config 16 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MeshEkran.exe 17 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MeshEkran.pdb 18 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Debug\MasDLL.dll 19 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.csprojAssemblyReference.cache 20 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Admin_AnaMenu.resources 21 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Giris_Admin.resources 22 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Giris_Operator.resources 23 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Giris_SecimEkran.resources 24 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.Properties.Resources.resources 25 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.csproj.GenerateResource.cache 26 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.csproj.CopyComplete 27 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.exe 28 | D:\Batu\Batu - Bilgisayar Mühendisliği\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Debug\MeshEkran.pdb 29 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\bin\Debug\MeshEkran.exe.config 30 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\bin\Debug\MeshEkran.exe 31 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\bin\Debug\MeshEkran.pdb 32 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.csprojAssemblyReference.cache 33 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.Admin_AnaMenu.resources 34 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.Giris_Admin.resources 35 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.Giris_Operator.resources 36 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.Giris_SecimEkran.resources 37 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.Properties.Resources.resources 38 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.csproj.GenerateResource.cache 39 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.csproj.CopyComplete 40 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.exe 41 | C:\Users\badgo\Documents\GitHub\Manufacturing-Execution-System--MES--Automation\MeshEkran\obj\Debug\MeshEkran.pdb 42 | -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /MeshEkran/obj/Debug/MeshEkran.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Debug/MeshEkran.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /MeshEkran/obj/Release/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /MeshEkran/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.Admin_AnaMenu.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.Admin_AnaMenu.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.Giris_Admin.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.Giris_Admin.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.Giris_Operator.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.Giris_Operator.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.Giris_SecimEkran.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.Giris_SecimEkran.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.Properties.Resources.resources -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.csproj.CopyComplete -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 46750d6d58d5840ac4754fea62f4fcfa5933a160 2 | -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Release\MeshEkran.exe.config 2 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Release\MeshEkran.exe 3 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Release\MeshEkran.pdb 4 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\bin\Release\MasDLL.dll 5 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.csprojAssemblyReference.cache 6 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.Admin_AnaMenu.resources 7 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.Giris_Admin.resources 8 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.Giris_Operator.resources 9 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.Giris_SecimEkran.resources 10 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.Properties.Resources.resources 11 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.csproj.GenerateResource.cache 12 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.csproj.CoreCompileInputs.cache 13 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.csproj.CopyComplete 14 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.exe 15 | C:\Users\badgo\Desktop\Yazılım Stajı - Temmuz 2019\MeshEkran\MeshEkran\obj\Release\MeshEkran.pdb 16 | -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /MeshEkran/obj/Release/MeshEkran.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Batur123/mes-automation-summer-intern-2019/708a73b2dee1d2f7f68546529630702662ab4001/MeshEkran/obj/Release/MeshEkran.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Manufacturing Execution System (MES) Automation (2019)
2 | 3 | ### In this software, you can manage the products, machines, employees, processes in the factory. This MAS automation, working like an ERP system, was developed in C# using MSSQL. 4 | 5 | EN: Open a pull-request for english translation.\ 6 | ZH: 打开拉取请求以进行翻译。 7 | 8 | [MAS DLL Files](https://github.com/Batur123/Manufacturing-Execution-System-DLL-Extensions) \ 9 | [Database Files](https://github.com/Batur123/Manufacturing-Execution-System-Full-Database) 10 | 11 | This is the Manufacturing Execution System without Sensors. You can add/update/delete for Operators who are employees of the Factory. You can also add/update/delete customers,machines on factory. 12 | 13 | ![resim3](https://user-images.githubusercontent.com/32031460/72464929-4b636680-37e7-11ea-8e3c-8cc5075b0557.PNG) 14 | 15 | 16 | 17 | 18 | 19 | 20 | --------------------------------------------------------------------------------