From 74c9a3d36fcdbc3a3dd55c9759011399458cfc5c Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 19 Feb 2021 21:13:49 +0200 Subject: Renamed "Visual Basic Projects" folder to "VB.Net Projects" --- VB.Net Projects/Pizza time/Pizza time.sln | 20 ++++ VB.Net Projects/Pizza time/Pizza time/App.config | 6 + .../Pizza time/Pizza time/Form1.Designer.vb | 118 +++++++++++++++++++ VB.Net Projects/Pizza time/Pizza time/Form1.resx | 120 +++++++++++++++++++ VB.Net Projects/Pizza time/Pizza time/Form1.vb | 35 ++++++ .../Pizza time/My Project/Application.Designer.vb | 38 ++++++ .../Pizza time/My Project/Application.myapp | 11 ++ .../Pizza time/My Project/AssemblyInfo.vb | 35 ++++++ .../Pizza time/My Project/Resources.Designer.vb | 62 ++++++++++ .../Pizza time/My Project/Resources.resx | 117 +++++++++++++++++++ .../Pizza time/My Project/Settings.Designer.vb | 73 ++++++++++++ .../Pizza time/My Project/Settings.settings | 7 ++ .../Pizza time/Pizza time/Pizza time.vbproj | 127 +++++++++++++++++++++ .../Pizza time/Pizza time/Pizza time.vbproj.user | 3 + 14 files changed, 772 insertions(+) create mode 100644 VB.Net Projects/Pizza time/Pizza time.sln create mode 100644 VB.Net Projects/Pizza time/Pizza time/App.config create mode 100644 VB.Net Projects/Pizza time/Pizza time/Form1.Designer.vb create mode 100644 VB.Net Projects/Pizza time/Pizza time/Form1.resx create mode 100644 VB.Net Projects/Pizza time/Pizza time/Form1.vb create mode 100644 VB.Net Projects/Pizza time/Pizza time/My Project/Application.Designer.vb create mode 100644 VB.Net Projects/Pizza time/Pizza time/My Project/Application.myapp create mode 100644 VB.Net Projects/Pizza time/Pizza time/My Project/AssemblyInfo.vb create mode 100644 VB.Net Projects/Pizza time/Pizza time/My Project/Resources.Designer.vb create mode 100644 VB.Net Projects/Pizza time/Pizza time/My Project/Resources.resx create mode 100644 VB.Net Projects/Pizza time/Pizza time/My Project/Settings.Designer.vb create mode 100644 VB.Net Projects/Pizza time/Pizza time/My Project/Settings.settings create mode 100644 VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj create mode 100644 VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj.user (limited to 'VB.Net Projects/Pizza time') diff --git a/VB.Net Projects/Pizza time/Pizza time.sln b/VB.Net Projects/Pizza time/Pizza time.sln new file mode 100644 index 0000000..8722b8e --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Pizza time", "Pizza time\Pizza time.vbproj", "{C90CDE9D-B3F0-4B7C-B7E5-AAD7B0655EE1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C90CDE9D-B3F0-4B7C-B7E5-AAD7B0655EE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C90CDE9D-B3F0-4B7C-B7E5-AAD7B0655EE1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C90CDE9D-B3F0-4B7C-B7E5-AAD7B0655EE1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C90CDE9D-B3F0-4B7C-B7E5-AAD7B0655EE1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/VB.Net Projects/Pizza time/Pizza time/App.config b/VB.Net Projects/Pizza time/Pizza time/App.config new file mode 100644 index 0000000..49c50e0 --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/VB.Net Projects/Pizza time/Pizza time/Form1.Designer.vb b/VB.Net Projects/Pizza time/Pizza time/Form1.Designer.vb new file mode 100644 index 0000000..3dc1cfc --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/Form1.Designer.vb @@ -0,0 +1,118 @@ + _ +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.cbSize = New System.Windows.Forms.ComboBox() + Me.Label1 = New System.Windows.Forms.Label() + Me.btnCalculate = New System.Windows.Forms.Button() + Me.chkKolbas = New System.Windows.Forms.CheckBox() + Me.chkCheese = New System.Windows.Forms.CheckBox() + Me.chkOlive = New System.Windows.Forms.CheckBox() + Me.SuspendLayout() + ' + 'cbSize + ' + Me.cbSize.FormattingEnabled = True + Me.cbSize.Items.AddRange(New Object() {"Малка", "Средна", "Голяма"}) + Me.cbSize.Location = New System.Drawing.Point(210, 29) + Me.cbSize.Name = "cbSize" + Me.cbSize.Size = New System.Drawing.Size(107, 21) + Me.cbSize.TabIndex = 0 + ' + 'Label1 + ' + Me.Label1.AutoSize = True + Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.0!, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(204, Byte)) + Me.Label1.Location = New System.Drawing.Point(37, 29) + Me.Label1.Name = "Label1" + Me.Label1.Size = New System.Drawing.Size(92, 25) + Me.Label1.TabIndex = 1 + Me.Label1.Text = "Добавки" + ' + 'btnCalculate + ' + Me.btnCalculate.Location = New System.Drawing.Point(212, 136) + Me.btnCalculate.Name = "btnCalculate" + Me.btnCalculate.Size = New System.Drawing.Size(105, 39) + Me.btnCalculate.TabIndex = 5 + Me.btnCalculate.Text = "Изчисли" + Me.btnCalculate.UseVisualStyleBackColor = True + ' + 'chkKolbas + ' + Me.chkKolbas.AutoSize = True + Me.chkKolbas.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.0!) + Me.chkKolbas.Location = New System.Drawing.Point(34, 69) + Me.chkKolbas.Name = "chkKolbas" + Me.chkKolbas.Size = New System.Drawing.Size(97, 29) + Me.chkKolbas.TabIndex = 6 + Me.chkKolbas.Text = "Колбас" + Me.chkKolbas.UseVisualStyleBackColor = True + ' + 'chkCheese + ' + Me.chkCheese.AutoSize = True + Me.chkCheese.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.0!) + Me.chkCheese.Location = New System.Drawing.Point(34, 104) + Me.chkCheese.Name = "chkCheese" + Me.chkCheese.Size = New System.Drawing.Size(99, 29) + Me.chkCheese.TabIndex = 7 + Me.chkCheese.Text = "Сирене" + Me.chkCheese.UseVisualStyleBackColor = True + ' + 'chkOlive + ' + Me.chkOlive.AutoSize = True + Me.chkOlive.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.0!) + Me.chkOlive.Location = New System.Drawing.Point(34, 139) + Me.chkOlive.Name = "chkOlive" + Me.chkOlive.Size = New System.Drawing.Size(112, 29) + Me.chkOlive.TabIndex = 8 + Me.chkOlive.Text = "Маслини" + Me.chkOlive.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(362, 204) + Me.Controls.Add(Me.chkOlive) + Me.Controls.Add(Me.chkCheese) + Me.Controls.Add(Me.chkKolbas) + Me.Controls.Add(Me.btnCalculate) + Me.Controls.Add(Me.Label1) + Me.Controls.Add(Me.cbSize) + Me.Name = "Form1" + Me.Text = "Поръчка на пица" + Me.ResumeLayout(False) + Me.PerformLayout() + + End Sub + Friend WithEvents cbSize As System.Windows.Forms.ComboBox + Friend WithEvents Label1 As System.Windows.Forms.Label + Friend WithEvents btnCalculate As System.Windows.Forms.Button + Friend WithEvents chkKolbas As System.Windows.Forms.CheckBox + Friend WithEvents chkCheese As System.Windows.Forms.CheckBox + Friend WithEvents chkOlive As System.Windows.Forms.CheckBox + +End Class diff --git a/VB.Net Projects/Pizza time/Pizza time/Form1.resx b/VB.Net Projects/Pizza time/Pizza time/Form1.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/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/VB.Net Projects/Pizza time/Pizza time/Form1.vb b/VB.Net Projects/Pizza time/Pizza time/Form1.vb new file mode 100644 index 0000000..9058ea3 --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/Form1.vb @@ -0,0 +1,35 @@ +Public Class Form1 + Dim sum As Double + Private Sub cbSize_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cbSize.SelectedIndexChanged + Select Case cbSize.Text + Case "Малка" + sum = 6 + Case "Средна" + sum = 8 + Case "Голяма" + sum = 10 + End Select + End Sub + + Private Sub chkKolbas_CheckedChanged(sender As Object, e As EventArgs) Handles chkKolbas.CheckedChanged + sum += 1 + End Sub + + Private Sub chkCheese_CheckedChanged(sender As Object, e As EventArgs) Handles chkCheese.CheckedChanged + sum += 1 + End Sub + + Private Sub chkOlive_CheckedChanged(sender As Object, e As EventArgs) Handles chkOlive.CheckedChanged + sum += 1 + End Sub + + Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click + MsgBox("Сумата Ви е " & sum, 0, "Сума") + + sum = 0 + chkKolbas.Checked = False + chkCheese.Checked = False + chkOlive.Checked = False + cbSize.Text = vbNullString + End Sub +End Class diff --git a/VB.Net Projects/Pizza time/Pizza time/My Project/Application.Designer.vb b/VB.Net Projects/Pizza time/Pizza time/My Project/Application.Designer.vb new file mode 100644 index 0000000..0e48dec --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/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.Pizza_time.Form1 + End Sub + End Class +End Namespace diff --git a/VB.Net Projects/Pizza time/Pizza time/My Project/Application.myapp b/VB.Net Projects/Pizza time/Pizza time/My Project/Application.myapp new file mode 100644 index 0000000..7b0c597 --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/My Project/Application.myapp @@ -0,0 +1,11 @@ + + + true + Form1 + false + 0 + true + 0 + 0 + true + diff --git a/VB.Net Projects/Pizza time/Pizza time/My Project/AssemblyInfo.vb b/VB.Net Projects/Pizza time/Pizza time/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..091b7c8 --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/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/VB.Net Projects/Pizza time/Pizza time/My Project/Resources.Designer.vb b/VB.Net Projects/Pizza time/Pizza time/My Project/Resources.Designer.vb new file mode 100644 index 0000000..ae04cea --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/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("Pizza_time.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/VB.Net Projects/Pizza time/Pizza time/My Project/Resources.resx b/VB.Net Projects/Pizza time/Pizza time/My Project/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/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/VB.Net Projects/Pizza time/Pizza time/My Project/Settings.Designer.vb b/VB.Net Projects/Pizza time/Pizza time/My Project/Settings.Designer.vb new file mode 100644 index 0000000..fbcd411 --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/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.Pizza_time.My.MySettings + Get + Return Global.Pizza_time.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/VB.Net Projects/Pizza time/Pizza time/My Project/Settings.settings b/VB.Net Projects/Pizza time/Pizza time/My Project/Settings.settings new file mode 100644 index 0000000..377f56d --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj b/VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj new file mode 100644 index 0000000..536e57e --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj @@ -0,0 +1,127 @@ + + + + + Debug + AnyCPU + {C90CDE9D-B3F0-4B7C-B7E5-AAD7B0655EE1} + WinExe + Pizza_time.My.MyApplication + Pizza_time + Pizza time + 512 + WindowsForms + v4.5 + + + AnyCPU + true + full + true + true + bin\Debug\ + Pizza time.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + Pizza time.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/VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj.user b/VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj.user new file mode 100644 index 0000000..695b5c7 --- /dev/null +++ b/VB.Net Projects/Pizza time/Pizza time/Pizza time.vbproj.user @@ -0,0 +1,3 @@ + + + \ No newline at end of file -- cgit v1.2.3