Commit 00e3aeed by Trevor Kallaste

Lisa kuues praktikum

parent 5806971e
Showing with 2230 additions and 0 deletions

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.16
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.vbproj", "{BD2EFFDD-42A0-4309-9099-44879A6C43DD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BD2EFFDD-42A0-4309-9099-44879A6C43DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BD2EFFDD-42A0-4309-9099-44879A6C43DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BD2EFFDD-42A0-4309-9099-44879A6C43DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BD2EFFDD-42A0-4309-9099-44879A6C43DD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B79505C4-8C8F-4944-B100-E781C22C4947}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{BD2EFFDD-42A0-4309-9099-44879A6C43DD}</ProjectGuid>
<OutputType>Exe</OutputType>
<StartupObject>ConsoleApp1.Module1</StartupObject>
<RootNamespace>ConsoleApp1</RootNamespace>
<AssemblyName>ConsoleApp1</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Console</MyType>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>ConsoleApp1.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>ConsoleApp1.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Data" />
<Import Include="System.Diagnostics" />
<Import Include="System.Linq" />
<Import Include="System.Xml.Linq" />
<Import Include="System.Threading.Tasks" />
</ItemGroup>
<ItemGroup>
<Compile Include="Module1.vb" />
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>
\ No newline at end of file
Module Module1
Sub Main()
Dim hasCmdLineParameters As Boolean = False
Dim cmdLineParameters(1) As Integer
Dim i As Integer
Dim j As Integer
Dim M(5, 5) As Integer
Dim lensx As Integer
Dim lensy As Integer
getCmdLineArguments(hasCmdLineParameters, cmdLineParameters)
If hasCmdLineParameters Then
Console.WriteLine(vbNewLine & "Maatrix :")
lensx = cmdLineParameters(0)
lensx = lensx - 1
If (lensx > 9) Then
lensx = 9
End If
If (lensx < 5) Then
lensx = 5
End If
lensy = lensx
genRand(M, lensx, lensy)
For i = 0 To lensx
For j = 0 To lensy
If (k6rvalDiagonaal(M, i, j, lensx, lensy)) Then
Console.ForegroundColor = ConsoleColor.Yellow
Else
Console.ForegroundColor = ConsoleColor.White
End If
Console.Write(M(i, j))
Console.Write(" ")
Next
Console.WriteLine()
Next
End If
Console.ForegroundColor = ConsoleColor.White
End Sub
Private Sub getCmdLineArguments(ByRef hasArgumentsSet As Boolean, ByRef cmdLineParameters As Array)
Dim i As Integer = 0
For Each argument As String In My.Application.CommandLineArgs
If argument = "/help" Then
Console.WriteLine(vbNewLine & "*** ABIINFO KUVAMINE ***" & vbNewLine)
Console.WriteLine("Sisestage peale failinime kaks täis arvu")
Console.WriteLine("N2ide: ConsoleApp1.exe 10 10")
Else
cmdLineParameters(i) = argument
i = i + 1
hasArgumentsSet = True
End If
Next
End Sub
Private Function k6rvalDiagonaal(ByRef M(,) As Integer, ByRef j As Integer,
ByRef k As Integer, ByRef lensx As Integer, ByRef lensy As Integer) As Boolean
Dim chk As Boolean
If (lensy - k + 1 <= j) Then
chk = True
End If
Return chk
End Function
Private Sub genRand(ByRef M(,) As Integer, ByRef lensx As Integer _
, ByRef lensy As Integer)
Dim i As Integer
Dim j As Integer
ReDim M(lensx, lensy)
For i = 0 To lensx
For j = 0 To lensy
M(i, j) = CInt(Math.Ceiling(Rnd() * 9))
Next
Next
End Sub
End Module
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>false</MySubMain>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<ApplicationType>2</ApplicationType>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>
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
<Assembly: AssemblyTitle("ConsoleApp1")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("ConsoleApp1")>
<Assembly: AssemblyCopyright("Copyright © 2018")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(False)>
'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("680fe316-1973-4158-a5f8-e4752f8efee7")>
' 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:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
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.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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("ConsoleApp1.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Overrides the current thread's CurrentUICulture property for all
''' resource lookups using this strongly typed resource class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.ConsoleApp1.My.MySettings
Get
Return Global.ConsoleApp1.My.MySettings.Default
End Get
End Property
End Module
End Namespace
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
\ No newline at end of file
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ConsoleApp1
</name>
</assembly>
<members>
<member name="T:ConsoleApp1.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:ConsoleApp1.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:ConsoleApp1.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\bin\Debug\ConsoleApp1.exe
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\bin\Debug\ConsoleApp1.xml
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\obj\Debug\ConsoleApp1.vbprojResolveAssemblyReference.cache
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\obj\Debug\ConsoleApp1.Resources.resources
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\obj\Debug\ConsoleApp1.vbproj.GenerateResource.Cache
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\obj\Debug\ConsoleApp1.vbproj.CoreCompileInputs.cache
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\obj\Debug\ConsoleApp1.exe
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\obj\Debug\ConsoleApp1.xml
C:\Users\trkall\AppData\Local\Temporary Projects\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.xml
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.vbprojResolveAssemblyReference.cache
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.Resources.resources
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.vbproj.GenerateResource.Cache
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.vbproj.CoreCompileInputs.cache
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.exe
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.xml
C:\Users\trkall\source\repos\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
<?xml version="1.0"?>
<doc>
<assembly>
<name>
ConsoleApp1
</name>
</assembly>
<members>
<member name="T:ConsoleApp1.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:ConsoleApp1.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:ConsoleApp1.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>
......@@ -56,6 +56,7 @@
g.DrawImage(imgPeidetudPilt.Image, asukoht)
Next i
End Sub
Private Sub btnPuhasta_Click(sender As Object, e As EventArgs) Handles btnPuhasta.Click
......

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.16
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "PrjWidget", "PrjWidget\PrjWidget.vbproj", "{ED82F345-65AB-48DE-A893-A5D50AE37933}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{ED82F345-65AB-48DE-A893-A5D50AE37933}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ED82F345-65AB-48DE-A893-A5D50AE37933}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ED82F345-65AB-48DE-A893-A5D50AE37933}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ED82F345-65AB-48DE-A893-A5D50AE37933}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {02136CF6-DB87-4423-911F-F6D2A15F9AF5}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="TemperatureConversionBinding" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php"
binding="basicHttpBinding" bindingConfiguration="TemperatureConversionBinding"
contract="Temperatuuriteenus.TemperatureConversionPortType"
name="TemperatureConversionPort" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="57622213-3103-4a75-b110-abe2c5dff432" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings />
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<UseSerializerForFaults>true</UseSerializerForFaults>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php?wsdl" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="temperature_conversion_service.wsdl" MetadataType="Wsdl" ID="833ec3a0-d2f9-40fe-9710-32e005f18ed3" SourceId="1" SourceUrl="http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php?wsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>
\ No newline at end of file
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace Temperatuuriteenus
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0"), _
System.ServiceModel.ServiceContractAttribute([Namespace]:="urn:tempCalculator", ConfigurationName:="Temperatuuriteenus.TemperatureConversionPortType")> _
Public Interface TemperatureConversionPortType
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*"), _
System.ServiceModel.XmlSerializerFormatAttribute(Style:=System.ServiceModel.OperationFormatStyle.Rpc, SupportFaults:=true, Use:=System.ServiceModel.OperationFormatUse.Encoded)> _
Function celsius2fahrenheit(ByVal celsius As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> Single
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*")> _
Function celsius2fahrenheitAsync(ByVal celsius As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> System.Threading.Tasks.Task(Of Single)
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*"), _
System.ServiceModel.XmlSerializerFormatAttribute(Style:=System.ServiceModel.OperationFormatStyle.Rpc, SupportFaults:=true, Use:=System.ServiceModel.OperationFormatUse.Encoded)> _
Function celsius2kelvin(ByVal celsius As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> Single
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*")> _
Function celsius2kelvinAsync(ByVal celsius As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> System.Threading.Tasks.Task(Of Single)
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*"), _
System.ServiceModel.XmlSerializerFormatAttribute(Style:=System.ServiceModel.OperationFormatStyle.Rpc, SupportFaults:=true, Use:=System.ServiceModel.OperationFormatUse.Encoded)> _
Function fahrenheit2celsius(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> Single
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*")> _
Function fahrenheit2celsiusAsync(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> System.Threading.Tasks.Task(Of Single)
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*"), _
System.ServiceModel.XmlSerializerFormatAttribute(Style:=System.ServiceModel.OperationFormatStyle.Rpc, SupportFaults:=true, Use:=System.ServiceModel.OperationFormatUse.Encoded)> _
Function fahrenheit2kelvin(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> Single
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*")> _
Function fahrenheit2kelvinAsync(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> System.Threading.Tasks.Task(Of Single)
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*"), _
System.ServiceModel.XmlSerializerFormatAttribute(Style:=System.ServiceModel.OperationFormatStyle.Rpc, SupportFaults:=true, Use:=System.ServiceModel.OperationFormatUse.Encoded)> _
Function kelvin2celsius(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> Single
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*")> _
Function kelvin2celsiusAsync(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> System.Threading.Tasks.Task(Of Single)
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*"), _
System.ServiceModel.XmlSerializerFormatAttribute(Style:=System.ServiceModel.OperationFormatStyle.Rpc, SupportFaults:=true, Use:=System.ServiceModel.OperationFormatUse.Encoded)> _
Function kelvin2fahrenheit(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> Single
<System.ServiceModel.OperationContractAttribute(Action:="urn:tempCalculator#TemperatureConversion", ReplyAction:="*")> _
Function kelvin2fahrenheitAsync(ByVal fahrenheit As Single) As <System.ServiceModel.MessageParameterAttribute(Name:="return")> System.Threading.Tasks.Task(Of Single)
End Interface
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")> _
Public Interface TemperatureConversionPortTypeChannel
Inherits Temperatuuriteenus.TemperatureConversionPortType, System.ServiceModel.IClientChannel
End Interface
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")> _
Partial Public Class TemperatureConversionPortTypeClient
Inherits System.ServiceModel.ClientBase(Of Temperatuuriteenus.TemperatureConversionPortType)
Implements Temperatuuriteenus.TemperatureConversionPortType
Public Sub New()
MyBase.New
End Sub
Public Sub New(ByVal endpointConfigurationName As String)
MyBase.New(endpointConfigurationName)
End Sub
Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As String)
MyBase.New(endpointConfigurationName, remoteAddress)
End Sub
Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
MyBase.New(endpointConfigurationName, remoteAddress)
End Sub
Public Sub New(ByVal binding As System.ServiceModel.Channels.Binding, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
MyBase.New(binding, remoteAddress)
End Sub
Public Function celsius2fahrenheit(ByVal celsius As Single) As Single Implements Temperatuuriteenus.TemperatureConversionPortType.celsius2fahrenheit
Return MyBase.Channel.celsius2fahrenheit(celsius)
End Function
Public Function celsius2fahrenheitAsync(ByVal celsius As Single) As System.Threading.Tasks.Task(Of Single) Implements Temperatuuriteenus.TemperatureConversionPortType.celsius2fahrenheitAsync
Return MyBase.Channel.celsius2fahrenheitAsync(celsius)
End Function
Public Function celsius2kelvin(ByVal celsius As Single) As Single Implements Temperatuuriteenus.TemperatureConversionPortType.celsius2kelvin
Return MyBase.Channel.celsius2kelvin(celsius)
End Function
Public Function celsius2kelvinAsync(ByVal celsius As Single) As System.Threading.Tasks.Task(Of Single) Implements Temperatuuriteenus.TemperatureConversionPortType.celsius2kelvinAsync
Return MyBase.Channel.celsius2kelvinAsync(celsius)
End Function
Public Function fahrenheit2celsius(ByVal fahrenheit As Single) As Single Implements Temperatuuriteenus.TemperatureConversionPortType.fahrenheit2celsius
Return MyBase.Channel.fahrenheit2celsius(fahrenheit)
End Function
Public Function fahrenheit2celsiusAsync(ByVal fahrenheit As Single) As System.Threading.Tasks.Task(Of Single) Implements Temperatuuriteenus.TemperatureConversionPortType.fahrenheit2celsiusAsync
Return MyBase.Channel.fahrenheit2celsiusAsync(fahrenheit)
End Function
Public Function fahrenheit2kelvin(ByVal fahrenheit As Single) As Single Implements Temperatuuriteenus.TemperatureConversionPortType.fahrenheit2kelvin
Return MyBase.Channel.fahrenheit2kelvin(fahrenheit)
End Function
Public Function fahrenheit2kelvinAsync(ByVal fahrenheit As Single) As System.Threading.Tasks.Task(Of Single) Implements Temperatuuriteenus.TemperatureConversionPortType.fahrenheit2kelvinAsync
Return MyBase.Channel.fahrenheit2kelvinAsync(fahrenheit)
End Function
Public Function kelvin2celsius(ByVal fahrenheit As Single) As Single Implements Temperatuuriteenus.TemperatureConversionPortType.kelvin2celsius
Return MyBase.Channel.kelvin2celsius(fahrenheit)
End Function
Public Function kelvin2celsiusAsync(ByVal fahrenheit As Single) As System.Threading.Tasks.Task(Of Single) Implements Temperatuuriteenus.TemperatureConversionPortType.kelvin2celsiusAsync
Return MyBase.Channel.kelvin2celsiusAsync(fahrenheit)
End Function
Public Function kelvin2fahrenheit(ByVal fahrenheit As Single) As Single Implements Temperatuuriteenus.TemperatureConversionPortType.kelvin2fahrenheit
Return MyBase.Channel.kelvin2fahrenheit(fahrenheit)
End Function
Public Function kelvin2fahrenheitAsync(ByVal fahrenheit As Single) As System.Threading.Tasks.Task(Of Single) Implements Temperatuuriteenus.TemperatureConversionPortType.kelvin2fahrenheitAsync
Return MyBase.Channel.kelvin2fahrenheitAsync(fahrenheit)
End Function
End Class
End Namespace
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;TemperatureConversionBinding&quot; /&gt;" bindingType="basicHttpBinding" name="TemperatureConversionBinding" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;TemperatureConversionBinding&quot; contract=&quot;Temperatuuriteenus.TemperatureConversionPortType&quot; name=&quot;TemperatureConversionPort&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;TemperatureConversionBinding&quot; contract=&quot;Temperatuuriteenus.TemperatureConversionPortType&quot; name=&quot;TemperatureConversionPort&quot; /&gt;" contractName="Temperatuuriteenus.TemperatureConversionPortType" name="TemperatureConversionPort" />
</endpoints>
</configurationSnapshot>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="fx3Pk3mOnyQhd8aDPt2Mp+vq+PI=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="TemperatureConversionBinding">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TemperatureConversionBinding</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Never</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TransportSelected</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>(Collection)</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Default</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="TemperatureConversionPort" contract="Temperatuuriteenus.TemperatureConversionPortType" bindingType="basicHttpBinding" address="http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php" bindingConfiguration="TemperatureConversionBinding">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TemperatureConversionBinding</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Temperatuuriteenus.TemperatureConversionPortType</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TemperatureConversionPort</serializedValue>
</property>
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:tempCalculator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:tempCalculator" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema targetNamespace="urn:tempCalculator">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="celsius2fahrenheitRequest">
<wsdl:part name="celsius" type="xsd:float" />
</wsdl:message>
<wsdl:message name="celsius2fahrenheitResponse">
<wsdl:part name="return" type="xsd:float" />
</wsdl:message>
<wsdl:message name="celsius2kelvinRequest">
<wsdl:part name="celsius" type="xsd:float" />
</wsdl:message>
<wsdl:message name="celsius2kelvinResponse">
<wsdl:part name="return" type="xsd:float" />
</wsdl:message>
<wsdl:message name="fahrenheit2celsiusRequest">
<wsdl:part name="fahrenheit" type="xsd:float" />
</wsdl:message>
<wsdl:message name="fahrenheit2celsiusResponse">
<wsdl:part name="return" type="xsd:float" />
</wsdl:message>
<wsdl:message name="fahrenheit2kelvinRequest">
<wsdl:part name="fahrenheit" type="xsd:float" />
</wsdl:message>
<wsdl:message name="fahrenheit2kelvinResponse">
<wsdl:part name="return" type="xsd:float" />
</wsdl:message>
<wsdl:message name="kelvin2celsiusRequest">
<wsdl:part name="fahrenheit" type="xsd:float" />
</wsdl:message>
<wsdl:message name="kelvin2celsiusResponse">
<wsdl:part name="return" type="xsd:float" />
</wsdl:message>
<wsdl:message name="kelvin2fahrenheitRequest">
<wsdl:part name="fahrenheit" type="xsd:float" />
</wsdl:message>
<wsdl:message name="kelvin2fahrenheitResponse">
<wsdl:part name="return" type="xsd:float" />
</wsdl:message>
<wsdl:portType name="TemperatureConversionPortType">
<wsdl:operation name="celsius2fahrenheit">
<documentation>Konverteerib Celsiuse kraadid Fahrenheitideks </documentation>
<wsdl:input message="tns:celsius2fahrenheitRequest" />
<wsdl:output message="tns:celsius2fahrenheitResponse" />
</wsdl:operation>
<wsdl:operation name="celsius2kelvin">
<documentation>Konverteerib Celsiuse kraadid Kelviniteks </documentation>
<wsdl:input message="tns:celsius2kelvinRequest" />
<wsdl:output message="tns:celsius2kelvinResponse" />
</wsdl:operation>
<wsdl:operation name="fahrenheit2celsius">
<documentation>Konverteerib Fahrenheidi kaardid Celsiuse kraadideks</documentation>
<wsdl:input message="tns:fahrenheit2celsiusRequest" />
<wsdl:output message="tns:fahrenheit2celsiusResponse" />
</wsdl:operation>
<wsdl:operation name="fahrenheit2kelvin">
<documentation>Konverteerib Fahrenheidi kaardid Celsiuse kraadideks</documentation>
<wsdl:input message="tns:fahrenheit2kelvinRequest" />
<wsdl:output message="tns:fahrenheit2kelvinResponse" />
</wsdl:operation>
<wsdl:operation name="kelvin2celsius">
<documentation>Konverteerib Kelvini kraadid Celsiuse kraadideks</documentation>
<wsdl:input message="tns:kelvin2celsiusRequest" />
<wsdl:output message="tns:kelvin2celsiusResponse" />
</wsdl:operation>
<wsdl:operation name="kelvin2fahrenheit">
<documentation>Konverteerib Kelvini kraadid Celsiuse kraadideks</documentation>
<wsdl:input message="tns:kelvin2fahrenheitRequest" />
<wsdl:output message="tns:kelvin2fahrenheitResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="TemperatureConversionBinding" type="tns:TemperatureConversionPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
<wsdl:operation name="celsius2fahrenheit">
<soap:operation soapAction="urn:tempCalculator#TemperatureConversion" style="rpc" />
<wsdl:input>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="celsius2kelvin">
<soap:operation soapAction="urn:tempCalculator#TemperatureConversion" style="rpc" />
<wsdl:input>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="fahrenheit2celsius">
<soap:operation soapAction="urn:tempCalculator#TemperatureConversion" style="rpc" />
<wsdl:input>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="fahrenheit2kelvin">
<soap:operation soapAction="urn:tempCalculator#TemperatureConversion" style="rpc" />
<wsdl:input>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="kelvin2celsius">
<soap:operation soapAction="urn:tempCalculator#TemperatureConversion" style="rpc" />
<wsdl:input>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="kelvin2fahrenheit">
<soap:operation soapAction="urn:tempCalculator#TemperatureConversion" style="rpc" />
<wsdl:input>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" namespace="urn:tempCalculator" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TemperatureConversion">
<wsdl:port name="TemperatureConversionPort" binding="tns:TemperatureConversionBinding">
<soap:address location="http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
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
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
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
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
Protected Overrides Sub OnCreateMainForm()
Me.MainForm = Global.PrjWidget.formWidget
End Sub
End Class
End Namespace
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>true</MySubMain>
<MainForm>Form1</MainForm>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<ApplicationType>0</ApplicationType>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>
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
<Assembly: AssemblyTitle("PrjWidget")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("PrjWidget")>
<Assembly: AssemblyCopyright("Copyright © 2018")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(False)>
'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("3ad8fb20-8b34-4170-b5d9-b8ca41ffdb75")>
' 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:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
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.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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("PrjWidget.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Overrides the current thread's CurrentUICulture property for all
''' resource lookups using this strongly typed resource class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.PrjWidget.My.MySettings
Get
Return Global.PrjWidget.My.MySettings.Default
End Get
End Property
End Module
End Namespace
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{ED82F345-65AB-48DE-A893-A5D50AE37933}</ProjectGuid>
<OutputType>WinExe</OutputType>
<StartupObject>PrjWidget.My.MyApplication</StartupObject>
<RootNamespace>PrjWidget</RootNamespace>
<AssemblyName>PrjWidget</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>WindowsForms</MyType>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>PrjWidget.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>PrjWidget.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Data" />
<Import Include="System.Drawing" />
<Import Include="System.Diagnostics" />
<Import Include="System.Windows.Forms" />
<Import Include="System.Linq" />
<Import Include="System.Xml.Linq" />
<Import Include="System.Threading.Tasks" />
</ItemGroup>
<ItemGroup>
<Compile Include="Connected Services\Temperatuuriteenus\Reference.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="formWidget.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="formWidget.Designer.vb">
<DependentUpon>formWidget.vb</DependentUpon>
<SubType>Form</SubType>
</Compile>
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="formWidget.resx">
<DependentUpon>formWidget.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="Connected Services\Temperatuuriteenus\temperature_conversion_service.wsdl" />
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Connected Services\Temperatuuriteenus\" />
</ItemGroup>
<ItemGroup>
<None Include="Connected Services\Temperatuuriteenus\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Connected Services\Temperatuuriteenus\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Connected Services\Temperatuuriteenus\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.vb</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="TemperatureConversionBinding" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://edu.pld.ttu.ee/WS_IAG0100/temperature_conversion_service.php"
binding="basicHttpBinding" bindingConfiguration="TemperatureConversionBinding"
contract="Temperatuuriteenus.TemperatureConversionPortType"
name="TemperatureConversionPort" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjWidget
</name>
</assembly>
<members>
<member name="T:PrjWidget.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjWidget.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjWidget.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class formWidget
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
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.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Me.panelAlus = New System.Windows.Forms.Panel()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.txtKelvin = New System.Windows.Forms.TextBox()
Me.txtFahrenheit = New System.Windows.Forms.TextBox()
Me.txtCelsius = New System.Windows.Forms.TextBox()
Me.lblTemperatuurid = New System.Windows.Forms.Label()
Me.cmsMenyy = New System.Windows.Forms.ContextMenuStrip(Me.components)
Me.ExitToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
Me.colorDialog = New System.Windows.Forms.ColorDialog()
Me.ColorToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
Me.btnOtsi = New System.Windows.Forms.Button()
Me.listBox = New System.Windows.Forms.ListBox()
Me.panelAlus.SuspendLayout()
Me.cmsMenyy.SuspendLayout()
Me.SuspendLayout()
'
'panelAlus
'
Me.panelAlus.BackColor = System.Drawing.Color.DeepSkyBlue
Me.panelAlus.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.panelAlus.Controls.Add(Me.listBox)
Me.panelAlus.Controls.Add(Me.btnOtsi)
Me.panelAlus.Controls.Add(Me.Label3)
Me.panelAlus.Controls.Add(Me.Label2)
Me.panelAlus.Controls.Add(Me.Label1)
Me.panelAlus.Controls.Add(Me.txtKelvin)
Me.panelAlus.Controls.Add(Me.txtFahrenheit)
Me.panelAlus.Controls.Add(Me.txtCelsius)
Me.panelAlus.Location = New System.Drawing.Point(23, 104)
Me.panelAlus.Name = "panelAlus"
Me.panelAlus.Size = New System.Drawing.Size(379, 342)
Me.panelAlus.TabIndex = 0
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(51, 148)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(19, 20)
Me.Label3.TabIndex = 5
Me.Label3.Text = "K"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(50, 107)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(19, 20)
Me.Label2.TabIndex = 4
Me.Label2.Text = "F"
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(50, 70)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(20, 20)
Me.Label1.TabIndex = 3
Me.Label1.Text = "C"
'
'txtKelvin
'
Me.txtKelvin.Location = New System.Drawing.Point(88, 148)
Me.txtKelvin.Name = "txtKelvin"
Me.txtKelvin.Size = New System.Drawing.Size(165, 26)
Me.txtKelvin.TabIndex = 2
'
'txtFahrenheit
'
Me.txtFahrenheit.Location = New System.Drawing.Point(88, 107)
Me.txtFahrenheit.Name = "txtFahrenheit"
Me.txtFahrenheit.Size = New System.Drawing.Size(165, 26)
Me.txtFahrenheit.TabIndex = 1
'
'txtCelsius
'
Me.txtCelsius.Location = New System.Drawing.Point(88, 67)
Me.txtCelsius.Name = "txtCelsius"
Me.txtCelsius.Size = New System.Drawing.Size(165, 26)
Me.txtCelsius.TabIndex = 0
'
'lblTemperatuurid
'
Me.lblTemperatuurid.AutoSize = True
Me.lblTemperatuurid.BackColor = System.Drawing.Color.OrangeRed
Me.lblTemperatuurid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblTemperatuurid.Font = New System.Drawing.Font("Microsoft Sans Serif", 16.0!)
Me.lblTemperatuurid.ForeColor = System.Drawing.Color.White
Me.lblTemperatuurid.Location = New System.Drawing.Point(13, 80)
Me.lblTemperatuurid.Name = "lblTemperatuurid"
Me.lblTemperatuurid.Size = New System.Drawing.Size(228, 39)
Me.lblTemperatuurid.TabIndex = 1
Me.lblTemperatuurid.Text = "Temperatuurid"
'
'cmsMenyy
'
Me.cmsMenyy.ImageScalingSize = New System.Drawing.Size(24, 24)
Me.cmsMenyy.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ExitToolStripMenuItem, Me.ColorToolStripMenuItem})
Me.cmsMenyy.Name = "cmsMenyy"
Me.cmsMenyy.Size = New System.Drawing.Size(128, 64)
'
'ExitToolStripMenuItem
'
Me.ExitToolStripMenuItem.Name = "ExitToolStripMenuItem"
Me.ExitToolStripMenuItem.Size = New System.Drawing.Size(127, 30)
Me.ExitToolStripMenuItem.Text = "Exit"
'
'ColorToolStripMenuItem
'
Me.ColorToolStripMenuItem.Name = "ColorToolStripMenuItem"
Me.ColorToolStripMenuItem.Size = New System.Drawing.Size(127, 30)
Me.ColorToolStripMenuItem.Text = "Color"
'
'btnOtsi
'
Me.btnOtsi.Location = New System.Drawing.Point(271, 67)
Me.btnOtsi.Name = "btnOtsi"
Me.btnOtsi.Size = New System.Drawing.Size(75, 26)
Me.btnOtsi.TabIndex = 6
Me.btnOtsi.Text = "Leia"
Me.btnOtsi.UseVisualStyleBackColor = True
'
'listBox
'
Me.listBox.FormattingEnabled = True
Me.listBox.ItemHeight = 20
Me.listBox.Location = New System.Drawing.Point(55, 203)
Me.listBox.Name = "listBox"
Me.listBox.Size = New System.Drawing.Size(291, 104)
Me.listBox.TabIndex = 7
'
'formWidget
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(9.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.Gray
Me.ClientSize = New System.Drawing.Size(424, 475)
Me.ContextMenuStrip = Me.cmsMenyy
Me.Controls.Add(Me.lblTemperatuurid)
Me.Controls.Add(Me.panelAlus)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "formWidget"
Me.Opacity = 0.75R
Me.Text = "Celsius-Fahrenheit-Kelvin"
Me.TransparencyKey = System.Drawing.Color.Gray
Me.panelAlus.ResumeLayout(False)
Me.panelAlus.PerformLayout()
Me.cmsMenyy.ResumeLayout(False)
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents panelAlus As Panel
Friend WithEvents Label3 As Label
Friend WithEvents Label2 As Label
Friend WithEvents Label1 As Label
Friend WithEvents txtKelvin As TextBox
Friend WithEvents txtFahrenheit As TextBox
Friend WithEvents txtCelsius As TextBox
Friend WithEvents lblTemperatuurid As Label
Friend WithEvents cmsMenyy As ContextMenuStrip
Friend WithEvents ExitToolStripMenuItem As ToolStripMenuItem
Friend WithEvents colorDialog As ColorDialog
Friend WithEvents ColorToolStripMenuItem As ToolStripMenuItem
Friend WithEvents btnOtsi As Button
Friend WithEvents listBox As ListBox
End Class
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="cmsMenyy.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="colorDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
</root>
\ No newline at end of file
Imports System.Xml
Public Class formWidget
Private boolLohista As Boolean
Private intHiirX As Integer
Private intHiirY As Integer
Private veebiteenus As Temperatuuriteenus.TemperatureConversionPortType
Private Function Otsi(ByRef Celsius As Decimal)
Dim reader As XmlReader = XmlReader.Create("http://www.ilmateenistus.ee/ilma_andmed/xml/observations.php")
Dim nimi As String
'Dim coma As String 0 "."
While reader.Read()
reader.ReadToFollowing("name")
reader.Read()
nimi = reader.Value
reader.ReadToFollowing("airtemperature")
reader.Read()
If (System.Convert.ToDecimal(reader.Value) >= Celsius) Then
listBox.Items.Add(nimi & " " & reader.Value & "C")
End If
End While
End Function
Private Sub ExitToolStripMenuItem_Click(sender As Object, e As EventArgs) _
Handles ExitToolStripMenuItem.Click
Me.Close()
End Sub
Private Sub txtCelsius_LostFocus(sender As Object, e As EventArgs) _
Handles txtCelsius.LostFocus
Try
veebiteenus = New Temperatuuriteenus.TemperatureConversionPortTypeClient
txtFahrenheit.Text = veebiteenus.celsius2fahrenheit(txtCelsius.Text)
txtKelvin.Text = veebiteenus.celsius2kelvin(txtCelsius.Text)
Catch ex As Exception
txtCelsius.Text = txtCelsius.Text & " <-- VIGA väärtuses"
End Try
End Sub
Private Sub txtFahrenheit_LostFocus(sender As Object, e As EventArgs) _
Handles txtFahrenheit.LostFocus
Try
veebiteenus = New Temperatuuriteenus.TemperatureConversionPortTypeClient
txtCelsius.Text = veebiteenus.fahrenheit2celsius(txtFahrenheit.Text)
txtKelvin.Text = veebiteenus.fahrenheit2kelvin(txtFahrenheit.Text)
Catch ex As Exception
txtFahrenheit.Text = txtFahrenheit.Text & " <-- VIGA väärtuses"
End Try
End Sub
Private Sub txtkelvin_LostFocus(sender As Object, e As EventArgs) _
Handles txtKelvin.LostFocus
Try
veebiteenus = New Temperatuuriteenus.TemperatureConversionPortTypeClient
txtCelsius.Text = veebiteenus.kelvin2celsius(txtKelvin.Text)
txtFahrenheit.Text = veebiteenus.kelvin2fahrenheit(txtKelvin.Text)
Catch ex As Exception
txtKelvin.Text = txtKelvin.Text & " <-- VIGA väärtuses"
End Try
End Sub
Private Sub formWidget_MouseDown(sender As Object, e As MouseEventArgs) _
Handles Me.MouseDown, lblTemperatuurid.MouseDown, panelAlus.MouseDown
boolLohista = True
intHiirX = Windows.Forms.Cursor.Position.X - Me.Left
intHiirY = Windows.Forms.Cursor.Position.Y - Me.Top
End Sub
Private Sub formWidget_MouseUp(sender As Object, e As MouseEventArgs) _
Handles Me.MouseUp, lblTemperatuurid.MouseUp, panelAlus.MouseUp
boolLohista = False
End Sub
Private Sub formWidget_MouseMove(sender As Object, e As MouseEventArgs) _
Handles Me.MouseMove, lblTemperatuurid.MouseMove, panelAlus.MouseMove
If boolLohista Then
Me.Top = Windows.Forms.Cursor.Position.Y - intHiirY
Me.Left = Windows.Forms.Cursor.Position.X - intHiirX
End If
End Sub
Private Sub ColorToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ColorToolStripMenuItem.Click
If (colorDialog.ShowDialog() = DialogResult.OK) Then
panelAlus.BackColor = colorDialog.Color
End If
End Sub
Private Sub btnOtsi_Click(sender As Object, e As EventArgs) Handles btnOtsi.Click
Otsi(txtCelsius.Text)
End Sub
End Class
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\bin\Debug\PrjWidget.exe.config
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\bin\Debug\PrjWidget.exe
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\bin\Debug\PrjWidget.pdb
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\bin\Debug\PrjWidget.xml
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.vbprojResolveAssemblyReference.cache
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.formWidget.resources
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.Resources.resources
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.vbproj.GenerateResource.Cache
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.vbproj.CoreCompileInputs.cache
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.exe
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.xml
C:\Users\trkall\AppData\Local\Temporary Projects\PrjWidget\obj\Debug\PrjWidget.pdb
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe.config
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\bin\Debug\PrjWidget.pdb
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\bin\Debug\PrjWidget.xml
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbprojResolveAssemblyReference.cache
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.formWidget.resources
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.Resources.resources
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.GenerateResource.Cache
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.CoreCompileInputs.cache
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.exe
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.xml
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.pdb
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjWidget
</name>
</assembly>
<members>
<member name="T:PrjWidget.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjWidget.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjWidget.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
</members>
</doc>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment