├── Calendar ├── Calendar.sln ├── Calendar │ ├── App.config │ ├── Calendar.vbproj │ ├── Form1.Designer.vb │ ├── Form1.resx │ ├── Form1.vb │ ├── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ └── Settings.settings │ ├── bin │ │ └── Debug │ │ │ ├── Calendar.exe │ │ │ ├── Calendar.exe.config │ │ │ ├── Calendar.pdb │ │ │ ├── Calendar.vshost.exe │ │ │ ├── Calendar.vshost.exe.config │ │ │ ├── Calendar.vshost.exe.manifest │ │ │ └── Calendar.xml │ └── obj │ │ └── Debug │ │ ├── Calendar.Form1.resources │ │ ├── Calendar.Resources.resources │ │ ├── Calendar.exe │ │ ├── Calendar.pdb │ │ ├── Calendar.vbproj.FileListAbsolute.txt │ │ ├── Calendar.vbproj.GenerateResource.Cache │ │ ├── Calendar.vbprojResolveAssemblyReference.cache │ │ ├── Calendar.xml │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ └── TempPE │ │ └── My Project.Resources.Designer.vb.dll └── README.md ├── QuadraticEquationSolver ├── quadratic.sln ├── quadratic │ ├── App.config │ ├── Form1.Designer.vb │ ├── Form1.resx │ ├── Form1.vb │ ├── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ └── Settings.settings │ ├── bin │ │ └── Debug │ │ │ ├── quadratic.exe │ │ │ ├── quadratic.exe.config │ │ │ ├── quadratic.pdb │ │ │ ├── quadratic.vshost.exe │ │ │ ├── quadratic.vshost.exe.config │ │ │ ├── quadratic.vshost.exe.manifest │ │ │ └── quadratic.xml │ ├── obj │ │ └── Debug │ │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ │ ├── TempPE │ │ │ └── My Project.Resources.Designer.vb.dll │ │ │ ├── quadratic.Form1.resources │ │ │ ├── quadratic.Resources.resources │ │ │ ├── quadratic.exe │ │ │ ├── quadratic.pdb │ │ │ ├── quadratic.vbproj.FileListAbsolute.txt │ │ │ ├── quadratic.vbproj.GenerateResource.Cache │ │ │ ├── quadratic.vbprojResolveAssemblyReference.cache │ │ │ └── quadratic.xml │ └── quadratic.vbproj └── readme.md ├── README.md ├── ScientificCalculator ├── Calculator.sln ├── Calculator │ ├── App.config │ ├── Calculator.v12.suo │ ├── Calculator.vbproj │ ├── Form1.Designer.vb │ ├── Form1.resx │ ├── Form1.vb │ ├── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ └── Settings.settings │ ├── bin │ │ └── Debug │ │ │ ├── Calculator.exe │ │ │ ├── Calculator.exe.config │ │ │ ├── Calculator.pdb │ │ │ ├── Calculator.vshost.exe │ │ │ ├── Calculator.vshost.exe.config │ │ │ ├── Calculator.vshost.exe.manifest │ │ │ └── Calculator.xml │ └── obj │ │ └── Debug │ │ ├── Calculator.Form1.resources │ │ ├── Calculator.Resources.resources │ │ ├── Calculator.exe │ │ ├── Calculator.pdb │ │ ├── Calculator.vbproj.FileListAbsolute.txt │ │ ├── Calculator.vbproj.GenerateResource.Cache │ │ ├── Calculator.vbprojResolveAssemblyReference.cache │ │ ├── Calculator.xml │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ └── TempPE │ │ └── My Project.Resources.Designer.vb.dll └── readme.md └── TicTacToe ├── README.md ├── TicTacToe.sln └── TicTacToe ├── App.config ├── Form1.Designer.vb ├── Form1.resx ├── Form1.vb ├── My Project ├── Application.Designer.vb ├── Application.myapp ├── AssemblyInfo.vb ├── Resources.Designer.vb ├── Resources.resx ├── Settings.Designer.vb └── Settings.settings ├── TicTacToe.vbproj ├── bin └── Debug │ ├── TicTacToe.exe │ ├── TicTacToe.exe.config │ ├── TicTacToe.pdb │ ├── TicTacToe.vshost.exe │ ├── TicTacToe.vshost.exe.config │ ├── TicTacToe.vshost.exe.manifest │ └── TicTacToe.xml └── obj └── Debug ├── DesignTimeResolveAssemblyReferences.cache ├── DesignTimeResolveAssemblyReferencesInput.cache ├── TempPE └── My Project.Resources.Designer.vb.dll ├── TicTacToe.Form.resources ├── TicTacToe.Resources.resources ├── TicTacToe.exe ├── TicTacToe.pdb ├── TicTacToe.vbproj.FileListAbsolute.txt ├── TicTacToe.vbproj.GenerateResource.Cache ├── TicTacToe.vbprojResolveAssemblyReference.cache └── TicTacToe.xml /Calendar/Calendar.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Calendar", "Calendar\Calendar.vbproj", "{30108500-1D42-4760-B85B-7A5F06BC0BDF}" 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 | {30108500-1D42-4760-B85B-7A5F06BC0BDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {30108500-1D42-4760-B85B-7A5F06BC0BDF}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {30108500-1D42-4760-B85B-7A5F06BC0BDF}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {30108500-1D42-4760-B85B-7A5F06BC0BDF}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Calendar/Calendar/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Calendar/Calendar/Calendar.vbproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {30108500-1D42-4760-B85B-7A5F06BC0BDF} 8 | WinExe 9 | Calendar.My.MyApplication 10 | Calendar 11 | Calendar 12 | 512 13 | WindowsForms 14 | v4.5 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | true 21 | true 22 | bin\Debug\ 23 | Calendar.xml 24 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | false 30 | true 31 | true 32 | bin\Release\ 33 | Calendar.xml 34 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 35 | 36 | 37 | On 38 | 39 | 40 | Binary 41 | 42 | 43 | Off 44 | 45 | 46 | On 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | Form 75 | 76 | 77 | Form1.vb 78 | Form 79 | 80 | 81 | 82 | True 83 | Application.myapp 84 | 85 | 86 | True 87 | True 88 | Resources.resx 89 | 90 | 91 | True 92 | Settings.settings 93 | True 94 | 95 | 96 | 97 | 98 | Form1.vb 99 | 100 | 101 | VbMyResourcesResXFileCodeGenerator 102 | Resources.Designer.vb 103 | My.Resources 104 | Designer 105 | 106 | 107 | 108 | 109 | MyApplicationCodeGenerator 110 | Application.Designer.vb 111 | 112 | 113 | SettingsSingleFileGenerator 114 | My 115 | Settings.Designer.vb 116 | 117 | 118 | 119 | 120 | 127 | -------------------------------------------------------------------------------- /Calendar/Calendar/Form1.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 | -------------------------------------------------------------------------------- /Calendar/Calendar/Form1.vb: -------------------------------------------------------------------------------- 1 | Public Class Form1 2 | Dim month As Integer 3 | Dim year As Integer 4 | Dim day As Integer 5 | Dim odd As Integer 6 | Dim month_days(12) As Integer 7 | Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click 8 | year += 1 9 | Call month_cal() 10 | Call year_cal() 11 | Call cal_odd_days() 12 | Call day_cal() 13 | Call display_days() 14 | End Sub 15 | 16 | Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click 17 | year -= 1 18 | Call month_cal() 19 | Call year_cal() 20 | Call cal_odd_days() 21 | Call day_cal() 22 | Call display_days() 23 | End Sub 24 | 25 | Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click 26 | month += 1 27 | If month > 12 Then 28 | month = 1 29 | year += 1 30 | End If 31 | Call month_cal() 32 | Call year_cal() 33 | Call cal_odd_days() 34 | Call day_cal() 35 | Call display_days() 36 | End Sub 37 | 38 | Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 39 | month -= 1 40 | If month < 1 Then 41 | month = 12 42 | year -= 1 43 | End If 44 | 45 | Call month_cal() 46 | Call year_cal() 47 | Call cal_odd_days() 48 | Call day_cal() 49 | Call display_days() 50 | End Sub 51 | 52 | Private Sub month_cal() 53 | month_days(0) = 0 54 | month_days(1) = 31 55 | month_days(2) = 28 56 | month_days(3) = 31 57 | month_days(4) = 30 58 | month_days(5) = 31 59 | month_days(6) = 30 60 | month_days(7) = 31 61 | month_days(8) = 31 62 | month_days(9) = 30 63 | month_days(10) = 31 64 | month_days(11) = 30 65 | month_days(12) = 31 66 | If year Mod 4 = 0 Then 67 | If year Mod 400 = 0 Then 68 | month_days(2) = 29 69 | ElseIf year Mod 100 = 0 Then 70 | month_days(2) = 28 71 | Else 72 | month_days(2) = 29 73 | End If 74 | Else 75 | month_days(2) = 28 76 | End If 77 | If month = 1 Then 78 | Label5.Text = " January " 79 | Label2.Text = day & " Jan " & year 80 | ElseIf month = 2 Then 81 | Label5.Text = " February " 82 | Label2.Text = day & " Feb " & year 83 | ElseIf month = 3 Then 84 | Label5.Text = " March " 85 | Label2.Text = day & " Mar " & year 86 | ElseIf month = 4 Then 87 | Label5.Text = " April " 88 | Label2.Text = day & " Apr " & year 89 | ElseIf month = 5 Then 90 | Label5.Text = " May " 91 | Label2.Text = day & " May " & year 92 | ElseIf month = 6 Then 93 | Label5.Text = " June " 94 | Label2.Text = day & " Jun " & year 95 | ElseIf month = 7 Then 96 | Label5.Text = " July " 97 | Label2.Text = day & " Jul " & year 98 | ElseIf month = 8 Then 99 | Label5.Text = " August " 100 | Label2.Text = day & " Aug " & year 101 | ElseIf month = 9 Then 102 | Label5.Text = " September " 103 | Label2.Text = day & " Sep " & year 104 | ElseIf month = 10 Then 105 | Label5.Text = " October " 106 | Label2.Text = day & " Oct " & year 107 | ElseIf month = 11 Then 108 | Label5.Text = " November " 109 | Label2.Text = day & " Nov " & year 110 | ElseIf month = 12 Then 111 | Label5.Text = " December " 112 | Label2.Text = day & " Dec " & year 113 | End If 114 | End Sub 115 | Private Sub year_cal() 116 | Label6.Text = year 117 | End Sub 118 | Private Sub day_cal() 119 | Dim dd As Integer = odd 120 | dd = odd + day 121 | If dd Mod 7 = 0 Then 122 | Label1.Text = "Sunday," 123 | ElseIf dd Mod 7 = 1 Then 124 | Label1.Text = "Monday," 125 | ElseIf dd Mod 7 = 2 Then 126 | Label1.Text = "Tuesday," 127 | ElseIf dd Mod 7 = 3 Then 128 | Label1.Text = "Wednesday," 129 | ElseIf dd Mod 7 = 4 Then 130 | Label1.Text = "Thursday," 131 | ElseIf dd Mod 7 = 5 Then 132 | Label1.Text = "Friday," 133 | ElseIf dd Mod 7 = 6 Then 134 | Label1.Text = "Saturday," 135 | End If 136 | End Sub 137 | Private Sub cal_odd_days() 138 | Dim d, m, y As Integer 139 | odd = 0 140 | d = day 141 | m = month - 1 142 | y = year - 1 143 | y = y Mod 400 144 | If y >= 300 Then 145 | odd += 1 146 | y = y Mod 300 147 | ElseIf y >= 200 Then 148 | odd += 3 149 | y = y Mod 200 150 | ElseIf y >= 100 Then 151 | odd += 5 152 | y = y Mod 100 153 | End If 154 | odd = odd + y \ 4 + y 155 | odd = odd Mod 7 156 | Do While m > 0 157 | odd += month_days(m) 158 | m -= 1 159 | Loop 160 | odd = odd Mod 7 161 | End Sub 162 | Private Sub system_date() 163 | Dim value As Date = Date.Now.Date 164 | Dim dayString As String = value.Day.ToString() 165 | Dim monthString As String = value.Month.ToString() 166 | Dim yearString As String = value.Year.ToString() 167 | day = dayString 168 | month = monthString 169 | year = yearString 170 | End Sub 171 | Private Sub display_days() 172 | Dim odd_t As Integer = odd + 1 173 | Label13.Text = 6 - odd_t + 1 174 | Label14.Text = 6 - odd_t + 2 175 | Label15.Text = 6 - odd_t + 3 176 | Label16.Text = 6 - odd_t + 4 177 | Label17.Text = 6 - odd_t + 5 178 | Label18.Text = 6 - odd_t + 6 179 | Label19.Text = 6 - odd_t + 7 180 | Label20.Text = 6 - odd_t + 8 181 | Label21.Text = 6 - odd_t + 9 182 | Label22.Text = 6 - odd_t + 10 183 | Label23.Text = 6 - odd_t + 11 184 | Label24.Text = 6 - odd_t + 12 185 | Label25.Text = 6 - odd_t + 13 186 | Label26.Text = 6 - odd_t + 14 187 | Label27.Text = 6 - odd_t + 15 188 | Label28.Text = 6 - odd_t + 16 189 | Label29.Text = 6 - odd_t + 17 190 | Label30.Text = 6 - odd_t + 18 191 | Label31.Text = 6 - odd_t + 19 192 | Label32.Text = 6 - odd_t + 20 193 | Label33.Text = 6 - odd_t + 21 194 | Label34.Text = 6 - odd_t + 22 195 | If odd_t = 0 Then 196 | Label7.Text = 1 197 | Label8.Text = 2 198 | Label9.Text = 3 199 | Label10.Text = 4 200 | Label11.Text = 5 201 | Label12.Text = 6 202 | Label35.Text = "" 203 | Label36.Text = "" 204 | Label37.Text = "" 205 | Label38.Text = "" 206 | Label39.Text = "" 207 | Label40.Text = "" 208 | Label41.Text = "" 209 | If month_days(month) = 29 Then 210 | Label35.Text = 29 211 | ElseIf month_days(month) = 30 Then 212 | Label36.Text = 30 213 | Label35.Text = 29 214 | ElseIf month_days(month) = 31 Then 215 | Label37.Text = 31 216 | Label36.Text = 30 217 | Label35.Text = 29 218 | End If 219 | ElseIf odd_t = 1 Then 220 | Label7.Text = "" 221 | Label8.Text = 1 222 | Label9.Text = 2 223 | Label10.Text = 3 224 | Label11.Text = 4 225 | Label12.Text = 5 226 | Label35.Text = 28 227 | Label36.Text = "" 228 | Label37.Text = "" 229 | Label38.Text = "" 230 | Label39.Text = "" 231 | Label40.Text = "" 232 | Label41.Text = "" 233 | If month_days(month) = 29 Then 234 | Label36.Text = 29 235 | ElseIf month_days(month) = 30 Then 236 | Label37.Text = 30 237 | Label36.Text = 29 238 | ElseIf month_days(month) = 31 Then 239 | Label38.Text = 31 240 | Label37.Text = 30 241 | Label36.Text = 29 242 | End If 243 | ElseIf odd_t = 2 Then 244 | Label7.Text = "" 245 | Label8.Text = "" 246 | Label9.Text = 1 247 | Label10.Text = 2 248 | Label11.Text = 3 249 | Label12.Text = 4 250 | Label35.Text = 27 251 | Label36.Text = 28 252 | Label37.Text = "" 253 | Label38.Text = "" 254 | Label39.Text = "" 255 | Label40.Text = "" 256 | Label41.Text = "" 257 | If month_days(month) = 29 Then 258 | Label37.Text = 29 259 | ElseIf month_days(month) = 30 Then 260 | Label37.Text = 29 261 | Label38.Text = 30 262 | ElseIf month_days(month) = 31 Then 263 | Label39.Text = 31 264 | Label37.Text = 29 265 | Label38.Text = 30 266 | End If 267 | ElseIf odd_t = 3 Then 268 | Label7.Text = "" 269 | Label8.Text = "" 270 | Label9.Text = "" 271 | Label10.Text = 1 272 | Label11.Text = 2 273 | Label12.Text = 3 274 | Label35.Text = 26 275 | Label36.Text = 27 276 | Label37.Text = 28 277 | Label38.Text = "" 278 | Label39.Text = "" 279 | Label40.Text = "" 280 | Label41.Text = "" 281 | If month_days(month) = 29 Then 282 | Label38.Text = 29 283 | ElseIf month_days(month) = 30 Then 284 | Label38.Text = 29 285 | Label39.Text = 30 286 | ElseIf month_days(month) = 31 Then 287 | Label40.Text = 31 288 | Label38.Text = 29 289 | Label39.Text = 30 290 | End If 291 | ElseIf odd_t = 4 Then 292 | Label7.Text = "" 293 | Label8.Text = "" 294 | Label9.Text = "" 295 | Label10.Text = "" 296 | Label11.Text = 1 297 | Label12.Text = 2 298 | Label35.Text = 25 299 | Label36.Text = 26 300 | Label37.Text = 27 301 | Label38.Text = 28 302 | Label39.Text = "" 303 | Label40.Text = "" 304 | Label41.Text = "" 305 | If month_days(month) = 29 Then 306 | Label39.Text = 29 307 | ElseIf month_days(month) = 30 Then 308 | Label39.Text = 29 309 | Label40.Text = 30 310 | ElseIf month_days(month) = 31 Then 311 | Label41.Text = 31 312 | Label39.Text = 29 313 | Label40.Text = 30 314 | End If 315 | ElseIf odd_t = 5 Then 316 | Label7.Text = "" 317 | Label8.Text = "" 318 | Label9.Text = "" 319 | Label10.Text = "" 320 | Label11.Text = "" 321 | Label12.Text = 1 322 | Label35.Text = 24 323 | Label36.Text = 25 324 | Label37.Text = 26 325 | Label38.Text = 27 326 | Label39.Text = 28 327 | Label40.Text = "" 328 | Label41.Text = "" 329 | If month_days(month) = 29 Then 330 | Label40.Text = 29 331 | ElseIf month_days(month) = 30 Then 332 | Label40.Text = 29 333 | Label41.Text = 30 334 | ElseIf month_days(month) = 31 Then 335 | Label7.Text = 31 336 | Label40.Text = 29 337 | Label41.Text = 30 338 | End If 339 | ElseIf odd_t = 6 Then 340 | Label7.Text = "" 341 | Label8.Text = "" 342 | Label9.Text = "" 343 | Label10.Text = "" 344 | Label11.Text = "" 345 | Label12.Text = "" 346 | Label35.Text = 23 347 | Label36.Text = 24 348 | Label37.Text = 25 349 | Label38.Text = 26 350 | Label39.Text = 27 351 | Label40.Text = 28 352 | Label41.Text = "" 353 | If month_days(month) = 29 Then 354 | Label41.Text = 29 355 | ElseIf month_days(month) = 30 Then 356 | Label41.Text = 29 357 | Label7.Text = 30 358 | ElseIf month_days(month) = 31 Then 359 | Label8.Text = 31 360 | Label41.Text = 29 361 | Label7.Text = 30 362 | End If 363 | End If 364 | 365 | End Sub 366 | Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load 367 | Call system_date() 368 | Call month_cal() 369 | Call year_cal() 370 | Call cal_odd_days() 371 | Call day_cal() 372 | Call display_days() 373 | Label42.Enabled = False 374 | Label43.Enabled = False 375 | Label44.Enabled = False 376 | Label45.Enabled = False 377 | Label46.Enabled = False 378 | Label47.Enabled = False 379 | Label48.Enabled = False 380 | End Sub 381 | 382 | 383 | End Class 384 | -------------------------------------------------------------------------------- /Calendar/Calendar/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.Calendar.Form1 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /Calendar/Calendar/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | Form1 5 | false 6 | 0 7 | true 8 | 0 9 | 0 10 | true 11 | 12 | -------------------------------------------------------------------------------- /Calendar/Calendar/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /Calendar/Calendar/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My.Resources 16 | 17 | 'This class was auto-generated by the StronglyTypedResourceBuilder 18 | 'class via a tool like ResGen or Visual Studio. 19 | 'To add or remove a member, edit your .ResX file then rerun ResGen 20 | 'with the /str option, or rebuild your VS project. 21 | ''' 22 | ''' A strongly-typed resource class, for looking up localized strings, etc. 23 | ''' 24 | _ 28 | Friend Module Resources 29 | 30 | Private resourceMan As Global.System.Resources.ResourceManager 31 | 32 | Private resourceCulture As Global.System.Globalization.CultureInfo 33 | 34 | ''' 35 | ''' Returns the cached ResourceManager instance used by this class. 36 | ''' 37 | _ 38 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 39 | Get 40 | If Object.ReferenceEquals(resourceMan, Nothing) Then 41 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Calendar.Resources", GetType(Resources).Assembly) 42 | resourceMan = temp 43 | End If 44 | Return resourceMan 45 | End Get 46 | End Property 47 | 48 | ''' 49 | ''' Overrides the current thread's CurrentUICulture property for all 50 | ''' resource lookups using this strongly typed resource class. 51 | ''' 52 | _ 53 | Friend Property Culture() As Global.System.Globalization.CultureInfo 54 | Get 55 | Return resourceCulture 56 | End Get 57 | Set(ByVal value As Global.System.Globalization.CultureInfo) 58 | resourceCulture = value 59 | End Set 60 | End Property 61 | End Module 62 | End Namespace 63 | -------------------------------------------------------------------------------- /Calendar/Calendar/My Project/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /Calendar/Calendar/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | _ 20 | Partial Friend NotInheritable Class MySettings 21 | Inherits Global.System.Configuration.ApplicationSettingsBase 22 | 23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) 24 | 25 | #Region "My.Settings Auto-Save Functionality" 26 | #If _MyType = "WindowsForms" Then 27 | Private Shared addedHandler As Boolean 28 | 29 | Private Shared addedHandlerLockObject As New Object 30 | 31 | _ 32 | Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) 33 | If My.Application.SaveMySettingsOnExit Then 34 | My.Settings.Save() 35 | End If 36 | End Sub 37 | #End If 38 | #End Region 39 | 40 | Public Shared ReadOnly Property [Default]() As MySettings 41 | Get 42 | 43 | #If _MyType = "WindowsForms" Then 44 | If Not addedHandler Then 45 | SyncLock addedHandlerLockObject 46 | If Not addedHandler Then 47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 48 | addedHandler = True 49 | End If 50 | End SyncLock 51 | End If 52 | #End If 53 | Return defaultInstance 54 | End Get 55 | End Property 56 | End Class 57 | End Namespace 58 | 59 | Namespace My 60 | 61 | _ 64 | Friend Module MySettingsProperty 65 | 66 | _ 67 | Friend ReadOnly Property Settings() As Global.Calendar.My.MySettings 68 | Get 69 | Return Global.Calendar.My.MySettings.Default 70 | End Get 71 | End Property 72 | End Module 73 | End Namespace 74 | -------------------------------------------------------------------------------- /Calendar/Calendar/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Calendar/Calendar/bin/Debug/Calendar.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/bin/Debug/Calendar.exe -------------------------------------------------------------------------------- /Calendar/Calendar/bin/Debug/Calendar.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Calendar/Calendar/bin/Debug/Calendar.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/bin/Debug/Calendar.pdb -------------------------------------------------------------------------------- /Calendar/Calendar/bin/Debug/Calendar.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/bin/Debug/Calendar.vshost.exe -------------------------------------------------------------------------------- /Calendar/Calendar/bin/Debug/Calendar.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Calendar/Calendar/bin/Debug/Calendar.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Calendar/Calendar/bin/Debug/Calendar.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Calendar 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/Calendar.Form1.resources -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/Calendar.Resources.resources -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/Calendar.exe -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/Calendar.pdb -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\bin\Debug\Calendar.exe.config 2 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\bin\Debug\Calendar.exe 3 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\bin\Debug\Calendar.pdb 4 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\bin\Debug\Calendar.xml 5 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\obj\Debug\Calendar.Form1.resources 6 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\obj\Debug\Calendar.Resources.resources 7 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\obj\Debug\Calendar.vbproj.GenerateResource.Cache 8 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\obj\Debug\Calendar.exe 9 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\obj\Debug\Calendar.xml 10 | c:\users\amit\documents\visual studio 2013\Projects\Calendar\Calendar\obj\Debug\Calendar.pdb 11 | C:\Users\AMIT\documents\visual studio 2013\Projects\Calendar\Calendar\obj\Debug\Calendar.vbprojResolveAssemblyReference.cache 12 | -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/Calendar.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.vbprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/Calendar.vbprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/Calendar.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Calendar 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /Calendar/Calendar/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/Calendar/Calendar/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /Calendar/README.md: -------------------------------------------------------------------------------- 1 | # Calendra 2 | ### this is project based on calendar of english era 3 | ![screenshot 8](https://cloud.githubusercontent.com/assets/13691876/19178234/7a29e46c-8c6e-11e6-8f2e-a498dd8198ff.png) -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "quadratic", "quadratic\quadratic.vbproj", "{7B746573-D244-40D2-BC9A-D79CB9B0639E}" 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 | {7B746573-D244-40D2-BC9A-D79CB9B0639E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {7B746573-D244-40D2-BC9A-D79CB9B0639E}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {7B746573-D244-40D2-BC9A-D79CB9B0639E}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {7B746573-D244-40D2-BC9A-D79CB9B0639E}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/Form1.Designer.vb: -------------------------------------------------------------------------------- 1 |  _ 2 | Partial Class Form1 3 | Inherits System.Windows.Forms.Form 4 | 5 | 'Form overrides dispose to clean up the component list. 6 | _ 7 | Protected Overrides Sub Dispose(ByVal disposing As Boolean) 8 | Try 9 | If disposing AndAlso components IsNot Nothing Then 10 | components.Dispose() 11 | End If 12 | Finally 13 | MyBase.Dispose(disposing) 14 | End Try 15 | End Sub 16 | 17 | 'Required by the Windows Form Designer 18 | Private components As System.ComponentModel.IContainer 19 | 20 | 'NOTE: The following procedure is required by the Windows Form Designer 21 | 'It can be modified using the Windows Form Designer. 22 | 'Do not modify it using the code editor. 23 | _ 24 | Private Sub InitializeComponent() 25 | Me.Label1 = New System.Windows.Forms.Label() 26 | Me.TextBox1 = New System.Windows.Forms.TextBox() 27 | Me.TextBox2 = New System.Windows.Forms.TextBox() 28 | Me.TextBox3 = New System.Windows.Forms.TextBox() 29 | Me.Label2 = New System.Windows.Forms.Label() 30 | Me.Label3 = New System.Windows.Forms.Label() 31 | Me.Label4 = New System.Windows.Forms.Label() 32 | Me.Button1 = New System.Windows.Forms.Button() 33 | Me.Label5 = New System.Windows.Forms.Label() 34 | Me.Label6 = New System.Windows.Forms.Label() 35 | Me.SuspendLayout() 36 | ' 37 | 'Label1 38 | ' 39 | Me.Label1.AutoSize = True 40 | Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 28.25!) 41 | Me.Label1.Location = New System.Drawing.Point(55, 30) 42 | Me.Label1.Name = "Label1" 43 | Me.Label1.Size = New System.Drawing.Size(210, 44) 44 | Me.Label1.TabIndex = 0 45 | Me.Label1.Text = "Ax^2+Bx+c" 46 | ' 47 | 'TextBox1 48 | ' 49 | Me.TextBox1.Location = New System.Drawing.Point(77, 108) 50 | Me.TextBox1.Name = "TextBox1" 51 | Me.TextBox1.Size = New System.Drawing.Size(38, 20) 52 | Me.TextBox1.TabIndex = 1 53 | ' 54 | 'TextBox2 55 | ' 56 | Me.TextBox2.Location = New System.Drawing.Point(77, 152) 57 | Me.TextBox2.Name = "TextBox2" 58 | Me.TextBox2.Size = New System.Drawing.Size(38, 20) 59 | Me.TextBox2.TabIndex = 2 60 | ' 61 | 'TextBox3 62 | ' 63 | Me.TextBox3.Location = New System.Drawing.Point(77, 193) 64 | Me.TextBox3.Name = "TextBox3" 65 | Me.TextBox3.Size = New System.Drawing.Size(38, 20) 66 | Me.TextBox3.TabIndex = 3 67 | ' 68 | 'Label2 69 | ' 70 | Me.Label2.AutoSize = True 71 | Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 18.25!) 72 | Me.Label2.Location = New System.Drawing.Point(12, 99) 73 | Me.Label2.Name = "Label2" 74 | Me.Label2.Size = New System.Drawing.Size(59, 29) 75 | Me.Label2.TabIndex = 4 76 | Me.Label2.Text = "A = " 77 | ' 78 | 'Label3 79 | ' 80 | Me.Label3.AutoSize = True 81 | Me.Label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 18.25!) 82 | Me.Label3.Location = New System.Drawing.Point(12, 143) 83 | Me.Label3.Name = "Label3" 84 | Me.Label3.Size = New System.Drawing.Size(59, 29) 85 | Me.Label3.TabIndex = 5 86 | Me.Label3.Text = "B = " 87 | ' 88 | 'Label4 89 | ' 90 | Me.Label4.AutoSize = True 91 | Me.Label4.Font = New System.Drawing.Font("Microsoft Sans Serif", 18.25!) 92 | Me.Label4.Location = New System.Drawing.Point(12, 184) 93 | Me.Label4.Name = "Label4" 94 | Me.Label4.Size = New System.Drawing.Size(60, 29) 95 | Me.Label4.TabIndex = 6 96 | Me.Label4.Text = "C = " 97 | ' 98 | 'Button1 99 | ' 100 | Me.Button1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.25!) 101 | Me.Button1.Location = New System.Drawing.Point(40, 249) 102 | Me.Button1.Name = "Button1" 103 | Me.Button1.Size = New System.Drawing.Size(75, 28) 104 | Me.Button1.TabIndex = 7 105 | Me.Button1.Text = "Roots" 106 | Me.Button1.UseVisualStyleBackColor = True 107 | ' 108 | 'Label5 109 | ' 110 | Me.Label5.AutoSize = True 111 | Me.Label5.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!) 112 | Me.Label5.Location = New System.Drawing.Point(187, 108) 113 | Me.Label5.Name = "Label5" 114 | Me.Label5.Size = New System.Drawing.Size(74, 24) 115 | Me.Label5.TabIndex = 8 116 | Me.Label5.Text = "Root 1 :" 117 | ' 118 | 'Label6 119 | ' 120 | Me.Label6.AutoSize = True 121 | Me.Label6.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!) 122 | Me.Label6.Location = New System.Drawing.Point(187, 184) 123 | Me.Label6.Name = "Label6" 124 | Me.Label6.Size = New System.Drawing.Size(69, 24) 125 | Me.Label6.TabIndex = 9 126 | Me.Label6.Text = "Root 2:" 127 | ' 128 | 'Form1 129 | ' 130 | Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) 131 | Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font 132 | Me.ClientSize = New System.Drawing.Size(330, 305) 133 | Me.Controls.Add(Me.Label6) 134 | Me.Controls.Add(Me.Label5) 135 | Me.Controls.Add(Me.Button1) 136 | Me.Controls.Add(Me.Label4) 137 | Me.Controls.Add(Me.Label3) 138 | Me.Controls.Add(Me.Label2) 139 | Me.Controls.Add(Me.TextBox3) 140 | Me.Controls.Add(Me.TextBox2) 141 | Me.Controls.Add(Me.TextBox1) 142 | Me.Controls.Add(Me.Label1) 143 | Me.Name = "Form1" 144 | Me.Text = "QuadraticEquationSolver" 145 | Me.ResumeLayout(False) 146 | Me.PerformLayout() 147 | 148 | End Sub 149 | Friend WithEvents Label1 As System.Windows.Forms.Label 150 | Friend WithEvents TextBox1 As System.Windows.Forms.TextBox 151 | Friend WithEvents TextBox2 As System.Windows.Forms.TextBox 152 | Friend WithEvents TextBox3 As System.Windows.Forms.TextBox 153 | Friend WithEvents Label2 As System.Windows.Forms.Label 154 | Friend WithEvents Label3 As System.Windows.Forms.Label 155 | Friend WithEvents Label4 As System.Windows.Forms.Label 156 | Friend WithEvents Button1 As System.Windows.Forms.Button 157 | Friend WithEvents Label5 As System.Windows.Forms.Label 158 | Friend WithEvents Label6 As System.Windows.Forms.Label 159 | 160 | End Class 161 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/Form1.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 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/Form1.vb: -------------------------------------------------------------------------------- 1 | Public Class Form1 2 | Dim D As Double 3 | Dim A As Integer = 1 4 | Dim B As Integer = 1 5 | Dim C As Integer = 1 6 | Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 7 | A = CInt(TextBox1.Text) 8 | B = CInt(TextBox2.Text) 9 | C = CInt(TextBox3.Text) 10 | D = CDbl(B * B - 4 * A * C) 11 | If D > 0.0 Then 12 | Label5.Text = (CDbl(-B) + Math.Sqrt(D)) / CDbl(2 * A) 13 | Label6.Text = (CDbl(-B) - Math.Sqrt(D)) / CDbl(2 * A) 14 | ElseIf D = 0 Then 15 | Label5.Text = CDbl(-B) / CDbl(2 * A) 16 | Label6.Text = CDbl(-B) / CDbl(2 * A) 17 | Else 18 | Dim real As Double 19 | Dim imag As Double 20 | real = CDbl(-B) / CDbl(2 * A) 21 | imag = Math.Sqrt(-D) / CDbl(2 * A) 22 | imag = Math.Round(imag, 6) 23 | real = Math.Round(real, 6) 24 | 25 | Label5.Text = CStr(real) + "+" + CStr(imag) + "i" 26 | Label6.Text = CStr(real) + "-" + CStr(imag) + "i" 27 | End If 28 | End Sub 29 | End Class 30 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.quadratic.Form1 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | Form1 5 | false 6 | 0 7 | true 8 | 0 9 | 0 10 | true 11 | 12 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My.Resources 16 | 17 | 'This class was auto-generated by the StronglyTypedResourceBuilder 18 | 'class via a tool like ResGen or Visual Studio. 19 | 'To add or remove a member, edit your .ResX file then rerun ResGen 20 | 'with the /str option, or rebuild your VS project. 21 | ''' 22 | ''' A strongly-typed resource class, for looking up localized strings, etc. 23 | ''' 24 | _ 28 | Friend Module Resources 29 | 30 | Private resourceMan As Global.System.Resources.ResourceManager 31 | 32 | Private resourceCulture As Global.System.Globalization.CultureInfo 33 | 34 | ''' 35 | ''' Returns the cached ResourceManager instance used by this class. 36 | ''' 37 | _ 38 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 39 | Get 40 | If Object.ReferenceEquals(resourceMan, Nothing) Then 41 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("quadratic.Resources", GetType(Resources).Assembly) 42 | resourceMan = temp 43 | End If 44 | Return resourceMan 45 | End Get 46 | End Property 47 | 48 | ''' 49 | ''' Overrides the current thread's CurrentUICulture property for all 50 | ''' resource lookups using this strongly typed resource class. 51 | ''' 52 | _ 53 | Friend Property Culture() As Global.System.Globalization.CultureInfo 54 | Get 55 | Return resourceCulture 56 | End Get 57 | Set(ByVal value As Global.System.Globalization.CultureInfo) 58 | resourceCulture = value 59 | End Set 60 | End Property 61 | End Module 62 | End Namespace 63 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/My Project/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | _ 20 | Partial Friend NotInheritable Class MySettings 21 | Inherits Global.System.Configuration.ApplicationSettingsBase 22 | 23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) 24 | 25 | #Region "My.Settings Auto-Save Functionality" 26 | #If _MyType = "WindowsForms" Then 27 | Private Shared addedHandler As Boolean 28 | 29 | Private Shared addedHandlerLockObject As New Object 30 | 31 | _ 32 | Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) 33 | If My.Application.SaveMySettingsOnExit Then 34 | My.Settings.Save() 35 | End If 36 | End Sub 37 | #End If 38 | #End Region 39 | 40 | Public Shared ReadOnly Property [Default]() As MySettings 41 | Get 42 | 43 | #If _MyType = "WindowsForms" Then 44 | If Not addedHandler Then 45 | SyncLock addedHandlerLockObject 46 | If Not addedHandler Then 47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 48 | addedHandler = True 49 | End If 50 | End SyncLock 51 | End If 52 | #End If 53 | Return defaultInstance 54 | End Get 55 | End Property 56 | End Class 57 | End Namespace 58 | 59 | Namespace My 60 | 61 | _ 64 | Friend Module MySettingsProperty 65 | 66 | _ 67 | Friend ReadOnly Property Settings() As Global.quadratic.My.MySettings 68 | Get 69 | Return Global.quadratic.My.MySettings.Default 70 | End Get 71 | End Property 72 | End Module 73 | End Namespace 74 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/bin/Debug/quadratic.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/bin/Debug/quadratic.exe -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/bin/Debug/quadratic.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/bin/Debug/quadratic.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/bin/Debug/quadratic.pdb -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/bin/Debug/quadratic.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/bin/Debug/quadratic.vshost.exe -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/bin/Debug/quadratic.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/bin/Debug/quadratic.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/bin/Debug/quadratic.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | quadratic 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/quadratic.Form1.resources -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/quadratic.Resources.resources -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/quadratic.exe -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/quadratic.pdb -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\bin\Debug\quadratic.exe.config 2 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\bin\Debug\quadratic.exe 3 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\bin\Debug\quadratic.pdb 4 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\bin\Debug\quadratic.xml 5 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\obj\Debug\quadratic.Form1.resources 6 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\obj\Debug\quadratic.Resources.resources 7 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\obj\Debug\quadratic.vbproj.GenerateResource.Cache 8 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\obj\Debug\quadratic.exe 9 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\obj\Debug\quadratic.xml 10 | c:\users\amit\documents\visual studio 2013\Projects\quadratic\quadratic\obj\Debug\quadratic.pdb 11 | C:\Users\AMIT\documents\visual studio 2013\Projects\quadratic\quadratic\obj\Debug\quadratic.vbprojResolveAssemblyReference.cache 12 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/quadratic.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.vbprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/QuadraticEquationSolver/quadratic/obj/Debug/quadratic.vbprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/obj/Debug/quadratic.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | quadratic 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/quadratic/quadratic.vbproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {7B746573-D244-40D2-BC9A-D79CB9B0639E} 8 | WinExe 9 | quadratic.My.MyApplication 10 | quadratic 11 | quadratic 12 | 512 13 | WindowsForms 14 | v4.5 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | true 21 | true 22 | bin\Debug\ 23 | quadratic.xml 24 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | false 30 | true 31 | true 32 | bin\Release\ 33 | quadratic.xml 34 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 35 | 36 | 37 | On 38 | 39 | 40 | Binary 41 | 42 | 43 | Off 44 | 45 | 46 | On 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | Form 75 | 76 | 77 | Form1.vb 78 | Form 79 | 80 | 81 | 82 | True 83 | Application.myapp 84 | 85 | 86 | True 87 | True 88 | Resources.resx 89 | 90 | 91 | True 92 | Settings.settings 93 | True 94 | 95 | 96 | 97 | 98 | Form1.vb 99 | 100 | 101 | VbMyResourcesResXFileCodeGenerator 102 | Resources.Designer.vb 103 | My.Resources 104 | Designer 105 | 106 | 107 | 108 | 109 | MyApplicationCodeGenerator 110 | Application.Designer.vb 111 | 112 | 113 | SettingsSingleFileGenerator 114 | My 115 | Settings.Designer.vb 116 | 117 | 118 | 119 | 120 | 127 | -------------------------------------------------------------------------------- /QuadraticEquationSolver/readme.md: -------------------------------------------------------------------------------- 1 | This project deals with the mathematics tool solving the quadratic equation ax^2 + bx + c 2 | 3 | ### Image of application 4 | 5 | ![screenshot 21](https://cloud.githubusercontent.com/assets/13691876/19919581/a8409edc-a0f9-11e6-9e47-2d54f8e93180.png) 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ProjectsOnVisualStudio 2 | 3 | A list of projects which can be done using the VB on visual studio. 4 | To get started with these projects,simply fork the repository 5 | 6 | 7 | ## List of projects 8 | 9 | ### 1. Scientific Calculator 10 | ### 4. Quadratic Equation Solver 11 | ### 5. Tic Tac Toe 12 | ### 6. Calendra 13 | 14 | ## Requirements for these projects 15 | 16 | ### 1. visual studio 2013 or above 17 | ### 2. knowledge of Visual Basic and .net 18 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Calculator", "Calculator\Calculator.vbproj", "{44FB54EF-3DE4-4E13-BBB3-61F72488A656}" 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 | {44FB54EF-3DE4-4E13-BBB3-61F72488A656}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {44FB54EF-3DE4-4E13-BBB3-61F72488A656}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {44FB54EF-3DE4-4E13-BBB3-61F72488A656}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {44FB54EF-3DE4-4E13-BBB3-61F72488A656}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/Calculator.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/Calculator.v12.suo -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/Calculator.vbproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {44FB54EF-3DE4-4E13-BBB3-61F72488A656} 8 | WinExe 9 | Calculator.My.MyApplication 10 | Calculator 11 | Calculator 12 | 512 13 | WindowsForms 14 | v4.5 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | true 21 | true 22 | bin\Debug\ 23 | Calculator.xml 24 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | false 30 | true 31 | true 32 | bin\Release\ 33 | Calculator.xml 34 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 35 | 36 | 37 | On 38 | 39 | 40 | Binary 41 | 42 | 43 | Off 44 | 45 | 46 | On 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | Form 75 | 76 | 77 | Form1.vb 78 | Form 79 | 80 | 81 | 82 | True 83 | Application.myapp 84 | 85 | 86 | True 87 | True 88 | Resources.resx 89 | 90 | 91 | True 92 | Settings.settings 93 | True 94 | 95 | 96 | 97 | 98 | Form1.vb 99 | 100 | 101 | VbMyResourcesResXFileCodeGenerator 102 | Resources.Designer.vb 103 | My.Resources 104 | Designer 105 | 106 | 107 | 108 | 109 | MyApplicationCodeGenerator 110 | Application.Designer.vb 111 | 112 | 113 | SettingsSingleFileGenerator 114 | My 115 | Settings.Designer.vb 116 | 117 | 118 | 119 | 120 | 127 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/Form1.Designer.vb: -------------------------------------------------------------------------------- 1 |  _ 2 | Partial Class Form1 3 | Inherits System.Windows.Forms.Form 4 | 5 | 'Form overrides dispose to clean up the component list. 6 | _ 7 | Protected Overrides Sub Dispose(ByVal disposing As Boolean) 8 | Try 9 | If disposing AndAlso components IsNot Nothing Then 10 | components.Dispose() 11 | End If 12 | Finally 13 | MyBase.Dispose(disposing) 14 | End Try 15 | End Sub 16 | 17 | 'Required by the Windows Form Designer 18 | Private components As System.ComponentModel.IContainer 19 | 20 | 'NOTE: The following procedure is required by the Windows Form Designer 21 | 'It can be modified using the Windows Form Designer. 22 | 'Do not modify it using the code editor. 23 | _ 24 | Private Sub InitializeComponent() 25 | Me.Button1 = New System.Windows.Forms.Button() 26 | Me.Button2 = New System.Windows.Forms.Button() 27 | Me.Button3 = New System.Windows.Forms.Button() 28 | Me.Button4 = New System.Windows.Forms.Button() 29 | Me.Button5 = New System.Windows.Forms.Button() 30 | Me.Button6 = New System.Windows.Forms.Button() 31 | Me.Button7 = New System.Windows.Forms.Button() 32 | Me.Button8 = New System.Windows.Forms.Button() 33 | Me.Button9 = New System.Windows.Forms.Button() 34 | Me.Button10 = New System.Windows.Forms.Button() 35 | Me.Button11 = New System.Windows.Forms.Button() 36 | Me.Button12 = New System.Windows.Forms.Button() 37 | Me.Button13 = New System.Windows.Forms.Button() 38 | Me.Button14 = New System.Windows.Forms.Button() 39 | Me.Button15 = New System.Windows.Forms.Button() 40 | Me.Button16 = New System.Windows.Forms.Button() 41 | Me.Button17 = New System.Windows.Forms.Button() 42 | Me.Button18 = New System.Windows.Forms.Button() 43 | Me.TextBox1 = New System.Windows.Forms.TextBox() 44 | Me.Button19 = New System.Windows.Forms.Button() 45 | Me.Button20 = New System.Windows.Forms.Button() 46 | Me.Button21 = New System.Windows.Forms.Button() 47 | Me.Button22 = New System.Windows.Forms.Button() 48 | Me.Button23 = New System.Windows.Forms.Button() 49 | Me.SuspendLayout() 50 | ' 51 | 'Button1 52 | ' 53 | Me.Button1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 54 | Me.Button1.Location = New System.Drawing.Point(53, 305) 55 | Me.Button1.Name = "Button1" 56 | Me.Button1.Size = New System.Drawing.Size(100, 46) 57 | Me.Button1.TabIndex = 0 58 | Me.Button1.Text = "0" 59 | Me.Button1.UseVisualStyleBackColor = True 60 | ' 61 | 'Button2 62 | ' 63 | Me.Button2.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 64 | Me.Button2.Location = New System.Drawing.Point(53, 253) 65 | Me.Button2.Name = "Button2" 66 | Me.Button2.Size = New System.Drawing.Size(47, 46) 67 | Me.Button2.TabIndex = 1 68 | Me.Button2.Text = "1" 69 | Me.Button2.UseVisualStyleBackColor = True 70 | ' 71 | 'Button3 72 | ' 73 | Me.Button3.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 74 | Me.Button3.Location = New System.Drawing.Point(106, 253) 75 | Me.Button3.Name = "Button3" 76 | Me.Button3.Size = New System.Drawing.Size(47, 46) 77 | Me.Button3.TabIndex = 2 78 | Me.Button3.Text = "2" 79 | Me.Button3.UseVisualStyleBackColor = True 80 | ' 81 | 'Button4 82 | ' 83 | Me.Button4.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 84 | Me.Button4.Location = New System.Drawing.Point(161, 253) 85 | Me.Button4.Name = "Button4" 86 | Me.Button4.Size = New System.Drawing.Size(47, 46) 87 | Me.Button4.TabIndex = 3 88 | Me.Button4.Text = "3" 89 | Me.Button4.UseVisualStyleBackColor = True 90 | ' 91 | 'Button5 92 | ' 93 | Me.Button5.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 94 | Me.Button5.Location = New System.Drawing.Point(53, 200) 95 | Me.Button5.Name = "Button5" 96 | Me.Button5.Size = New System.Drawing.Size(47, 46) 97 | Me.Button5.TabIndex = 4 98 | Me.Button5.Text = "4" 99 | Me.Button5.UseVisualStyleBackColor = True 100 | ' 101 | 'Button6 102 | ' 103 | Me.Button6.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 104 | Me.Button6.Location = New System.Drawing.Point(106, 200) 105 | Me.Button6.Name = "Button6" 106 | Me.Button6.Size = New System.Drawing.Size(47, 46) 107 | Me.Button6.TabIndex = 5 108 | Me.Button6.Text = "5" 109 | Me.Button6.UseVisualStyleBackColor = True 110 | ' 111 | 'Button7 112 | ' 113 | Me.Button7.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 114 | Me.Button7.Location = New System.Drawing.Point(106, 147) 115 | Me.Button7.Name = "Button7" 116 | Me.Button7.Size = New System.Drawing.Size(47, 46) 117 | Me.Button7.TabIndex = 6 118 | Me.Button7.Text = "8" 119 | Me.Button7.UseVisualStyleBackColor = True 120 | ' 121 | 'Button8 122 | ' 123 | Me.Button8.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 124 | Me.Button8.Location = New System.Drawing.Point(160, 200) 125 | Me.Button8.Name = "Button8" 126 | Me.Button8.Size = New System.Drawing.Size(47, 46) 127 | Me.Button8.TabIndex = 7 128 | Me.Button8.Text = "6" 129 | Me.Button8.UseVisualStyleBackColor = True 130 | ' 131 | 'Button9 132 | ' 133 | Me.Button9.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 134 | Me.Button9.Location = New System.Drawing.Point(53, 147) 135 | Me.Button9.Name = "Button9" 136 | Me.Button9.Size = New System.Drawing.Size(47, 46) 137 | Me.Button9.TabIndex = 8 138 | Me.Button9.Text = "7" 139 | Me.Button9.UseVisualStyleBackColor = True 140 | ' 141 | 'Button10 142 | ' 143 | Me.Button10.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 144 | Me.Button10.Location = New System.Drawing.Point(160, 148) 145 | Me.Button10.Name = "Button10" 146 | Me.Button10.Size = New System.Drawing.Size(47, 46) 147 | Me.Button10.TabIndex = 9 148 | Me.Button10.Text = "9" 149 | Me.Button10.UseVisualStyleBackColor = True 150 | ' 151 | 'Button11 152 | ' 153 | Me.Button11.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 154 | Me.Button11.Location = New System.Drawing.Point(159, 305) 155 | Me.Button11.Name = "Button11" 156 | Me.Button11.Size = New System.Drawing.Size(47, 46) 157 | Me.Button11.TabIndex = 10 158 | Me.Button11.Text = "." 159 | Me.Button11.UseVisualStyleBackColor = True 160 | ' 161 | 'Button12 162 | ' 163 | Me.Button12.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 164 | Me.Button12.Location = New System.Drawing.Point(214, 253) 165 | Me.Button12.Name = "Button12" 166 | Me.Button12.Size = New System.Drawing.Size(48, 98) 167 | Me.Button12.TabIndex = 11 168 | Me.Button12.Text = "=" 169 | Me.Button12.UseVisualStyleBackColor = True 170 | ' 171 | 'Button13 172 | ' 173 | Me.Button13.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 174 | Me.Button13.Location = New System.Drawing.Point(215, 200) 175 | Me.Button13.Name = "Button13" 176 | Me.Button13.Size = New System.Drawing.Size(47, 46) 177 | Me.Button13.TabIndex = 12 178 | Me.Button13.Text = "+" 179 | Me.Button13.UseVisualStyleBackColor = True 180 | ' 181 | 'Button14 182 | ' 183 | Me.Button14.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 184 | Me.Button14.Location = New System.Drawing.Point(214, 147) 185 | Me.Button14.Name = "Button14" 186 | Me.Button14.Size = New System.Drawing.Size(47, 46) 187 | Me.Button14.TabIndex = 13 188 | Me.Button14.Text = "-" 189 | Me.Button14.UseVisualStyleBackColor = True 190 | ' 191 | 'Button15 192 | ' 193 | Me.Button15.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 194 | Me.Button15.Location = New System.Drawing.Point(53, 94) 195 | Me.Button15.Name = "Button15" 196 | Me.Button15.Size = New System.Drawing.Size(47, 46) 197 | Me.Button15.TabIndex = 14 198 | Me.Button15.Text = "*" 199 | Me.Button15.UseVisualStyleBackColor = True 200 | ' 201 | 'Button16 202 | ' 203 | Me.Button16.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 204 | Me.Button16.Location = New System.Drawing.Point(106, 94) 205 | Me.Button16.Name = "Button16" 206 | Me.Button16.Size = New System.Drawing.Size(47, 46) 207 | Me.Button16.TabIndex = 15 208 | Me.Button16.Text = "/" 209 | Me.Button16.UseVisualStyleBackColor = True 210 | ' 211 | 'Button17 212 | ' 213 | Me.Button17.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 214 | Me.Button17.Location = New System.Drawing.Point(160, 94) 215 | Me.Button17.Name = "Button17" 216 | Me.Button17.Size = New System.Drawing.Size(47, 46) 217 | Me.Button17.TabIndex = 16 218 | Me.Button17.Text = "1/x" 219 | Me.Button17.UseVisualStyleBackColor = True 220 | ' 221 | 'Button18 222 | ' 223 | Me.Button18.Font = New System.Drawing.Font("Microsoft Sans Serif", 16.0!, System.Drawing.FontStyle.Bold) 224 | Me.Button18.Location = New System.Drawing.Point(214, 94) 225 | Me.Button18.Name = "Button18" 226 | Me.Button18.Size = New System.Drawing.Size(47, 46) 227 | Me.Button18.TabIndex = 17 228 | Me.Button18.Text = "C" 229 | Me.Button18.UseVisualStyleBackColor = True 230 | ' 231 | 'TextBox1 232 | ' 233 | Me.TextBox1.Font = New System.Drawing.Font("Microsoft Sans Serif", 18.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 234 | Me.TextBox1.Location = New System.Drawing.Point(53, 37) 235 | Me.TextBox1.Name = "TextBox1" 236 | Me.TextBox1.Size = New System.Drawing.Size(276, 35) 237 | Me.TextBox1.TabIndex = 18 238 | Me.TextBox1.Text = "0" 239 | Me.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right 240 | ' 241 | 'Button19 242 | ' 243 | Me.Button19.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 244 | Me.Button19.Location = New System.Drawing.Point(267, 96) 245 | Me.Button19.Name = "Button19" 246 | Me.Button19.Size = New System.Drawing.Size(62, 44) 247 | Me.Button19.TabIndex = 19 248 | Me.Button19.Text = "log x" 249 | Me.Button19.UseVisualStyleBackColor = True 250 | ' 251 | 'Button20 252 | ' 253 | Me.Button20.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 254 | Me.Button20.Location = New System.Drawing.Point(267, 148) 255 | Me.Button20.Name = "Button20" 256 | Me.Button20.Size = New System.Drawing.Size(62, 45) 257 | Me.Button20.TabIndex = 20 258 | Me.Button20.Text = "sin x" 259 | Me.Button20.UseVisualStyleBackColor = True 260 | ' 261 | 'Button21 262 | ' 263 | Me.Button21.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 264 | Me.Button21.Location = New System.Drawing.Point(268, 200) 265 | Me.Button21.Name = "Button21" 266 | Me.Button21.Size = New System.Drawing.Size(61, 46) 267 | Me.Button21.TabIndex = 21 268 | Me.Button21.Text = "cos x" 269 | Me.Button21.UseVisualStyleBackColor = True 270 | ' 271 | 'Button22 272 | ' 273 | Me.Button22.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 274 | Me.Button22.Location = New System.Drawing.Point(267, 252) 275 | Me.Button22.Name = "Button22" 276 | Me.Button22.Size = New System.Drawing.Size(62, 47) 277 | Me.Button22.TabIndex = 22 278 | Me.Button22.Text = "tan x" 279 | Me.Button22.UseVisualStyleBackColor = True 280 | ' 281 | 'Button23 282 | ' 283 | Me.Button23.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 284 | Me.Button23.Location = New System.Drawing.Point(267, 304) 285 | Me.Button23.Name = "Button23" 286 | Me.Button23.Size = New System.Drawing.Size(62, 47) 287 | Me.Button23.TabIndex = 23 288 | Me.Button23.Text = "√x" 289 | Me.Button23.UseVisualStyleBackColor = True 290 | ' 291 | 'Form1 292 | ' 293 | Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!) 294 | Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font 295 | Me.BackColor = System.Drawing.SystemColors.ActiveCaption 296 | Me.ClientSize = New System.Drawing.Size(365, 390) 297 | Me.Controls.Add(Me.Button23) 298 | Me.Controls.Add(Me.Button22) 299 | Me.Controls.Add(Me.Button21) 300 | Me.Controls.Add(Me.Button20) 301 | Me.Controls.Add(Me.Button19) 302 | Me.Controls.Add(Me.TextBox1) 303 | Me.Controls.Add(Me.Button18) 304 | Me.Controls.Add(Me.Button17) 305 | Me.Controls.Add(Me.Button16) 306 | Me.Controls.Add(Me.Button15) 307 | Me.Controls.Add(Me.Button14) 308 | Me.Controls.Add(Me.Button13) 309 | Me.Controls.Add(Me.Button12) 310 | Me.Controls.Add(Me.Button11) 311 | Me.Controls.Add(Me.Button10) 312 | Me.Controls.Add(Me.Button9) 313 | Me.Controls.Add(Me.Button8) 314 | Me.Controls.Add(Me.Button7) 315 | Me.Controls.Add(Me.Button6) 316 | Me.Controls.Add(Me.Button5) 317 | Me.Controls.Add(Me.Button4) 318 | Me.Controls.Add(Me.Button3) 319 | Me.Controls.Add(Me.Button2) 320 | Me.Controls.Add(Me.Button1) 321 | Me.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 322 | Me.Name = "Form1" 323 | Me.Text = "Calculator" 324 | Me.ResumeLayout(False) 325 | Me.PerformLayout() 326 | 327 | End Sub 328 | Friend WithEvents Button1 As System.Windows.Forms.Button 329 | Friend WithEvents Button2 As System.Windows.Forms.Button 330 | Friend WithEvents Button3 As System.Windows.Forms.Button 331 | Friend WithEvents Button4 As System.Windows.Forms.Button 332 | Friend WithEvents Button5 As System.Windows.Forms.Button 333 | Friend WithEvents Button6 As System.Windows.Forms.Button 334 | Friend WithEvents Button7 As System.Windows.Forms.Button 335 | Friend WithEvents Button8 As System.Windows.Forms.Button 336 | Friend WithEvents Button9 As System.Windows.Forms.Button 337 | Friend WithEvents Button10 As System.Windows.Forms.Button 338 | Friend WithEvents Button11 As System.Windows.Forms.Button 339 | Friend WithEvents Button12 As System.Windows.Forms.Button 340 | Friend WithEvents Button13 As System.Windows.Forms.Button 341 | Friend WithEvents Button14 As System.Windows.Forms.Button 342 | Friend WithEvents Button15 As System.Windows.Forms.Button 343 | Friend WithEvents Button16 As System.Windows.Forms.Button 344 | Friend WithEvents Button17 As System.Windows.Forms.Button 345 | Friend WithEvents Button18 As System.Windows.Forms.Button 346 | Friend WithEvents TextBox1 As System.Windows.Forms.TextBox 347 | Friend WithEvents Button19 As System.Windows.Forms.Button 348 | Friend WithEvents Button20 As System.Windows.Forms.Button 349 | Friend WithEvents Button21 As System.Windows.Forms.Button 350 | Friend WithEvents Button22 As System.Windows.Forms.Button 351 | Friend WithEvents Button23 As System.Windows.Forms.Button 352 | 353 | End Class 354 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/Form1.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 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/Form1.vb: -------------------------------------------------------------------------------- 1 | Public Class Form1 2 | Dim temp As String = "" 3 | Dim first As Double = 0 4 | Dim second As Double = 0 5 | Dim op As String 6 | Dim tempop As Double 7 | Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 8 | temp = TextBox1.Text 9 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 10 | TextBox1.Text = "0" 11 | Else 12 | TextBox1.Text = temp + "0" 13 | End If 14 | End Sub 15 | 16 | Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click 17 | temp = TextBox1.Text 18 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 19 | TextBox1.Text = "1" 20 | Else 21 | TextBox1.Text = temp + "1" 22 | End If 23 | End Sub 24 | 25 | Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click 26 | temp = TextBox1.Text 27 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 28 | TextBox1.Text = "2" 29 | Else 30 | TextBox1.Text = temp + "2" 31 | End If 32 | End Sub 33 | 34 | Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click 35 | temp = TextBox1.Text 36 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 37 | TextBox1.Text = "3" 38 | Else 39 | TextBox1.Text = temp + "3" 40 | End If 41 | End Sub 42 | 43 | Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click 44 | temp = TextBox1.Text 45 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 46 | TextBox1.Text = "4" 47 | Else 48 | TextBox1.Text = temp + "4" 49 | End If 50 | End Sub 51 | 52 | Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click 53 | temp = TextBox1.Text 54 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 55 | TextBox1.Text = "5" 56 | Else 57 | TextBox1.Text = temp + "5" 58 | End If 59 | End Sub 60 | 61 | Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click 62 | temp = TextBox1.Text 63 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 64 | TextBox1.Text = "6" 65 | Else 66 | TextBox1.Text = temp + "6" 67 | End If 68 | End Sub 69 | 70 | Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click 71 | temp = TextBox1.Text 72 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 73 | TextBox1.Text = "7" 74 | Else 75 | TextBox1.Text = temp + "7" 76 | End If 77 | End Sub 78 | 79 | Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click 80 | temp = TextBox1.Text 81 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 82 | TextBox1.Text = "8" 83 | Else 84 | TextBox1.Text = temp + "8" 85 | End If 86 | End Sub 87 | 88 | Private Sub Button10_Click(sender As Object, e As EventArgs) Handles Button10.Click 89 | temp = TextBox1.Text 90 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 91 | TextBox1.Text = "9" 92 | Else 93 | TextBox1.Text = temp + "9" 94 | End If 95 | End Sub 96 | 97 | Private Sub Button11_Click(sender As Object, e As EventArgs) Handles Button11.Click 98 | temp = TextBox1.Text 99 | If temp = "0" Or temp = "+" Or temp = "-" Or temp = "*" Or temp = "/" Then 100 | TextBox1.Text = "0." 101 | Else 102 | TextBox1.Text = temp + "." 103 | End If 104 | Button11.Enabled = False 105 | End Sub 106 | 107 | Private Sub Button18_Click(sender As Object, e As EventArgs) Handles Button18.Click 108 | TextBox1.Text = "0" 109 | Button11.Enabled = True 110 | End Sub 111 | 112 | Private Sub Button13_Click(sender As Object, e As EventArgs) Handles Button13.Click 113 | first = CDbl(TextBox1.Text) 114 | TextBox1.Text = "+" 115 | op = "+" 116 | Button11.Enabled = True 117 | End Sub 118 | 119 | Private Sub Button14_Click(sender As Object, e As EventArgs) Handles Button14.Click 120 | first = CDbl(TextBox1.Text) 121 | TextBox1.Text = "-" 122 | op = "-" 123 | Button11.Enabled = True 124 | End Sub 125 | 126 | Private Sub Button15_Click(sender As Object, e As EventArgs) Handles Button15.Click 127 | first = CDbl(TextBox1.Text) 128 | TextBox1.Text = "*" 129 | op = "*" 130 | Button11.Enabled = True 131 | End Sub 132 | 133 | Private Sub Button16_Click(sender As Object, e As EventArgs) Handles Button16.Click 134 | first = CDbl(TextBox1.Text) 135 | TextBox1.Text = "/" 136 | op = "/" 137 | Button11.Enabled = True 138 | End Sub 139 | 140 | Private Sub Button17_Click(sender As Object, e As EventArgs) Handles Button17.Click 141 | first = CDbl(TextBox1.Text) 142 | TextBox1.Text = 1 / first 143 | Button11.Enabled = True 144 | End Sub 145 | 146 | Private Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click 147 | second = CDbl(TextBox1.Text) 148 | If op = "+" Then 149 | TextBox1.Text = first + second 150 | ElseIf op = "-" Then 151 | If first > second Then 152 | tempop = first - second 153 | TextBox1.Text = tempop 154 | Else 155 | tempop = second - first 156 | TextBox1.Text = "-" + CStr(tempop) 157 | End If 158 | 'MsgBox(tempop) 159 | ElseIf op = "*" Then 160 | TextBox1.Text = first * second 161 | ElseIf op = "/" Then 162 | If second = 0 Then 163 | TextBox1.Text = "Error" 164 | Else 165 | TextBox1.Text = first / second 166 | End If 167 | 168 | End If 169 | Button11.Enabled = True 170 | 171 | End Sub 172 | 173 | Private Sub Button19_Click(sender As Object, e As EventArgs) Handles Button19.Click 174 | first = CDbl(TextBox1.Text) 175 | TextBox1.Text = Math.Log10(first) 176 | Button11.Enabled = True 177 | End Sub 178 | 179 | Private Sub Button20_Click(sender As Object, e As EventArgs) Handles Button20.Click 180 | first = CDbl(TextBox1.Text) 181 | TextBox1.Text = Math.Sin(first) 182 | Button11.Enabled = True 183 | End Sub 184 | 185 | Private Sub Button21_Click(sender As Object, e As EventArgs) Handles Button21.Click 186 | first = CDbl(TextBox1.Text) 187 | TextBox1.Text = Math.Cos(first) 188 | Button11.Enabled = True 189 | End Sub 190 | 191 | Private Sub Button22_Click(sender As Object, e As EventArgs) Handles Button22.Click 192 | first = CDbl(TextBox1.Text) 193 | TextBox1.Text = Math.Tan(first) 194 | Button11.Enabled = True 195 | End Sub 196 | 197 | Private Sub Button23_Click(sender As Object, e As EventArgs) Handles Button23.Click 198 | first = CDbl(TextBox1.Text) 199 | TextBox1.Text = Math.Sqrt(first) 200 | Button11.Enabled = True 201 | End Sub 202 | End Class 203 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.Calculator.Form1 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | Form1 5 | false 6 | 0 7 | true 8 | 0 9 | 0 10 | true 11 | 12 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My.Resources 16 | 17 | 'This class was auto-generated by the StronglyTypedResourceBuilder 18 | 'class via a tool like ResGen or Visual Studio. 19 | 'To add or remove a member, edit your .ResX file then rerun ResGen 20 | 'with the /str option, or rebuild your VS project. 21 | ''' 22 | ''' A strongly-typed resource class, for looking up localized strings, etc. 23 | ''' 24 | _ 28 | Friend Module Resources 29 | 30 | Private resourceMan As Global.System.Resources.ResourceManager 31 | 32 | Private resourceCulture As Global.System.Globalization.CultureInfo 33 | 34 | ''' 35 | ''' Returns the cached ResourceManager instance used by this class. 36 | ''' 37 | _ 38 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 39 | Get 40 | If Object.ReferenceEquals(resourceMan, Nothing) Then 41 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Calculator.Resources", GetType(Resources).Assembly) 42 | resourceMan = temp 43 | End If 44 | Return resourceMan 45 | End Get 46 | End Property 47 | 48 | ''' 49 | ''' Overrides the current thread's CurrentUICulture property for all 50 | ''' resource lookups using this strongly typed resource class. 51 | ''' 52 | _ 53 | Friend Property Culture() As Global.System.Globalization.CultureInfo 54 | Get 55 | Return resourceCulture 56 | End Get 57 | Set(ByVal value As Global.System.Globalization.CultureInfo) 58 | resourceCulture = value 59 | End Set 60 | End Property 61 | End Module 62 | End Namespace 63 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/My Project/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | _ 20 | Partial Friend NotInheritable Class MySettings 21 | Inherits Global.System.Configuration.ApplicationSettingsBase 22 | 23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) 24 | 25 | #Region "My.Settings Auto-Save Functionality" 26 | #If _MyType = "WindowsForms" Then 27 | Private Shared addedHandler As Boolean 28 | 29 | Private Shared addedHandlerLockObject As New Object 30 | 31 | _ 32 | Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) 33 | If My.Application.SaveMySettingsOnExit Then 34 | My.Settings.Save() 35 | End If 36 | End Sub 37 | #End If 38 | #End Region 39 | 40 | Public Shared ReadOnly Property [Default]() As MySettings 41 | Get 42 | 43 | #If _MyType = "WindowsForms" Then 44 | If Not addedHandler Then 45 | SyncLock addedHandlerLockObject 46 | If Not addedHandler Then 47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 48 | addedHandler = True 49 | End If 50 | End SyncLock 51 | End If 52 | #End If 53 | Return defaultInstance 54 | End Get 55 | End Property 56 | End Class 57 | End Namespace 58 | 59 | Namespace My 60 | 61 | _ 64 | Friend Module MySettingsProperty 65 | 66 | _ 67 | Friend ReadOnly Property Settings() As Global.Calculator.My.MySettings 68 | Get 69 | Return Global.Calculator.My.MySettings.Default 70 | End Get 71 | End Property 72 | End Module 73 | End Namespace 74 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/bin/Debug/Calculator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/bin/Debug/Calculator.exe -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/bin/Debug/Calculator.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/bin/Debug/Calculator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/bin/Debug/Calculator.pdb -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/bin/Debug/Calculator.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/bin/Debug/Calculator.vshost.exe -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/bin/Debug/Calculator.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/bin/Debug/Calculator.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/bin/Debug/Calculator.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Calculator 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/Calculator.Form1.resources -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/Calculator.Resources.resources -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/Calculator.exe -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/Calculator.pdb -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\bin\Debug\Calculator.exe.config 2 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\bin\Debug\Calculator.exe 3 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\bin\Debug\Calculator.pdb 4 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\bin\Debug\Calculator.xml 5 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\obj\Debug\Calculator.Form1.resources 6 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\obj\Debug\Calculator.Resources.resources 7 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\obj\Debug\Calculator.vbproj.GenerateResource.Cache 8 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\obj\Debug\Calculator.exe 9 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\obj\Debug\Calculator.xml 10 | c:\users\amit\documents\visual studio 2013\Projects\Calculator\Calculator\obj\Debug\Calculator.pdb 11 | C:\Users\AMIT\documents\visual studio 2013\Projects\calculator\Calculator\obj\Debug\Calculator.vbprojResolveAssemblyReference.cache 12 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/Calculator.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.vbprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/Calculator.vbprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/Calculator.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Calculator 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /ScientificCalculator/Calculator/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/ScientificCalculator/Calculator/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /ScientificCalculator/readme.md: -------------------------------------------------------------------------------- 1 | This project deals with the scientific calculator 2 | ### Basic calculator 3 | ![screenshot 19](https://cloud.githubusercontent.com/assets/13691876/19919089/6f4acbfa-a0f6-11e6-999f-c5db5e667c55.png) 4 | 5 | -------------------------------------------------------------------------------- /TicTacToe/README.md: -------------------------------------------------------------------------------- 1 | # This Game is played between two players 2 | ### One has to choose O and another X 3 | ### the winner will be decided on the basis of covering either row column and digonal 4 | 5 | ![screenshot 6](https://cloud.githubusercontent.com/assets/13691876/19084710/30dd0798-8a85-11e6-9d15-a69c4c7b9bc0.png) 6 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "TicTacToe", "TicTacToe\TicTacToe.vbproj", "{784D54F0-6BD2-42BB-BD01-BD3FCC225DDE}" 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 | {784D54F0-6BD2-42BB-BD01-BD3FCC225DDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {784D54F0-6BD2-42BB-BD01-BD3FCC225DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {784D54F0-6BD2-42BB-BD01-BD3FCC225DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {784D54F0-6BD2-42BB-BD01-BD3FCC225DDE}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/Form1.Designer.vb: -------------------------------------------------------------------------------- 1 |  _ 2 | Partial Class Form 3 | Inherits System.Windows.Forms.Form 4 | 5 | 'Form overrides dispose to clean up the component list. 6 | _ 7 | Protected Overrides Sub Dispose(ByVal disposing As Boolean) 8 | Try 9 | If disposing AndAlso components IsNot Nothing Then 10 | components.Dispose() 11 | End If 12 | Finally 13 | MyBase.Dispose(disposing) 14 | End Try 15 | End Sub 16 | 17 | 'Required by the Windows Form Designer 18 | Private components As System.ComponentModel.IContainer 19 | 20 | 'NOTE: The following procedure is required by the Windows Form Designer 21 | 'It can be modified using the Windows Form Designer. 22 | 'Do not modify it using the code editor. 23 | _ 24 | Private Sub InitializeComponent() 25 | Me.Button1 = New System.Windows.Forms.Button() 26 | Me.Button2 = New System.Windows.Forms.Button() 27 | Me.Button3 = New System.Windows.Forms.Button() 28 | Me.Button4 = New System.Windows.Forms.Button() 29 | Me.Button5 = New System.Windows.Forms.Button() 30 | Me.Button6 = New System.Windows.Forms.Button() 31 | Me.Button7 = New System.Windows.Forms.Button() 32 | Me.Button8 = New System.Windows.Forms.Button() 33 | Me.Button9 = New System.Windows.Forms.Button() 34 | Me.Label1 = New System.Windows.Forms.Label() 35 | Me.Label2 = New System.Windows.Forms.Label() 36 | Me.Label3 = New System.Windows.Forms.Label() 37 | Me.Label4 = New System.Windows.Forms.Label() 38 | Me.Label5 = New System.Windows.Forms.Label() 39 | Me.Label6 = New System.Windows.Forms.Label() 40 | Me.Label7 = New System.Windows.Forms.Label() 41 | Me.Button10 = New System.Windows.Forms.Button() 42 | Me.SuspendLayout() 43 | ' 44 | 'Button1 45 | ' 46 | Me.Button1.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 47 | Me.Button1.Location = New System.Drawing.Point(69, 37) 48 | Me.Button1.Name = "Button1" 49 | Me.Button1.Size = New System.Drawing.Size(40, 40) 50 | Me.Button1.TabIndex = 0 51 | Me.Button1.UseVisualStyleBackColor = True 52 | ' 53 | 'Button2 54 | ' 55 | Me.Button2.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 56 | Me.Button2.Location = New System.Drawing.Point(114, 37) 57 | Me.Button2.Name = "Button2" 58 | Me.Button2.Size = New System.Drawing.Size(40, 40) 59 | Me.Button2.TabIndex = 1 60 | Me.Button2.UseVisualStyleBackColor = True 61 | ' 62 | 'Button3 63 | ' 64 | Me.Button3.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 65 | Me.Button3.Location = New System.Drawing.Point(160, 37) 66 | Me.Button3.Name = "Button3" 67 | Me.Button3.Size = New System.Drawing.Size(40, 40) 68 | Me.Button3.TabIndex = 2 69 | Me.Button3.UseVisualStyleBackColor = True 70 | ' 71 | 'Button4 72 | ' 73 | Me.Button4.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 74 | Me.Button4.Location = New System.Drawing.Point(69, 83) 75 | Me.Button4.Name = "Button4" 76 | Me.Button4.Size = New System.Drawing.Size(40, 40) 77 | Me.Button4.TabIndex = 3 78 | Me.Button4.UseVisualStyleBackColor = True 79 | ' 80 | 'Button5 81 | ' 82 | Me.Button5.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 83 | Me.Button5.Location = New System.Drawing.Point(114, 83) 84 | Me.Button5.Name = "Button5" 85 | Me.Button5.Size = New System.Drawing.Size(40, 40) 86 | Me.Button5.TabIndex = 4 87 | Me.Button5.UseVisualStyleBackColor = True 88 | ' 89 | 'Button6 90 | ' 91 | Me.Button6.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 92 | Me.Button6.Location = New System.Drawing.Point(160, 83) 93 | Me.Button6.Name = "Button6" 94 | Me.Button6.Size = New System.Drawing.Size(40, 40) 95 | Me.Button6.TabIndex = 5 96 | Me.Button6.UseVisualStyleBackColor = True 97 | ' 98 | 'Button7 99 | ' 100 | Me.Button7.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 101 | Me.Button7.Location = New System.Drawing.Point(69, 129) 102 | Me.Button7.Name = "Button7" 103 | Me.Button7.Size = New System.Drawing.Size(40, 40) 104 | Me.Button7.TabIndex = 6 105 | Me.Button7.UseVisualStyleBackColor = True 106 | ' 107 | 'Button8 108 | ' 109 | Me.Button8.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 110 | Me.Button8.Location = New System.Drawing.Point(115, 129) 111 | Me.Button8.Name = "Button8" 112 | Me.Button8.Size = New System.Drawing.Size(40, 40) 113 | Me.Button8.TabIndex = 7 114 | Me.Button8.UseVisualStyleBackColor = True 115 | ' 116 | 'Button9 117 | ' 118 | Me.Button9.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 119 | Me.Button9.Location = New System.Drawing.Point(161, 129) 120 | Me.Button9.Name = "Button9" 121 | Me.Button9.Size = New System.Drawing.Size(40, 40) 122 | Me.Button9.TabIndex = 8 123 | Me.Button9.UseVisualStyleBackColor = True 124 | ' 125 | 'Label1 126 | ' 127 | Me.Label1.AutoSize = True 128 | Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 129 | Me.Label1.Location = New System.Drawing.Point(242, 37) 130 | Me.Label1.Name = "Label1" 131 | Me.Label1.Size = New System.Drawing.Size(136, 24) 132 | Me.Label1.TabIndex = 9 133 | Me.Label1.Text = "Player Turn : " 134 | ' 135 | 'Label2 136 | ' 137 | Me.Label2.AutoSize = True 138 | Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 139 | Me.Label2.Location = New System.Drawing.Point(374, 37) 140 | Me.Label2.Name = "Label2" 141 | Me.Label2.Size = New System.Drawing.Size(26, 24) 142 | Me.Label2.TabIndex = 10 143 | Me.Label2.Text = "O" 144 | ' 145 | 'Label3 146 | ' 147 | Me.Label3.AutoSize = True 148 | Me.Label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 149 | Me.Label3.Location = New System.Drawing.Point(254, 97) 150 | Me.Label3.Name = "Label3" 151 | Me.Label3.Size = New System.Drawing.Size(65, 24) 152 | Me.Label3.TabIndex = 11 153 | Me.Label3.Text = "Score" 154 | ' 155 | 'Label4 156 | ' 157 | Me.Label4.AutoSize = True 158 | Me.Label4.Location = New System.Drawing.Point(255, 143) 159 | Me.Label4.Name = "Label4" 160 | Me.Label4.Size = New System.Drawing.Size(20, 13) 161 | Me.Label4.TabIndex = 12 162 | Me.Label4.Text = "X :" 163 | ' 164 | 'Label5 165 | ' 166 | Me.Label5.AutoSize = True 167 | Me.Label5.Location = New System.Drawing.Point(255, 168) 168 | Me.Label5.Name = "Label5" 169 | Me.Label5.Size = New System.Drawing.Size(21, 13) 170 | Me.Label5.TabIndex = 13 171 | Me.Label5.Text = "O :" 172 | ' 173 | 'Label6 174 | ' 175 | Me.Label6.AutoSize = True 176 | Me.Label6.Location = New System.Drawing.Point(299, 168) 177 | Me.Label6.Name = "Label6" 178 | Me.Label6.Size = New System.Drawing.Size(13, 13) 179 | Me.Label6.TabIndex = 14 180 | Me.Label6.Text = "0" 181 | ' 182 | 'Label7 183 | ' 184 | Me.Label7.AutoSize = True 185 | Me.Label7.Location = New System.Drawing.Point(299, 143) 186 | Me.Label7.Name = "Label7" 187 | Me.Label7.Size = New System.Drawing.Size(13, 13) 188 | Me.Label7.TabIndex = 15 189 | Me.Label7.Text = "0" 190 | ' 191 | 'Button10 192 | ' 193 | Me.Button10.Location = New System.Drawing.Point(378, 119) 194 | Me.Button10.Name = "Button10" 195 | Me.Button10.Size = New System.Drawing.Size(75, 61) 196 | Me.Button10.TabIndex = 16 197 | Me.Button10.Text = "Reset" 198 | Me.Button10.UseVisualStyleBackColor = True 199 | ' 200 | 'Form 201 | ' 202 | Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) 203 | Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font 204 | Me.ClientSize = New System.Drawing.Size(499, 248) 205 | Me.Controls.Add(Me.Button10) 206 | Me.Controls.Add(Me.Label7) 207 | Me.Controls.Add(Me.Label6) 208 | Me.Controls.Add(Me.Label5) 209 | Me.Controls.Add(Me.Label4) 210 | Me.Controls.Add(Me.Label3) 211 | Me.Controls.Add(Me.Label2) 212 | Me.Controls.Add(Me.Label1) 213 | Me.Controls.Add(Me.Button9) 214 | Me.Controls.Add(Me.Button8) 215 | Me.Controls.Add(Me.Button7) 216 | Me.Controls.Add(Me.Button6) 217 | Me.Controls.Add(Me.Button5) 218 | Me.Controls.Add(Me.Button4) 219 | Me.Controls.Add(Me.Button3) 220 | Me.Controls.Add(Me.Button2) 221 | Me.Controls.Add(Me.Button1) 222 | Me.Name = "Form" 223 | Me.Text = "Tic Tac Toe" 224 | Me.ResumeLayout(False) 225 | Me.PerformLayout() 226 | 227 | End Sub 228 | Friend WithEvents Button1 As System.Windows.Forms.Button 229 | Friend WithEvents Button2 As System.Windows.Forms.Button 230 | Friend WithEvents Button3 As System.Windows.Forms.Button 231 | Friend WithEvents Button4 As System.Windows.Forms.Button 232 | Friend WithEvents Button5 As System.Windows.Forms.Button 233 | Friend WithEvents Button6 As System.Windows.Forms.Button 234 | Friend WithEvents Button7 As System.Windows.Forms.Button 235 | Friend WithEvents Button8 As System.Windows.Forms.Button 236 | Friend WithEvents Button9 As System.Windows.Forms.Button 237 | Friend WithEvents Label1 As System.Windows.Forms.Label 238 | Friend WithEvents Label2 As System.Windows.Forms.Label 239 | Friend WithEvents Label3 As System.Windows.Forms.Label 240 | Friend WithEvents Label4 As System.Windows.Forms.Label 241 | Friend WithEvents Label5 As System.Windows.Forms.Label 242 | Friend WithEvents Label6 As System.Windows.Forms.Label 243 | Friend WithEvents Label7 As System.Windows.Forms.Label 244 | Friend WithEvents Button10 As System.Windows.Forms.Button 245 | 246 | End Class 247 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/Form1.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 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/Form1.vb: -------------------------------------------------------------------------------- 1 | Public Class Form 2 | 3 | Dim turn As Integer 4 | Private Sub Form_Load(sender As Object, e As EventArgs) Handles MyBase.Load 5 | turn = 1 6 | End Sub 7 | Private Sub Win() 8 | If Button1.Text = "X" And Button2.Text = "X" And Button3.Text = "X" Then 9 | MsgBox("player X wins") 10 | Label7.Text += 1 11 | Call disablebuttons() 12 | ElseIf Button4.Text = "X" And Button5.Text = "X" And Button6.Text = "X" Then 13 | MsgBox("player X wins") 14 | Label7.Text += 1 15 | Call disablebuttons() 16 | ElseIf Button7.Text = "X" And Button8.Text = "X" And Button9.Text = "X" Then 17 | MsgBox("player X wins") 18 | Label7.Text += 1 19 | Call disablebuttons() 20 | ElseIf Button1.Text = "X" And Button4.Text = "X" And Button7.Text = "X" Then 21 | MsgBox("player X wins") 22 | Label7.Text += 1 23 | Call disablebuttons() 24 | ElseIf Button2.Text = "X" And Button5.Text = "X" And Button8.Text = "X" Then 25 | MsgBox("player X wins") 26 | Label7.Text += 1 27 | Call disablebuttons() 28 | ElseIf Button3.Text = "X" And Button6.Text = "X" And Button9.Text = "X" Then 29 | MsgBox("player X wins") 30 | Label7.Text += 1 31 | Call disablebuttons() 32 | ElseIf Button1.Text = "X" And Button5.Text = "X" And Button9.Text = "X" Then 33 | MsgBox("player X wins") 34 | Label7.Text += 1 35 | Call disablebuttons() 36 | ElseIf Button3.Text = "X" And Button5.Text = "X" And Button7.Text = "X" Then 37 | MsgBox("player X wins") 38 | Label7.Text += 1 39 | Call disablebuttons() 40 | '' for O doing the above things 41 | ElseIf Button1.Text = "O" And Button2.Text = "O" And Button3.Text = "O" Then 42 | MsgBox("player O wins") 43 | Label6.Text += 1 44 | Call disablebuttons() 45 | ElseIf Button4.Text = "O" And Button5.Text = "O" And Button6.Text = "O" Then 46 | MsgBox("player X wins") 47 | Label6.Text += 1 48 | Call disablebuttons() 49 | ElseIf Button7.Text = "O" And Button8.Text = "O" And Button9.Text = "O" Then 50 | MsgBox("player O wins") 51 | Label6.Text += 1 52 | Call disablebuttons() 53 | ElseIf Button1.Text = "O" And Button4.Text = "O" And Button7.Text = "O" Then 54 | MsgBox("player O wins") 55 | Label6.Text += 1 56 | Call disablebuttons() 57 | ElseIf Button2.Text = "O" And Button5.Text = "O" And Button8.Text = "O" Then 58 | MsgBox("player O wins") 59 | Label6.Text += 1 60 | Call disablebuttons() 61 | ElseIf Button3.Text = "O" And Button6.Text = "O" And Button9.Text = "O" Then 62 | MsgBox("player O wins") 63 | Label6.Text += 1 64 | Call disablebuttons() 65 | ElseIf Button1.Text = "O" And Button5.Text = "O" And Button9.Text = "O" Then 66 | MsgBox("player O wins") 67 | Label6.Text += 1 68 | Call disablebuttons() 69 | ElseIf Button3.Text = "O" And Button5.Text = "O" And Button7.Text = "O" Then 70 | MsgBox("player O wins") 71 | Label6.Text += 1 72 | Call disablebuttons() 73 | End If 74 | End Sub 75 | Private Sub disablebuttons() 76 | Button1.Enabled = False 77 | Button2.Enabled = False 78 | Button3.Enabled = False 79 | Button4.Enabled = False 80 | Button5.Enabled = False 81 | Button9.Enabled = False 82 | Button6.Enabled = False 83 | Button7.Enabled = False 84 | Button8.Enabled = False 85 | End Sub 86 | Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 87 | If turn = 1 Then 88 | Button1.Text = "O" 89 | Label2.Text = "X" 90 | Else 91 | Button1.Text = "X" 92 | Label2.Text = "O" 93 | End If 94 | turn += 1 95 | If turn > 2 Then 96 | turn = 1 97 | End If 98 | Call Win() 99 | Button1.Enabled = False 100 | End Sub 101 | 102 | Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click 103 | If turn = 1 Then 104 | Button2.Text = "O" 105 | Label2.Text = "X" 106 | Else 107 | Button2.Text = "X" 108 | Label2.Text = "O" 109 | End If 110 | turn += 1 111 | If turn > 2 Then 112 | turn = 1 113 | End If 114 | Call Win() 115 | Button2.Enabled = False 116 | End Sub 117 | 118 | Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click 119 | If turn = 1 Then 120 | Button3.Text = "O" 121 | Label2.Text = "X" 122 | Else 123 | Button3.Text = "X" 124 | Label2.Text = "O" 125 | End If 126 | turn += 1 127 | If turn > 2 Then 128 | turn = 1 129 | End If 130 | Call Win() 131 | Button3.Enabled = False 132 | End Sub 133 | 134 | Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click 135 | If turn = 1 Then 136 | Button4.Text = "O" 137 | Label2.Text = "X" 138 | Else 139 | Button4.Text = "X" 140 | Label2.Text = "O" 141 | End If 142 | turn += 1 143 | If turn > 2 Then 144 | turn = 1 145 | End If 146 | Call Win() 147 | Button4.Enabled = False 148 | End Sub 149 | 150 | Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click 151 | If turn = 1 Then 152 | Button5.Text = "O" 153 | Label2.Text = "X" 154 | Else 155 | Button5.Text = "X" 156 | Label2.Text = "O" 157 | End If 158 | turn += 1 159 | If turn > 2 Then 160 | turn = 1 161 | End If 162 | Call Win() 163 | Button5.Enabled = False 164 | End Sub 165 | 166 | Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click 167 | If turn = 1 Then 168 | Button6.Text = "O" 169 | Label2.Text = "X" 170 | Else 171 | Button6.Text = "X" 172 | Label2.Text = "O" 173 | End If 174 | turn += 1 175 | If turn > 2 Then 176 | turn = 1 177 | End If 178 | Call Win() 179 | Button6.Enabled = False 180 | End Sub 181 | 182 | Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click 183 | If turn = 1 Then 184 | Button7.Text = "O" 185 | Label2.Text = "X" 186 | Else 187 | Button7.Text = "X" 188 | Label2.Text = "O" 189 | End If 190 | turn += 1 191 | If turn > 2 Then 192 | turn = 1 193 | End If 194 | Call Win() 195 | Button7.Enabled = False 196 | End Sub 197 | 198 | Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click 199 | If turn = 1 Then 200 | Button8.Text = "O" 201 | Label2.Text = "X" 202 | Else 203 | Button8.Text = "X" 204 | Label2.Text = "O" 205 | End If 206 | turn += 1 207 | If turn > 2 Then 208 | turn = 1 209 | End If 210 | Call Win() 211 | Button8.Enabled = False 212 | End Sub 213 | 214 | Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click 215 | If turn = 1 Then 216 | Button9.Text = "O" 217 | Label2.Text = "X" 218 | Else 219 | Button9.Text = "X" 220 | Label2.Text = "O" 221 | End If 222 | turn += 1 223 | If turn > 2 Then 224 | turn = 1 225 | End If 226 | Call Win() 227 | Button9.Enabled = False 228 | End Sub 229 | 230 | Private Sub Button10_Click(sender As Object, e As EventArgs) Handles Button10.Click 231 | Button1.Text = "" 232 | Button1.Enabled = True 233 | Button2.Text = "" 234 | Button2.Enabled = True 235 | Button3.Text = "" 236 | Button3.Enabled = True 237 | Button4.Text = "" 238 | Button4.Enabled = True 239 | Button5.Text = "" 240 | Button5.Enabled = True 241 | Button6.Text = "" 242 | Button6.Enabled = True 243 | Button7.Text = "" 244 | Button7.Enabled = True 245 | Button8.Text = "" 246 | Button8.Enabled = True 247 | Button9.Text = "" 248 | Button9.Enabled = True 249 | End Sub 250 | End Class 251 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.TicTacToe.Form 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | Form 5 | false 6 | 0 7 | true 8 | 0 9 | true 10 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My.Resources 16 | 17 | 'This class was auto-generated by the StronglyTypedResourceBuilder 18 | 'class via a tool like ResGen or Visual Studio. 19 | 'To add or remove a member, edit your .ResX file then rerun ResGen 20 | 'with the /str option, or rebuild your VS project. 21 | ''' 22 | ''' A strongly-typed resource class, for looking up localized strings, etc. 23 | ''' 24 | _ 28 | Friend Module Resources 29 | 30 | Private resourceMan As Global.System.Resources.ResourceManager 31 | 32 | Private resourceCulture As Global.System.Globalization.CultureInfo 33 | 34 | ''' 35 | ''' Returns the cached ResourceManager instance used by this class. 36 | ''' 37 | _ 38 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 39 | Get 40 | If Object.ReferenceEquals(resourceMan, Nothing) Then 41 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("TicTacToe.Resources", GetType(Resources).Assembly) 42 | resourceMan = temp 43 | End If 44 | Return resourceMan 45 | End Get 46 | End Property 47 | 48 | ''' 49 | ''' Overrides the current thread's CurrentUICulture property for all 50 | ''' resource lookups using this strongly typed resource class. 51 | ''' 52 | _ 53 | Friend Property Culture() As Global.System.Globalization.CultureInfo 54 | Get 55 | Return resourceCulture 56 | End Get 57 | Set(ByVal value As Global.System.Globalization.CultureInfo) 58 | resourceCulture = value 59 | End Set 60 | End Property 61 | End Module 62 | End Namespace 63 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/My Project/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | _ 20 | Partial Friend NotInheritable Class MySettings 21 | Inherits Global.System.Configuration.ApplicationSettingsBase 22 | 23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) 24 | 25 | #Region "My.Settings Auto-Save Functionality" 26 | #If _MyType = "WindowsForms" Then 27 | Private Shared addedHandler As Boolean 28 | 29 | Private Shared addedHandlerLockObject As New Object 30 | 31 | _ 32 | Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) 33 | If My.Application.SaveMySettingsOnExit Then 34 | My.Settings.Save() 35 | End If 36 | End Sub 37 | #End If 38 | #End Region 39 | 40 | Public Shared ReadOnly Property [Default]() As MySettings 41 | Get 42 | 43 | #If _MyType = "WindowsForms" Then 44 | If Not addedHandler Then 45 | SyncLock addedHandlerLockObject 46 | If Not addedHandler Then 47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 48 | addedHandler = True 49 | End If 50 | End SyncLock 51 | End If 52 | #End If 53 | Return defaultInstance 54 | End Get 55 | End Property 56 | End Class 57 | End Namespace 58 | 59 | Namespace My 60 | 61 | _ 64 | Friend Module MySettingsProperty 65 | 66 | _ 67 | Friend ReadOnly Property Settings() As Global.TicTacToe.My.MySettings 68 | Get 69 | Return Global.TicTacToe.My.MySettings.Default 70 | End Get 71 | End Property 72 | End Module 73 | End Namespace 74 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/TicTacToe.vbproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {784D54F0-6BD2-42BB-BD01-BD3FCC225DDE} 8 | WinExe 9 | TicTacToe.My.MyApplication 10 | TicTacToe 11 | TicTacToe 12 | 512 13 | WindowsForms 14 | v4.5 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | true 21 | true 22 | bin\Debug\ 23 | TicTacToe.xml 24 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | false 30 | true 31 | true 32 | bin\Release\ 33 | TicTacToe.xml 34 | 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 35 | 36 | 37 | On 38 | 39 | 40 | Binary 41 | 42 | 43 | Off 44 | 45 | 46 | On 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | Form 75 | 76 | 77 | Form1.vb 78 | Form 79 | 80 | 81 | 82 | True 83 | Application.myapp 84 | 85 | 86 | True 87 | True 88 | Resources.resx 89 | 90 | 91 | True 92 | Settings.settings 93 | True 94 | 95 | 96 | 97 | 98 | Form1.vb 99 | 100 | 101 | VbMyResourcesResXFileCodeGenerator 102 | Resources.Designer.vb 103 | My.Resources 104 | Designer 105 | 106 | 107 | 108 | 109 | MyApplicationCodeGenerator 110 | Application.Designer.vb 111 | 112 | 113 | SettingsSingleFileGenerator 114 | My 115 | Settings.Designer.vb 116 | 117 | 118 | 119 | 120 | 127 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/bin/Debug/TicTacToe.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/bin/Debug/TicTacToe.exe -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/bin/Debug/TicTacToe.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/bin/Debug/TicTacToe.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/bin/Debug/TicTacToe.pdb -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/bin/Debug/TicTacToe.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/bin/Debug/TicTacToe.vshost.exe -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/bin/Debug/TicTacToe.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/bin/Debug/TicTacToe.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/bin/Debug/TicTacToe.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | TicTacToe 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.Form.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/TicTacToe.Form.resources -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/TicTacToe.Resources.resources -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/TicTacToe.exe -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/TicTacToe.pdb -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\bin\Debug\TicTacToe.exe.config 2 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\obj\Debug\TicTacToe.Form.resources 3 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\obj\Debug\TicTacToe.Resources.resources 4 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\obj\Debug\TicTacToe.vbproj.GenerateResource.Cache 5 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\bin\Debug\TicTacToe.exe 6 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\bin\Debug\TicTacToe.pdb 7 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\bin\Debug\TicTacToe.xml 8 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\obj\Debug\TicTacToe.exe 9 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\obj\Debug\TicTacToe.xml 10 | c:\users\amit\documents\visual studio 2013\Projects\TicTacToe\TicTacToe\obj\Debug\TicTacToe.pdb 11 | C:\Users\AMIT\Documents\Visual Studio 2013\Projects\TicTacToe\TicTacToe\obj\Debug\TicTacToe.vbprojResolveAssemblyReference.cache 12 | -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/TicTacToe.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.vbprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitkm9204/ProjectsOnVisualStudio/d3c1d4d9d23b420d8cbf666454dd96708b85e00b/TicTacToe/TicTacToe/obj/Debug/TicTacToe.vbprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /TicTacToe/TicTacToe/obj/Debug/TicTacToe.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | TicTacToe 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | --------------------------------------------------------------------------------