Commit 09854e68 by Trevor Kallaste

Lisa UML

parent d3c2044d
Showing with 1429 additions and 5 deletions
No preview for this file type

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
<?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"?>
<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 buf As String
While reader.Read()
reader.ReadToFollowing("name")
reader.Read()
nimi = reader.Value
reader.ReadToFollowing("airtemperature")
reader.Read()
If (reader.Value <> Nothing) Then
buf = Replace(reader.Value, ".", ",")
If (System.Convert.ToDecimal(buf) >= Celsius) Then
listBox.Items.Add(nimi & " " & reader.Value & "C")
End If
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
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe.config
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.pdb
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.xml
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbprojResolveAssemblyReference.cache
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.formWidget.resources
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.Resources.resources
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.GenerateResource.cache
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.CoreCompileInputs.cache
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.exe
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.xml
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\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>
...@@ -8,18 +8,20 @@ Public Class formWidget ...@@ -8,18 +8,20 @@ Public Class formWidget
Private Function Otsi(ByRef Celsius As Decimal) Private Function Otsi(ByRef Celsius As Decimal)
Dim reader As XmlReader = XmlReader.Create("http://www.ilmateenistus.ee/ilma_andmed/xml/observations.php") Dim reader As XmlReader = XmlReader.Create("http://www.ilmateenistus.ee/ilma_andmed/xml/observations.php")
Dim nimi As String Dim nimi As String
'Dim coma As String 0 "." Dim buf As String
While reader.Read() While reader.Read()
reader.ReadToFollowing("name") reader.ReadToFollowing("name")
reader.Read() reader.Read()
nimi = reader.Value nimi = reader.Value
reader.ReadToFollowing("airtemperature") reader.ReadToFollowing("airtemperature")
reader.Read() reader.Read()
If (reader.Value <> Nothing) Then
buf = Replace(reader.Value, ".", ",")
If (System.Convert.ToDecimal(buf) >= Celsius) Then
If (System.Convert.ToDecimal(reader.Value) >= Celsius) Then listBox.Items.Add(nimi & " " & reader.Value & "C")
listBox.Items.Add(nimi & " " & reader.Value & "C")
End If
End If End If
End While End While
......
0f05d070693e01b36caf93000d328bbb750b8c55 a4201d15d79de0d5932ed624338f93990bfeac94
...@@ -22,3 +22,15 @@ C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.Core ...@@ -22,3 +22,15 @@ C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.Core
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.exe 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.xml
C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.pdb C:\Users\trkall\source\repos\PrjWidget\PrjWidget\obj\Debug\PrjWidget.pdb
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe.config
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.pdb
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.xml
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbprojResolveAssemblyReference.cache
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.formWidget.resources
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.Resources.resources
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.GenerateResource.cache
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.CoreCompileInputs.cache
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.exe
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.xml
C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.pdb
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