From 5180e2536b557b5604450a91ea942cbe5023a7dc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 12 Apr 2020 15:26:00 +0300 Subject: Added all coding projects from school done until now --- Visual Basic Projects/BMI/BMI.sln | 20 +++ Visual Basic Projects/BMI/BMI.v11.suo | Bin 0 -> 24576 bytes Visual Basic Projects/BMI/BMI/App.config | 6 + Visual Basic Projects/BMI/BMI/BMI.vbproj | 127 +++++++++++++++++++ Visual Basic Projects/BMI/BMI/BMI.vbproj.user | 3 + Visual Basic Projects/BMI/BMI/Form1.Designer.vb | 137 +++++++++++++++++++++ Visual Basic Projects/BMI/BMI/Form1.resx | 120 ++++++++++++++++++ Visual Basic Projects/BMI/BMI/Form1.vb | 26 ++++ .../BMI/BMI/My Project/Application.Designer.vb | 38 ++++++ .../BMI/BMI/My Project/Application.myapp | 11 ++ .../BMI/BMI/My Project/AssemblyInfo.vb | 35 ++++++ .../BMI/BMI/My Project/Resources.Designer.vb | 62 ++++++++++ .../BMI/BMI/My Project/Resources.resx | 117 ++++++++++++++++++ .../BMI/BMI/My Project/Settings.Designer.vb | 73 +++++++++++ .../BMI/BMI/My Project/Settings.settings | 7 ++ Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe | Bin 0 -> 33792 bytes .../BMI/BMI/bin/Debug/BMI.exe.config | 6 + Visual Basic Projects/BMI/BMI/bin/Debug/BMI.pdb | Bin 0 -> 46592 bytes .../BMI/BMI/bin/Debug/BMI.vshost.exe | Bin 0 -> 22984 bytes .../BMI/BMI/bin/Debug/BMI.vshost.exe.config | 6 + Visual Basic Projects/BMI/BMI/bin/Debug/BMI.xml | 24 ++++ .../BMI/BMI/obj/Debug/BMI.Form1.resources | Bin 0 -> 180 bytes .../BMI/BMI/obj/Debug/BMI.Resources.resources | Bin 0 -> 180 bytes Visual Basic Projects/BMI/BMI/obj/Debug/BMI.exe | Bin 0 -> 33792 bytes Visual Basic Projects/BMI/BMI/obj/Debug/BMI.pdb | Bin 0 -> 46592 bytes .../BMI/obj/Debug/BMI.vbproj.FileListAbsolute.txt | 14 +++ .../obj/Debug/BMI.vbproj.GenerateResource.Cache | Bin 0 -> 975 bytes Visual Basic Projects/BMI/BMI/obj/Debug/BMI.xml | 24 ++++ .../DesignTimeResolveAssemblyReferencesInput.cache | Bin 0 -> 7013 bytes .../TempPE/My Project.Resources.Designer.vb.dll | Bin 0 -> 7680 bytes 30 files changed, 856 insertions(+) create mode 100644 Visual Basic Projects/BMI/BMI.sln create mode 100644 Visual Basic Projects/BMI/BMI.v11.suo create mode 100644 Visual Basic Projects/BMI/BMI/App.config create mode 100644 Visual Basic Projects/BMI/BMI/BMI.vbproj create mode 100644 Visual Basic Projects/BMI/BMI/BMI.vbproj.user create mode 100644 Visual Basic Projects/BMI/BMI/Form1.Designer.vb create mode 100644 Visual Basic Projects/BMI/BMI/Form1.resx create mode 100644 Visual Basic Projects/BMI/BMI/Form1.vb create mode 100644 Visual Basic Projects/BMI/BMI/My Project/Application.Designer.vb create mode 100644 Visual Basic Projects/BMI/BMI/My Project/Application.myapp create mode 100644 Visual Basic Projects/BMI/BMI/My Project/AssemblyInfo.vb create mode 100644 Visual Basic Projects/BMI/BMI/My Project/Resources.Designer.vb create mode 100644 Visual Basic Projects/BMI/BMI/My Project/Resources.resx create mode 100644 Visual Basic Projects/BMI/BMI/My Project/Settings.Designer.vb create mode 100644 Visual Basic Projects/BMI/BMI/My Project/Settings.settings create mode 100644 Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe create mode 100644 Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe.config create mode 100644 Visual Basic Projects/BMI/BMI/bin/Debug/BMI.pdb create mode 100644 Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe create mode 100644 Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe.config create mode 100644 Visual Basic Projects/BMI/BMI/bin/Debug/BMI.xml create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Form1.resources create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Resources.resources create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/BMI.exe create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/BMI.pdb create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.FileListAbsolute.txt create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.GenerateResource.Cache create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/BMI.xml create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache create mode 100644 Visual Basic Projects/BMI/BMI/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll (limited to 'Visual Basic Projects/BMI') diff --git a/Visual Basic Projects/BMI/BMI.sln b/Visual Basic Projects/BMI/BMI.sln new file mode 100644 index 0000000..982b4ce --- /dev/null +++ b/Visual Basic Projects/BMI/BMI.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "BMI", "BMI\BMI.vbproj", "{36FF13DE-55AF-4FD6-9504-6D16BB83393B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {36FF13DE-55AF-4FD6-9504-6D16BB83393B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {36FF13DE-55AF-4FD6-9504-6D16BB83393B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {36FF13DE-55AF-4FD6-9504-6D16BB83393B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {36FF13DE-55AF-4FD6-9504-6D16BB83393B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Visual Basic Projects/BMI/BMI.v11.suo b/Visual Basic Projects/BMI/BMI.v11.suo new file mode 100644 index 0000000..eb44bf4 Binary files /dev/null and b/Visual Basic Projects/BMI/BMI.v11.suo differ diff --git a/Visual Basic Projects/BMI/BMI/App.config b/Visual Basic Projects/BMI/BMI/App.config new file mode 100644 index 0000000..49c50e0 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/BMI.vbproj b/Visual Basic Projects/BMI/BMI/BMI.vbproj new file mode 100644 index 0000000..7ce7d2f --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/BMI.vbproj @@ -0,0 +1,127 @@ + + + + + Debug + AnyCPU + {36FF13DE-55AF-4FD6-9504-6D16BB83393B} + WinExe + BMI.My.MyApplication + BMI + BMI + 512 + WindowsForms + v4.5 + + + AnyCPU + true + full + true + true + bin\Debug\ + BMI.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + BMI.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form + + + Form1.vb + Form + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + Form1.vb + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/BMI.vbproj.user b/Visual Basic Projects/BMI/BMI/BMI.vbproj.user new file mode 100644 index 0000000..695b5c7 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/BMI.vbproj.user @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/Form1.Designer.vb b/Visual Basic Projects/BMI/BMI/Form1.Designer.vb new file mode 100644 index 0000000..3080d67 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/Form1.Designer.vb @@ -0,0 +1,137 @@ + _ +Partial Class Form1 + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Me.lblHeader = New System.Windows.Forms.Label() + Me.lblWeight = New System.Windows.Forms.Label() + Me.lblHeight = New System.Windows.Forms.Label() + Me.lblTelesnaMasa = New System.Windows.Forms.Label() + Me.lblBMI = New System.Windows.Forms.Label() + Me.txtWeight = New System.Windows.Forms.TextBox() + Me.txtHeight = New System.Windows.Forms.TextBox() + Me.btnCalculate = New System.Windows.Forms.Button() + Me.SuspendLayout() + ' + 'lblHeader + ' + Me.lblHeader.AutoSize = True + Me.lblHeader.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte)) + Me.lblHeader.Location = New System.Drawing.Point(27, 26) + Me.lblHeader.Name = "lblHeader" + Me.lblHeader.Size = New System.Drawing.Size(228, 25) + Me.lblHeader.TabIndex = 0 + Me.lblHeader.Text = "Индекс телесна маса" + ' + 'lblWeight + ' + Me.lblWeight.AutoSize = True + Me.lblWeight.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte)) + Me.lblWeight.Location = New System.Drawing.Point(46, 92) + Me.lblWeight.Name = "lblWeight" + Me.lblWeight.Size = New System.Drawing.Size(71, 16) + Me.lblWeight.TabIndex = 1 + Me.lblWeight.Text = "Тегло (кг)" + ' + 'lblHeight + ' + Me.lblHeight.AutoSize = True + Me.lblHeight.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte)) + Me.lblHeight.Location = New System.Drawing.Point(46, 133) + Me.lblHeight.Name = "lblHeight" + Me.lblHeight.Size = New System.Drawing.Size(60, 16) + Me.lblHeight.TabIndex = 2 + Me.lblHeight.Text = "Ръст (м)" + ' + 'lblTelesnaMasa + ' + Me.lblTelesnaMasa.AutoSize = True + Me.lblTelesnaMasa.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte)) + Me.lblTelesnaMasa.Location = New System.Drawing.Point(29, 190) + Me.lblTelesnaMasa.Name = "lblTelesnaMasa" + Me.lblTelesnaMasa.Size = New System.Drawing.Size(148, 16) + Me.lblTelesnaMasa.TabIndex = 3 + Me.lblTelesnaMasa.Text = "Индекс телесна маса" + ' + 'lblBMI + ' + Me.lblBMI.AutoSize = True + Me.lblBMI.Enabled = False + Me.lblBMI.ForeColor = System.Drawing.Color.DarkRed + Me.lblBMI.Location = New System.Drawing.Point(205, 193) + Me.lblBMI.Name = "lblBMI" + Me.lblBMI.Size = New System.Drawing.Size(36, 13) + Me.lblBMI.TabIndex = 4 + Me.lblBMI.Text = "lblBMI" + ' + 'txtWeight + ' + Me.txtWeight.Location = New System.Drawing.Point(137, 92) + Me.txtWeight.Name = "txtWeight" + Me.txtWeight.Size = New System.Drawing.Size(117, 20) + Me.txtWeight.TabIndex = 5 + ' + 'txtHeight + ' + Me.txtHeight.Location = New System.Drawing.Point(137, 133) + Me.txtHeight.Name = "txtHeight" + Me.txtHeight.Size = New System.Drawing.Size(117, 20) + Me.txtHeight.TabIndex = 6 + ' + 'btnCalculate + ' + Me.btnCalculate.Location = New System.Drawing.Point(62, 221) + Me.btnCalculate.Name = "btnCalculate" + Me.btnCalculate.Size = New System.Drawing.Size(151, 28) + Me.btnCalculate.TabIndex = 7 + Me.btnCalculate.Text = "Изчисли" + Me.btnCalculate.UseVisualStyleBackColor = True + ' + 'Form1 + ' + Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.ClientSize = New System.Drawing.Size(284, 261) + Me.Controls.Add(Me.btnCalculate) + Me.Controls.Add(Me.txtHeight) + Me.Controls.Add(Me.txtWeight) + Me.Controls.Add(Me.lblBMI) + Me.Controls.Add(Me.lblTelesnaMasa) + Me.Controls.Add(Me.lblHeight) + Me.Controls.Add(Me.lblWeight) + Me.Controls.Add(Me.lblHeader) + Me.Name = "Form1" + Me.Text = "Form1" + Me.ResumeLayout(False) + Me.PerformLayout() + + End Sub + Friend WithEvents lblHeader As System.Windows.Forms.Label + Friend WithEvents lblWeight As System.Windows.Forms.Label + Friend WithEvents lblHeight As System.Windows.Forms.Label + Friend WithEvents lblTelesnaMasa As System.Windows.Forms.Label + Friend WithEvents lblBMI As System.Windows.Forms.Label + Friend WithEvents txtWeight As System.Windows.Forms.TextBox + Friend WithEvents txtHeight As System.Windows.Forms.TextBox + Friend WithEvents btnCalculate As System.Windows.Forms.Button + +End Class diff --git a/Visual Basic Projects/BMI/BMI/Form1.resx b/Visual Basic Projects/BMI/BMI/Form1.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/Form1.vb b/Visual Basic Projects/BMI/BMI/Form1.vb new file mode 100644 index 0000000..53daa61 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/Form1.vb @@ -0,0 +1,26 @@ +Public Class Form1 + Dim Weight As Double + Dim Height As Double + + Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click + Weight = Val(txtWeight.Text) + Height = Val(txtHeight.Text) + + lblBMI.Text = Format(Weight / (Height ^ 2), "##") + + If lblBMI.Text < 19 Then + MsgBox("Вашето тегло е под нормата!", 0, "Внимание!") + End If + If lblBMI.Text >= 19 Then + If lblBMI.Text < 25 Then + MsgBox("Вашето тегло е идеално!", 0, "Внимание!") + End If + If lblBMI.Text >= 25 And lblBMI.Text < 30 Then + MsgBox("Вие имате наднормено тегло!", 0, "Внимание!") + End If + If lblBMI.Text >= 30 Then + MsgBox("Вие имате затлъстяване!", 0, "Внимание!") + End If + End If + End Sub +End Class diff --git a/Visual Basic Projects/BMI/BMI/My Project/Application.Designer.vb b/Visual Basic Projects/BMI/BMI/My Project/Application.Designer.vb new file mode 100644 index 0000000..4afaeed --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/My Project/Application.Designer.vb @@ -0,0 +1,38 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.34014 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + 'NOTE: This file is auto-generated; do not modify it directly. To make changes, + ' or if you encounter build errors in this file, go to the Project Designer + ' (go to Project Properties or double-click the My Project node in + ' Solution Explorer), and make changes on the Application tab. + ' + Partial Friend Class MyApplication + + _ + Public Sub New() + MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) + Me.IsSingleInstance = false + Me.EnableVisualStyles = true + Me.SaveMySettingsOnExit = true + Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses + End Sub + + _ + Protected Overrides Sub OnCreateMainForm() + Me.MainForm = Global.BMI.Form1 + End Sub + End Class +End Namespace diff --git a/Visual Basic Projects/BMI/BMI/My Project/Application.myapp b/Visual Basic Projects/BMI/BMI/My Project/Application.myapp new file mode 100644 index 0000000..7b0c597 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/My Project/Application.myapp @@ -0,0 +1,11 @@ + + + true + Form1 + false + 0 + true + 0 + 0 + true + diff --git a/Visual Basic Projects/BMI/BMI/My Project/AssemblyInfo.vb b/Visual Basic Projects/BMI/BMI/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..880ba6f --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/Visual Basic Projects/BMI/BMI/My Project/Resources.Designer.vb b/Visual Basic Projects/BMI/BMI/My Project/Resources.Designer.vb new file mode 100644 index 0000000..0c89813 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/My Project/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.34014 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("BMI.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/Visual Basic Projects/BMI/BMI/My Project/Resources.resx b/Visual Basic Projects/BMI/BMI/My Project/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/My Project/Settings.Designer.vb b/Visual Basic Projects/BMI/BMI/My Project/Settings.Designer.vb new file mode 100644 index 0000000..c317aae --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/My Project/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.34014 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.BMI.My.MySettings + Get + Return Global.BMI.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/Visual Basic Projects/BMI/BMI/My Project/Settings.settings b/Visual Basic Projects/BMI/BMI/My Project/Settings.settings new file mode 100644 index 0000000..377f56d --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe new file mode 100644 index 0000000..ee0b50e Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe differ diff --git a/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe.config b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe.config new file mode 100644 index 0000000..49c50e0 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.pdb b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.pdb new file mode 100644 index 0000000..a64dfe3 Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.pdb differ diff --git a/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe new file mode 100644 index 0000000..8c84517 Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe differ diff --git a/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe.config b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe.config new file mode 100644 index 0000000..49c50e0 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.xml b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.xml new file mode 100644 index 0000000..b78424d --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/bin/Debug/BMI.xml @@ -0,0 +1,24 @@ + + + + +BMI + + + + + + Returns the cached ResourceManager instance used by this class. + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Form1.resources b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Form1.resources differ diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Resources.resources b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.Resources.resources differ diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.exe b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.exe new file mode 100644 index 0000000..ee0b50e Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.exe differ diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.pdb b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.pdb new file mode 100644 index 0000000..a64dfe3 Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.pdb differ diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.FileListAbsolute.txt b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..68792e0 --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +C:\Users\Student\AppData\Local\Temporary Projects\BMI\bin\Debug\BMI.exe.config +C:\Users\Student\AppData\Local\Temporary Projects\BMI\bin\Debug\BMI.exe +C:\Users\Student\AppData\Local\Temporary Projects\BMI\bin\Debug\BMI.pdb +C:\Users\Student\AppData\Local\Temporary Projects\BMI\bin\Debug\BMI.xml +C:\Users\Student\AppData\Local\Temporary Projects\BMI\obj\Debug\BMI.Form1.resources +C:\Users\Student\AppData\Local\Temporary Projects\BMI\obj\Debug\BMI.Resources.resources +C:\Users\Student\AppData\Local\Temporary Projects\BMI\obj\Debug\BMI.vbproj.GenerateResource.Cache +C:\Users\Student\AppData\Local\Temporary Projects\BMI\obj\Debug\BMI.exe +C:\Users\Student\AppData\Local\Temporary Projects\BMI\obj\Debug\BMI.xml +C:\Users\Student\AppData\Local\Temporary Projects\BMI\obj\Debug\BMI.pdb +D:\Documents\Student\Documents\Visual Studio 2012\Projects\10 B 2018\BMI\BMI\bin\Debug\BMI.exe.config +D:\Documents\Student\Documents\Visual Studio 2012\Projects\10 B 2018\BMI\BMI\obj\Debug\BMI.exe +D:\Documents\Student\Documents\Visual Studio 2012\Projects\10 B 2018\BMI\BMI\obj\Debug\BMI.xml +D:\Documents\Student\Documents\Visual Studio 2012\Projects\10 B 2018\BMI\BMI\obj\Debug\BMI.pdb diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.GenerateResource.Cache b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.GenerateResource.Cache new file mode 100644 index 0000000..cee82d3 Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.vbproj.GenerateResource.Cache differ diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.xml b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.xml new file mode 100644 index 0000000..b78424d --- /dev/null +++ b/Visual Basic Projects/BMI/BMI/obj/Debug/BMI.xml @@ -0,0 +1,24 @@ + + + + +BMI + + + + + + Returns the cached ResourceManager instance used by this class. + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + \ No newline at end of file diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Visual Basic Projects/BMI/BMI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b56469c Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Visual Basic Projects/BMI/BMI/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll b/Visual Basic Projects/BMI/BMI/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll new file mode 100644 index 0000000..63971ab Binary files /dev/null and b/Visual Basic Projects/BMI/BMI/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll differ -- cgit v1.2.3