Commit 5806971e by Trevor Kallaste

Lisa 5. tunnit66

parent 09854e68
Showing with 2873 additions and 60 deletions
......@@ -32,106 +32,117 @@ Partial Class Form1
Me.btnPuhasta = New System.Windows.Forms.Button()
Me.UBulb1 = New UBulb.UBulb()
Me.USwitch1 = New USwitch.USwitch()
Me.Button1 = New System.Windows.Forms.Label()
Me.pbBox = New System.Windows.Forms.Label()
Me.SuspendLayout()
'
'btnConfused
'
Me.btnConfused.Location = New System.Drawing.Point(423, 34)
Me.btnConfused.Location = New System.Drawing.Point(634, 52)
Me.btnConfused.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.btnConfused.Name = "btnConfused"
Me.btnConfused.Size = New System.Drawing.Size(75, 23)
Me.btnConfused.Size = New System.Drawing.Size(112, 35)
Me.btnConfused.TabIndex = 1
Me.btnConfused.Text = "Confused"
Me.btnConfused.UseVisualStyleBackColor = True
'
'btnCool
'
Me.btnCool.Location = New System.Drawing.Point(423, 63)
Me.btnCool.Location = New System.Drawing.Point(634, 97)
Me.btnCool.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.btnCool.Name = "btnCool"
Me.btnCool.Size = New System.Drawing.Size(75, 23)
Me.btnCool.Size = New System.Drawing.Size(112, 35)
Me.btnCool.TabIndex = 2
Me.btnCool.Text = "Cool"
Me.btnCool.UseVisualStyleBackColor = True
'
'btnSmile
'
Me.btnSmile.Location = New System.Drawing.Point(423, 92)
Me.btnSmile.Location = New System.Drawing.Point(634, 142)
Me.btnSmile.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.btnSmile.Name = "btnSmile"
Me.btnSmile.Size = New System.Drawing.Size(75, 23)
Me.btnSmile.Size = New System.Drawing.Size(112, 35)
Me.btnSmile.TabIndex = 3
Me.btnSmile.Text = "Smile"
Me.btnSmile.UseVisualStyleBackColor = True
'
'btnStar
'
Me.btnStar.Location = New System.Drawing.Point(423, 121)
Me.btnStar.Location = New System.Drawing.Point(634, 186)
Me.btnStar.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.btnStar.Name = "btnStar"
Me.btnStar.Size = New System.Drawing.Size(75, 23)
Me.btnStar.Size = New System.Drawing.Size(112, 35)
Me.btnStar.TabIndex = 4
Me.btnStar.Text = "Star"
Me.btnStar.UseVisualStyleBackColor = True
'
'btnTeeth
'
Me.btnTeeth.Location = New System.Drawing.Point(423, 150)
Me.btnTeeth.Location = New System.Drawing.Point(634, 231)
Me.btnTeeth.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.btnTeeth.Name = "btnTeeth"
Me.btnTeeth.Size = New System.Drawing.Size(75, 23)
Me.btnTeeth.Size = New System.Drawing.Size(112, 35)
Me.btnTeeth.TabIndex = 5
Me.btnTeeth.Text = "Teeth"
Me.btnTeeth.UseVisualStyleBackColor = True
'
'btnYell
'
Me.btnYell.Location = New System.Drawing.Point(423, 179)
Me.btnYell.Location = New System.Drawing.Point(634, 275)
Me.btnYell.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.btnYell.Name = "btnYell"
Me.btnYell.Size = New System.Drawing.Size(75, 23)
Me.btnYell.Size = New System.Drawing.Size(112, 35)
Me.btnYell.TabIndex = 6
Me.btnYell.Text = "Yell"
Me.btnYell.UseVisualStyleBackColor = True
'
'UCtrlEmotion1
'
Me.UCtrlEmotion1.Location = New System.Drawing.Point(12, 12)
Me.UCtrlEmotion1.Location = New System.Drawing.Point(18, 18)
Me.UCtrlEmotion1.Margin = New System.Windows.Forms.Padding(6, 8, 6, 8)
Me.UCtrlEmotion1.Name = "UCtrlEmotion1"
Me.UCtrlEmotion1.Size = New System.Drawing.Size(121, 74)
Me.UCtrlEmotion1.Size = New System.Drawing.Size(182, 114)
Me.UCtrlEmotion1.TabIndex = 0
'
'btnPuhasta
'
Me.btnPuhasta.Location = New System.Drawing.Point(401, 243)
Me.btnPuhasta.Location = New System.Drawing.Point(602, 374)
Me.btnPuhasta.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.btnPuhasta.Name = "btnPuhasta"
Me.btnPuhasta.Size = New System.Drawing.Size(97, 23)
Me.btnPuhasta.Size = New System.Drawing.Size(146, 35)
Me.btnPuhasta.TabIndex = 7
Me.btnPuhasta.Text = "Puhasta"
Me.btnPuhasta.UseVisualStyleBackColor = True
'
'UBulb1
'
Me.UBulb1.Location = New System.Drawing.Point(191, 70)
Me.UBulb1.Location = New System.Drawing.Point(286, 108)
Me.UBulb1.Margin = New System.Windows.Forms.Padding(6, 8, 6, 8)
Me.UBulb1.Name = "UBulb1"
Me.UBulb1.Size = New System.Drawing.Size(139, 196)
Me.UBulb1.Size = New System.Drawing.Size(208, 302)
Me.UBulb1.TabIndex = 9
'
'USwitch1
'
Me.USwitch1.Location = New System.Drawing.Point(213, 276)
Me.USwitch1.Location = New System.Drawing.Point(320, 425)
Me.USwitch1.Margin = New System.Windows.Forms.Padding(6, 8, 6, 8)
Me.USwitch1.Name = "USwitch1"
Me.USwitch1.Size = New System.Drawing.Size(64, 42)
Me.USwitch1.Size = New System.Drawing.Size(96, 65)
Me.USwitch1.TabIndex = 8
'
'Button1
'pbBox
'
Me.Button1.Location = New System.Drawing.Point(216, 283)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(64, 42)
Me.Button1.TabIndex = 10
Me.pbBox.Location = New System.Drawing.Point(324, 435)
Me.pbBox.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
Me.pbBox.Name = "pbBox"
Me.pbBox.Size = New System.Drawing.Size(96, 65)
Me.pbBox.TabIndex = 10
'
'Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleDimensions = New System.Drawing.SizeF(9.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(533, 330)
Me.Controls.Add(Me.Button1)
Me.ClientSize = New System.Drawing.Size(800, 508)
Me.Controls.Add(Me.pbBox)
Me.Controls.Add(Me.UBulb1)
Me.Controls.Add(Me.USwitch1)
Me.Controls.Add(Me.btnPuhasta)
......@@ -142,6 +153,7 @@ Partial Class Form1
Me.Controls.Add(Me.btnCool)
Me.Controls.Add(Me.btnConfused)
Me.Controls.Add(Me.UCtrlEmotion1)
Me.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
Me.Name = "Form1"
Me.Text = "Form1"
Me.ResumeLayout(False)
......@@ -158,5 +170,5 @@ Partial Class Form1
Friend WithEvents btnPuhasta As Button
Friend WithEvents UBulb1 As UBulb.UBulb
Public WithEvents USwitch1 As USwitch.USwitch
Friend WithEvents Button1 As Label
Friend WithEvents pbBox As Label
End Class
......@@ -34,13 +34,13 @@
UBulb1.setLevel("off")
USwitch1.setMode("on")
mode = 0
Button1.Parent = USwitch1.pbBox
Button1.BackColor = Color.Transparent
Button1.BringToFront()
Button1.Location = New Point(0, 0)
pbBox.Parent = USwitch1.pbBox
pbBox.BackColor = Color.Transparent
pbBox.BringToFront()
pbBox.Location = New Point(0, 0)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Private Sub pbBox_Click(sender As Object, e As EventArgs) Handles pbBox.Click
If (mode = 0) Then
UBulb1.setLevel("on")
USwitch1.setMode("off")
......
3d7054f373ffe2fb059462ee99b7df27007474de
b2c0f81f97d18f546bd537c3f14da9e08b832507
......@@ -20,3 +20,24 @@ C:\Users\Tref\source\repos\PrjTest\PrjTest\bin\Debug\UBulb.pdb
C:\Users\Tref\source\repos\PrjTest\PrjTest\bin\Debug\UBulb.xml
C:\Users\Tref\source\repos\PrjTest\PrjTest\bin\Debug\USwitch.pdb
C:\Users\Tref\source\repos\PrjTest\PrjTest\bin\Debug\USwitch.xml
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\PrjTest.exe.config
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\PrjTest.exe
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\PrjTest.pdb
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\PrjTest.xml
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\PrjFaces.dll
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\UBulb.dll
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\USwitch.dll
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\PrjFaces.pdb
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\PrjFaces.xml
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\UBulb.pdb
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\UBulb.xml
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\USwitch.pdb
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\bin\Debug\USwitch.xml
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.vbprojResolveAssemblyReference.cache
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.Form1.resources
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.Resources.resources
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.vbproj.GenerateResource.Cache
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.vbproj.CoreCompileInputs.cache
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.exe
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.xml
P:\tt_projekt\tt2018\kodu2\PrjTest\PrjTest\obj\Debug\PrjTest.pdb
70861bd6950bcafeb66ccd00dd9b76bebe5deefe
5ad536ebf11b95c44f9debdb5c29ded262e9aa06
3f971ea586d341fbd1608fa78181683992f8a743
d488464bde6c7b11694387ca1b9f8ebc8b085bab
......@@ -24,6 +24,8 @@ Partial Class formWidget
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Me.panelAlus = New System.Windows.Forms.Panel()
Me.listBox = New System.Windows.Forms.ListBox()
Me.btnOtsi = New System.Windows.Forms.Button()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
......@@ -33,10 +35,8 @@ Partial Class formWidget
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.colorDialog = New System.Windows.Forms.ColorDialog()
Me.panelAlus.SuspendLayout()
Me.cmsMenyy.SuspendLayout()
Me.SuspendLayout()
......@@ -58,6 +58,24 @@ Partial Class formWidget
Me.panelAlus.Size = New System.Drawing.Size(379, 342)
Me.panelAlus.TabIndex = 0
'
'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
'
'btnOtsi
'
Me.btnOtsi.Location = New System.Drawing.Point(271, 67)
Me.btnOtsi.Name = "btnOtsi"
Me.btnOtsi.Size = New System.Drawing.Size(75, 31)
Me.btnOtsi.TabIndex = 6
Me.btnOtsi.Text = "Leia"
Me.btnOtsi.UseVisualStyleBackColor = True
'
'Label3
'
Me.Label3.AutoSize = True
......@@ -138,24 +156,6 @@ Partial Class formWidget
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!)
......
......@@ -6,6 +6,7 @@ Public Class formWidget
Private veebiteenus As Temperatuuriteenus.TemperatureConversionPortType
Private Function Otsi(ByRef Celsius As Decimal)
listBox.Items.Clear()
Dim reader As XmlReader = XmlReader.Create("http://www.ilmateenistus.ee/ilma_andmed/xml/observations.php")
Dim nimi As String
Dim buf As String
......@@ -104,6 +105,7 @@ Public Class formWidget
End Sub
Private Sub btnOtsi_Click(sender As Object, e As EventArgs) Handles btnOtsi.Click
Otsi(txtCelsius.Text)
End Sub
End Class
a4201d15d79de0d5932ed624338f93990bfeac94
2c812735692b579d77ab3d4396245b915f18537f
......@@ -34,3 +34,15 @@ C:\Users\Tref\Documents\tarkvara\tt2018\tund3\PrjWidget\PrjWidget\obj\Debug\PrjW
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
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe.config
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.exe
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.pdb
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\bin\Debug\PrjWidget.xml
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbprojResolveAssemblyReference.cache
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.formWidget.resources
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.Resources.resources
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.GenerateResource.Cache
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.vbproj.CoreCompileInputs.cache
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.exe
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.xml
P:\tt_projekt\tt2018\kodu3\PrjWidget\PrjWidget\obj\Debug\PrjWidget.pdb

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}") = "PrjKujundid", "PrjKujundid\PrjKujundid.vbproj", "{C198A118-834D-420A-A52B-3B4D4FC42E99}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C198A118-834D-420A-A52B-3B4D4FC42E99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C198A118-834D-420A-A52B-3B4D4FC42E99}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C198A118-834D-420A-A52B-3B4D4FC42E99}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C198A118-834D-420A-A52B-3B4D4FC42E99}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B8313D6F-05F9-4151-A566-FD8B5EF04A59}
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
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class formKujundid
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.txtKylgA = New System.Windows.Forms.TextBox()
Me.txtKylgB = New System.Windows.Forms.TextBox()
Me.lblTyyp = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.btnKolmnurk = New System.Windows.Forms.Button()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.txtAlfa = New System.Windows.Forms.TextBox()
Me.Label8 = New System.Windows.Forms.Label()
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.btnRoopkylik = New System.Windows.Forms.Button()
Me.btnRomb = New System.Windows.Forms.Button()
Me.btnRistkylik = New System.Windows.Forms.Button()
Me.btnRuut = New System.Windows.Forms.Button()
Me.txtYmbermoot = New System.Windows.Forms.TextBox()
Me.txtPindala = New System.Windows.Forms.TextBox()
Me.comboBox = New System.Windows.Forms.ComboBox()
Me.Label1 = New System.Windows.Forms.Label()
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.SuspendLayout()
'
'txtKylgA
'
Me.txtKylgA.Location = New System.Drawing.Point(56, 36)
Me.txtKylgA.Name = "txtKylgA"
Me.txtKylgA.Size = New System.Drawing.Size(134, 26)
Me.txtKylgA.TabIndex = 0
'
'txtKylgB
'
Me.txtKylgB.Location = New System.Drawing.Point(56, 82)
Me.txtKylgB.Name = "txtKylgB"
Me.txtKylgB.Size = New System.Drawing.Size(134, 26)
Me.txtKylgB.TabIndex = 1
'
'lblTyyp
'
Me.lblTyyp.AutoSize = True
Me.lblTyyp.Location = New System.Drawing.Point(172, 332)
Me.lblTyyp.Name = "lblTyyp"
Me.lblTyyp.Size = New System.Drawing.Size(90, 20)
Me.lblTyyp.TabIndex = 2
Me.lblTyyp.Text = "määramata"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(6, 39)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(27, 20)
Me.Label2.TabIndex = 5
Me.Label2.Text = "a="
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(6, 82)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(27, 20)
Me.Label3.TabIndex = 6
Me.Label3.Text = "b="
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Location = New System.Drawing.Point(65, 332)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(101, 20)
Me.Label4.TabIndex = 7
Me.Label4.Text = "Kujundi tüüp:"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Location = New System.Drawing.Point(73, 368)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(93, 20)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Ümbermõõt"
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Location = New System.Drawing.Point(105, 408)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(61, 20)
Me.Label6.TabIndex = 9
Me.Label6.Text = "Pindala"
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Location = New System.Drawing.Point(26, 281)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(91, 20)
Me.Label7.TabIndex = 10
Me.Label7.Text = "Tulemused:"
'
'btnKolmnurk
'
Me.btnKolmnurk.Location = New System.Drawing.Point(54, 25)
Me.btnKolmnurk.Name = "btnKolmnurk"
Me.btnKolmnurk.Size = New System.Drawing.Size(90, 34)
Me.btnKolmnurk.TabIndex = 11
Me.btnKolmnurk.Text = "Kolmnurk"
Me.btnKolmnurk.UseVisualStyleBackColor = True
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.txtAlfa)
Me.GroupBox1.Controls.Add(Me.Label8)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.txtKylgA)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.txtKylgB)
Me.GroupBox1.Location = New System.Drawing.Point(30, 42)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(238, 170)
Me.GroupBox1.TabIndex = 14
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Algandmed"
'
'txtAlfa
'
Me.txtAlfa.Location = New System.Drawing.Point(56, 133)
Me.txtAlfa.Name = "txtAlfa"
Me.txtAlfa.Size = New System.Drawing.Size(134, 26)
Me.txtAlfa.TabIndex = 8
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Location = New System.Drawing.Point(6, 136)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(44, 20)
Me.Label8.TabIndex = 7
Me.Label8.Text = "alfa="
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.btnRoopkylik)
Me.GroupBox2.Controls.Add(Me.btnRomb)
Me.GroupBox2.Controls.Add(Me.btnRistkylik)
Me.GroupBox2.Controls.Add(Me.btnRuut)
Me.GroupBox2.Controls.Add(Me.btnKolmnurk)
Me.GroupBox2.Location = New System.Drawing.Point(337, 42)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(189, 310)
Me.GroupBox2.TabIndex = 15
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "Kujundid"
'
'btnRoopkylik
'
Me.btnRoopkylik.Location = New System.Drawing.Point(54, 239)
Me.btnRoopkylik.Name = "btnRoopkylik"
Me.btnRoopkylik.Size = New System.Drawing.Size(90, 34)
Me.btnRoopkylik.TabIndex = 19
Me.btnRoopkylik.Text = "Rööpkülik"
Me.btnRoopkylik.UseVisualStyleBackColor = True
'
'btnRomb
'
Me.btnRomb.Location = New System.Drawing.Point(54, 188)
Me.btnRomb.Name = "btnRomb"
Me.btnRomb.Size = New System.Drawing.Size(90, 34)
Me.btnRomb.TabIndex = 18
Me.btnRomb.Text = "Romb"
Me.btnRomb.UseVisualStyleBackColor = True
'
'btnRistkylik
'
Me.btnRistkylik.Location = New System.Drawing.Point(54, 136)
Me.btnRistkylik.Name = "btnRistkylik"
Me.btnRistkylik.Size = New System.Drawing.Size(90, 34)
Me.btnRistkylik.TabIndex = 17
Me.btnRistkylik.Text = "Ristkülik"
Me.btnRistkylik.UseVisualStyleBackColor = True
'
'btnRuut
'
Me.btnRuut.Location = New System.Drawing.Point(54, 82)
Me.btnRuut.Name = "btnRuut"
Me.btnRuut.Size = New System.Drawing.Size(90, 34)
Me.btnRuut.TabIndex = 16
Me.btnRuut.Text = "Ruut"
Me.btnRuut.UseVisualStyleBackColor = True
'
'txtYmbermoot
'
Me.txtYmbermoot.Location = New System.Drawing.Point(172, 362)
Me.txtYmbermoot.Name = "txtYmbermoot"
Me.txtYmbermoot.Size = New System.Drawing.Size(134, 26)
Me.txtYmbermoot.TabIndex = 16
'
'txtPindala
'
Me.txtPindala.Location = New System.Drawing.Point(172, 405)
Me.txtPindala.Name = "txtPindala"
Me.txtPindala.Size = New System.Drawing.Size(134, 26)
Me.txtPindala.TabIndex = 17
'
'comboBox
'
Me.comboBox.FormattingEnabled = True
Me.comboBox.Items.AddRange(New Object() {"0", "1", "2", "3"})
Me.comboBox.Location = New System.Drawing.Point(98, 230)
Me.comboBox.Name = "comboBox"
Me.comboBox.Size = New System.Drawing.Size(121, 28)
Me.comboBox.TabIndex = 18
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(27, 235)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(65, 20)
Me.Label1.TabIndex = 19
Me.Label1.Text = "Täpsus:"
'
'formKujundid
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(9.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(551, 487)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.comboBox)
Me.Controls.Add(Me.txtPindala)
Me.Controls.Add(Me.txtYmbermoot)
Me.Controls.Add(Me.GroupBox2)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.lblTyyp)
Me.Controls.Add(Me.GroupBox1)
Me.Name = "formKujundid"
Me.Text = "Kujundid"
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
Me.GroupBox2.ResumeLayout(False)
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents txtKylgA As TextBox
Friend WithEvents txtKylgB As TextBox
Friend WithEvents lblTyyp As Label
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents Label4 As Label
Friend WithEvents Label5 As Label
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents btnKolmnurk As Button
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents GroupBox2 As GroupBox
Friend WithEvents btnRistkylik As Button
Friend WithEvents btnRuut As Button
Friend WithEvents txtYmbermoot As TextBox
Friend WithEvents txtPindala As TextBox
Friend WithEvents comboBox As ComboBox
Friend WithEvents Label1 As Label
Friend WithEvents btnRoopkylik As Button
Friend WithEvents btnRomb As Button
Friend WithEvents txtAlfa As TextBox
Friend WithEvents Label8 As Label
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>
</root>
\ No newline at end of file
Public Class formKujundid
Private Sub tootlekujund(ByRef kujund As Kujund)
lblTyyp.Text = kujund.annaTyyp
txtPindala.Text = Math.Round(kujund.leiaPindala, Convert.ToInt32(comboBox.SelectedItem))
txtYmbermoot.Text = Math.Round(kujund.leiaYmbermoot, Convert.ToInt32(comboBox.SelectedItem))
End Sub
Private Sub btnKolmnurk_Click(sender As Object, e As EventArgs) Handles btnKolmnurk.Click
Dim objektKolmnurk As New Kolmnurk(txtKylgA.Text, txtKylgB.Text)
tootlekujund(objektKolmnurk)
End Sub
Private Sub btnRuut_Click(sender As Object, e As EventArgs) Handles btnRuut.Click
Dim objektRuut As New Ruut(txtKylgA.Text)
tootlekujund(objektRuut)
End Sub
Private Sub btnRistkylik_Click(sender As Object, e As EventArgs) Handles btnRistkylik.Click
tootlekujund(New Ristkylik(txtKylgA.Text, txtKylgB.Text))
End Sub
Private Sub btnRomb_Click(sender As Object, e As EventArgs) Handles btnRomb.Click
tootlekujund(New Romb(txtKylgA.Text, txtAlfa.Text))
End Sub
Private Sub btnRoopkylik_Click(sender As Object, e As EventArgs) Handles btnRoopkylik.Click
tootlekujund(New Roopkylik(txtKylgA.Text, txtKylgB.Text, txtAlfa.Text))
End Sub
End Class
Imports System.Math
Public Class Kolmnurk
Inherits Kujund
Private korgus As Double
Public Sub New(ByVal alus As Double, ByVal haar As Double)
MyBase.New("Võrdhaarne kolmnurk", alus, haar, haar)
Me.korgus = Sqrt(haar * haar - (alus * alus / 4))
End Sub
Public Overrides Function leiaYmbermoot() As Double
Return kylgA + kylgB + kylgC
End Function
Public Overrides Function leiaPindala() As Double
Return kylgA * korgus / 2
End Function
End Class
Public MustInherit Class Kujund
Private tyyp As String
Protected kylgA As Double
Protected kylgB As Double
Protected kylgC As Double
Public Sub New(ByVal tyyp As String, ByVal kylgA As Double,
ByVal kylgB As Double, ByVal kylgC As Double)
Me.tyyp = tyyp
Me.kylgA = kylgA
Me.kylgB = kylgB
Me.kylgC = kylgC
End Sub
Public Function annaTyyp() As String
Return tyyp
End Function
Public MustOverride Function leiaYmbermoot() As Double
Public MustOverride Function leiaPindala() As Double
End Class
'------------------------------------------------------------------------------
' <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.PrjKujundid.formKujundid
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("PrjKujundid")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("PrjKujundid")>
<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("39a3b216-19f0-4248-a7c6-cfcc9ce54416")>
' 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("PrjKujundid.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.PrjKujundid.My.MySettings
Get
Return Global.PrjKujundid.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>
Public MustInherit Class Nelinurk
Inherits Kujund
Protected kylgD As Double
Public Sub New(ByVal tyyp As String, ByVal kylgA As Double, ByVal kylgB As Double,
ByVal kylgC As Double, ByVal kylgD As Double)
MyBase.New(tyyp, kylgA, kylgB, kylgC)
Me.kylgD = kylgD
End Sub
Public Overrides Function leiaYmbermoot() As Double
Return kylgA + kylgB + kylgC + kylgD
End Function
Public Overrides Function leiaPindala() As Double
Return 0
End Function
End Class
<?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>{C198A118-834D-420A-A52B-3B4D4FC42E99}</ProjectGuid>
<OutputType>WinExe</OutputType>
<StartupObject>PrjKujundid.My.MyApplication</StartupObject>
<RootNamespace>PrjKujundid</RootNamespace>
<AssemblyName>PrjKujundid</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>PrjKujundid.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>PrjKujundid.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.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="Form1.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.vb">
<DependentUpon>Form1.vb</DependentUpon>
<SubType>Form</SubType>
</Compile>
<Compile Include="Kolmnurk.vb" />
<Compile Include="Kujund.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>
<Compile Include="Nelinurk.vb" />
<Compile Include="Ristkylik.vb" />
<Compile Include="Romb.vb" />
<Compile Include="Roopkylik.vb" />
<Compile Include="Ruut.vb" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.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="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
Public Class Ristkylik
Inherits Nelinurk
' Konstruktor baasklassi atribuutide algväärtustamiseks
Public Sub New(ByVal alus As Double, ByVal korgus As Double)
' Baasklassi konstruktori väljakutse
MyBase.New("Ristkülik", alus, korgus, alus, korgus)
End Sub
' Funktsioon arvutab ja tagastab ristküliku pindala.
Public Overrides Function leiaPindala() As Double
Return kylgA * kylgB
End Function
End Class
\ No newline at end of file
Imports System.Math
Public Class Romb
Inherits Nelinurk
Dim korgus As Double
' Konstruktor baasklassi atribuutide algväärtustamiseks
Public Sub New(ByVal kylg As Double, alfa As Double)
' Baasklassi konstruktori väljakutse
MyBase.New("Romb", kylg, kylg, kylg, kylg)
Me.korgus = Sin(alfa * Math.PI / 180) * kylg
End Sub
' Funktsioon arvutab ja tagastab ristküliku pindala.
Public Overrides Function leiaPindala() As Double
Return kylgA * korgus
End Function
End Class
Imports System.Math
Public Class Roopkylik
Inherits Nelinurk
Dim korgus As Double
' Konstruktor baasklassi atribuutide algväärtustamiseks
Public Sub New(ByVal kylgA As Double, kylgB As Double, alfa As Double)
' Baasklassi konstruktori väljakutse
MyBase.New("RööpKülik", kylgA, kylgB, kylgA, kylgB)
Me.korgus = Sin(alfa * Math.PI / 180) * kylgB
End Sub
' Funktsioon arvutab ja tagastab ristküliku pindala.
Public Overrides Function leiaPindala() As Double
Return kylgA * korgus
End Function
End Class
Public Class Ruut
Inherits Nelinurk
' Konstruktor baasklassi atribuutide väärtustamiseks
Public Sub New(ByVal kylg As Double)
' Baasklassi konstruktori väljakutse
MyBase.New("Ruut", kylg, kylg, kylg, kylg)
End Sub
' Funktsioon arvutab ja tagastab ruudu pindala
Public Overrides Function leiaPindala() As Double
Return kylgA * kylgB
End Function
End Class
\ 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>
</configuration>
\ No newline at end of file
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjKujundid
</name>
</assembly>
<members>
<member name="T:PrjKujundid.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjKujundid.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjKujundid.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>
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\bin\Debug\PrjKujundid.exe.config
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\bin\Debug\PrjKujundid.exe
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\bin\Debug\PrjKujundid.pdb
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\bin\Debug\PrjKujundid.xml
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.vbprojResolveAssemblyReference.cache
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.formKujundid.resources
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.Resources.resources
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.vbproj.GenerateResource.Cache
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.vbproj.CoreCompileInputs.cache
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.exe
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.xml
P:\tt_projekt\tt2018\tund4\PrjKujundid\PrjKujundid\obj\Debug\PrjKujundid.pdb
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjKujundid
</name>
</assembly>
<members>
<member name="T:PrjKujundid.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjKujundid.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjKujundid.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>

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}") = "PrjAsukoht", "PrjAsukoht\PrjAsukoht.vbproj", "{CD89F9CF-5F17-4A08-A942-ED148EF9B923}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CD89F9CF-5F17-4A08-A942-ED148EF9B923}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD89F9CF-5F17-4A08-A942-ED148EF9B923}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD89F9CF-5F17-4A08-A942-ED148EF9B923}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD89F9CF-5F17-4A08-A942-ED148EF9B923}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {13EF539A-447D-4A67-AC16-81E6FF768249}
EndGlobalSection
EndGlobal
Imports PrjAsukoht
Public Class CKoordinaator
Implements IAsukoht
Private Const VAIKIMISI_FAILINIMI = "Smile.png"
Private strFailiNimiLokaalne As String
Private intMaximumX As Integer
Private intMaximumY As Integer
Public Sub New()
Randomize()
strFailiNimiLokaalne = VAIKIMISI_FAILINIMI
End Sub
Private Function leiaJuhuKoordinaat(ByVal strTelg As String) As Integer
Select Case strTelg
Case "X"
Return Int(intMaximumX * Rnd())
Case "Y"
Return Int(intMaximumY * Rnd())
Case Else
Return 0
End Select
End Function
Private Property strFailinimi As String Implements IAsukoht.strFailinimi
Get
Return strFailiNimiLokaalne
End Get
Set(value As String)
strFailiNimiLokaalne = value
End Set
End Property
Private Property intMaxX As Integer Implements IAsukoht.intMaxX
Get
Return intMaximumX
End Get
Set(value As Integer)
intMaximumX = value
End Set
End Property
Private Property intMaxY As Integer Implements IAsukoht.intMaxY
Get
Return intMaximumY
End Get
Set(value As Integer)
intMaximumY = value
End Set
End Property
Private Sub annaAsukoht(ByRef intXTelg As Integer, ByRef intYTelg As Integer) Implements IAsukoht.annaAsukoht
intXTelg = leiaJuhuKoordinaat("X")
intYTelg = leiaJuhuKoordinaat("Y")
End Sub
End Class
Public Interface IAsukoht
Property strFailinimi As String
Property intMaxX As Integer
Property intMaxY As Integer
Sub annaAsukoht(ByRef intXTelg As Integer, ByRef intYTelg As Integer)
End Interface
'------------------------------------------------------------------------------
' <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>1</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("PrjAsukoht")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("PrjAsukoht")>
<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("2636f58e-d3c6-414e-8e73-7f11509b032a")>
' 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("PrjAsukoht.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.PrjAsukoht.My.MySettings
Get
Return Global.PrjAsukoht.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>{CD89F9CF-5F17-4A08-A942-ED148EF9B923}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>PrjAsukoht</RootNamespace>
<AssemblyName>PrjAsukoht</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Windows</MyType>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>PrjAsukoht.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>PrjAsukoht.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.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="CKoordinaator.vb" />
<Compile Include="IAsukoht.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>
</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"?>
<doc>
<assembly>
<name>
PrjAsukoht
</name>
</assembly>
<members>
<member name="T:PrjAsukoht.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjAsukoht.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjAsukoht.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>
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjAsukoht
</name>
</assembly>
<members>
<member name="T:PrjAsukoht.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjAsukoht.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjAsukoht.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>
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\bin\Debug\PrjAsukoht.dll
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\bin\Debug\PrjAsukoht.pdb
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\bin\Debug\PrjAsukoht.xml
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Debug\PrjAsukoht.vbprojResolveAssemblyReference.cache
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Debug\PrjAsukoht.Resources.resources
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Debug\PrjAsukoht.vbproj.GenerateResource.Cache
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Debug\PrjAsukoht.vbproj.CoreCompileInputs.cache
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Debug\PrjAsukoht.dll
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Debug\PrjAsukoht.xml
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Debug\PrjAsukoht.pdb
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjAsukoht
</name>
</assembly>
<members>
<member name="T:PrjAsukoht.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjAsukoht.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjAsukoht.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>
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\bin\Release\PrjAsukoht.dll
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\bin\Release\PrjAsukoht.pdb
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\bin\Release\PrjAsukoht.xml
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Release\PrjAsukoht.Resources.resources
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Release\PrjAsukoht.vbproj.GenerateResource.Cache
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Release\PrjAsukoht.vbproj.CoreCompileInputs.cache
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Release\PrjAsukoht.dll
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Release\PrjAsukoht.xml
P:\tt_projekt\tt2018\tund5\PrjAsukoht\PrjAsukoht\obj\Release\PrjAsukoht.pdb
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjAsukoht
</name>
</assembly>
<members>
<member name="T:PrjAsukoht.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjAsukoht.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjAsukoht.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>

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}") = "PrjLoend", "PrjLoend\PrjLoend.vbproj", "{8B4F1905-A542-4574-A6E0-4028E8EB4E1D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8B4F1905-A542-4574-A6E0-4028E8EB4E1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8B4F1905-A542-4574-A6E0-4028E8EB4E1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8B4F1905-A542-4574-A6E0-4028E8EB4E1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8B4F1905-A542-4574-A6E0-4028E8EB4E1D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E58AB1B3-72B9-4696-9FBE-2D4428A2FC49}
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
'------------------------------------------------------------------------------
' <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.PrjLoend.formKasutajaAken
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("PrjLoend")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("PrjLoend")>
<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("cd083360-f363-417a-b2c5-c4ef4b5246a0")>
' 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("PrjLoend.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.PrjLoend.My.MySettings
Get
Return Global.PrjLoend.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>{8B4F1905-A542-4574-A6E0-4028E8EB4E1D}</ProjectGuid>
<OutputType>WinExe</OutputType>
<StartupObject>PrjLoend.My.MyApplication</StartupObject>
<RootNamespace>PrjLoend</RootNamespace>
<AssemblyName>PrjLoend</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>PrjLoend.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>PrjLoend.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="PrjAsukoht">
<HintPath>..\..\PrjAsukoht\PrjAsukoht\bin\Release\PrjAsukoht.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<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="formKasutajaAken.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="formKasutajaAken.Designer.vb">
<DependentUpon>formKasutajaAken.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="formKasutajaAken.resx">
<DependentUpon>formKasutajaAken.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="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
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjAsukoht
</name>
</assembly>
<members>
<member name="T:PrjAsukoht.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjAsukoht.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjAsukoht.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>
<?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>
PrjLoend
</name>
</assembly>
<members>
<member name="T:PrjLoend.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjLoend.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjLoend.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 formKasutajaAken
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.btnStart = New System.Windows.Forms.Button()
Me.btnStop = New System.Windows.Forms.Button()
Me.btnPuhasta = New System.Windows.Forms.Button()
Me.timerUuenda = New System.Windows.Forms.Timer(Me.components)
Me.pbValjak = New System.Windows.Forms.PictureBox()
Me.imgPeidetudPilt = New System.Windows.Forms.PictureBox()
Me.btnJoonista = New System.Windows.Forms.Button()
Me.lblTakt = New System.Windows.Forms.Label()
CType(Me.pbValjak, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.imgPeidetudPilt, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'btnStart
'
Me.btnStart.Location = New System.Drawing.Point(12, 12)
Me.btnStart.Name = "btnStart"
Me.btnStart.Size = New System.Drawing.Size(75, 35)
Me.btnStart.TabIndex = 0
Me.btnStart.Text = "Start"
Me.btnStart.UseVisualStyleBackColor = True
'
'btnStop
'
Me.btnStop.Location = New System.Drawing.Point(97, 12)
Me.btnStop.Name = "btnStop"
Me.btnStop.Size = New System.Drawing.Size(75, 35)
Me.btnStop.TabIndex = 1
Me.btnStop.Text = "Stop"
Me.btnStop.UseVisualStyleBackColor = True
'
'btnPuhasta
'
Me.btnPuhasta.Location = New System.Drawing.Point(331, 12)
Me.btnPuhasta.Name = "btnPuhasta"
Me.btnPuhasta.Size = New System.Drawing.Size(82, 35)
Me.btnPuhasta.TabIndex = 2
Me.btnPuhasta.Text = "Puhasta"
Me.btnPuhasta.UseVisualStyleBackColor = True
'
'timerUuenda
'
Me.timerUuenda.Interval = 1000
'
'pbValjak
'
Me.pbValjak.BackColor = System.Drawing.Color.WhiteSmoke
Me.pbValjak.Location = New System.Drawing.Point(12, 53)
Me.pbValjak.Name = "pbValjak"
Me.pbValjak.Size = New System.Drawing.Size(401, 333)
Me.pbValjak.TabIndex = 3
Me.pbValjak.TabStop = False
'
'imgPeidetudPilt
'
Me.imgPeidetudPilt.Location = New System.Drawing.Point(237, 12)
Me.imgPeidetudPilt.Name = "imgPeidetudPilt"
Me.imgPeidetudPilt.Size = New System.Drawing.Size(39, 35)
Me.imgPeidetudPilt.TabIndex = 4
Me.imgPeidetudPilt.TabStop = False
Me.imgPeidetudPilt.Visible = False
'
'btnJoonista
'
Me.btnJoonista.Location = New System.Drawing.Point(12, 392)
Me.btnJoonista.Name = "btnJoonista"
Me.btnJoonista.Size = New System.Drawing.Size(84, 32)
Me.btnJoonista.TabIndex = 5
Me.btnJoonista.Text = "Joonista"
Me.btnJoonista.UseVisualStyleBackColor = True
'
'lblTakt
'
Me.lblTakt.AutoSize = True
Me.lblTakt.Location = New System.Drawing.Point(355, 404)
Me.lblTakt.Name = "lblTakt"
Me.lblTakt.Size = New System.Drawing.Size(40, 20)
Me.lblTakt.TabIndex = 6
Me.lblTakt.Text = "NaN"
'
'formKasutajaAken
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(9.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(424, 431)
Me.Controls.Add(Me.lblTakt)
Me.Controls.Add(Me.btnJoonista)
Me.Controls.Add(Me.imgPeidetudPilt)
Me.Controls.Add(Me.pbValjak)
Me.Controls.Add(Me.btnPuhasta)
Me.Controls.Add(Me.btnStop)
Me.Controls.Add(Me.btnStart)
Me.KeyPreview = True
Me.Name = "formKasutajaAken"
Me.Text = "Aken"
CType(Me.pbValjak, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.imgPeidetudPilt, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents btnStart As Button
Friend WithEvents btnStop As Button
Friend WithEvents btnPuhasta As Button
Friend WithEvents timerUuenda As Timer
Friend WithEvents pbValjak As PictureBox
Friend WithEvents imgPeidetudPilt As PictureBox
Friend WithEvents btnJoonista As Button
Friend WithEvents lblTakt As Label
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="timerUuenda.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file
Public Class formKasutajaAken
Private Sub btnStart_Click(sender As Object, e As EventArgs) Handles btnStart.Click
timerUuenda.Enabled = True
btnStart.Enabled = False
End Sub
Private Sub btnStop_Click(sender As Object, e As EventArgs) Handles btnStop.Click
timerUuenda.Enabled = False
btnStart.Enabled = True
End Sub
Private Sub timerUuenda_Tick(sender As Object, e As EventArgs) Handles timerUuenda.Tick
btnPuhasta.PerformClick()
lblTakt.Text = timerUuenda.Interval
' Objektide massiivi loomine
Dim OKoordinaator(2) As PrjAsukoht.IAsukoht
' Muutujad objekti koordinaatide jaoks (NB! lähevad ByRefiga komponenti)
Dim intXKoordinaat As Integer = 0
Dim intYKoordinaat As Integer = 0
Dim asukoht = New System.Drawing.Point(intXKoordinaat, intYKoordinaat)
For i = 0 To 2 ' Iga taimeri taktiga tekitame 3 objekti korraga
OKoordinaator(i) = New PrjAsukoht.CKoordinaator ' Asendame komponendis (Const VAIKIMISI_FAILINIMI = "smile.png") oleva vaikimisi failinime
OKoordinaator(i).intMaxX = pbValjak.Width - 32
OKoordinaator(i).intMaxY = pbValjak.Height - 32
' Koordinaadid komponendist
If i = 1 Then
OKoordinaator(i).strFailinimi = "cool.png"
OKoordinaator(i).intMaxY = pbValjak.Height / 2 - 32
ElseIf i = 2 Then
OKoordinaator(i).strFailinimi = "yell.png"
OKoordinaator(i).intMaxX = pbValjak.Width / 2 - 32
End If
' Pildi asukoht komponendist
imgPeidetudPilt.Image = Image.FromFile(OKoordinaator(i).strFailinimi)
OKoordinaator(i).annaAsukoht(intXKoordinaat, intYKoordinaat)
If i = 2 Then
asukoht = New System.Drawing.Point(intXKoordinaat + pbValjak.Width / 2, intYKoordinaat)
Else
asukoht = New System.Drawing.Point(intXKoordinaat, intYKoordinaat)
End If
' Seadistame objekti maksimaalsed koordinaadid.
' NB! Vaja arvestada pbValjak äärega
' Pildi suurus 32x32px, paigutus ülemise vasaku nurga koordinaadi järgi
'Pildi väljakule paigaldamine komponentidest tulnud koordinaatidele
Dim g As Graphics = pbValjak.CreateGraphics
g.DrawImage(imgPeidetudPilt.Image, asukoht)
Next i
End Sub
Private Sub btnPuhasta_Click(sender As Object, e As EventArgs) Handles btnPuhasta.Click
Dim g As Graphics = pbValjak.CreateGraphics
g.Clear(Color.WhiteSmoke)
End Sub
Private Sub btnJoonista_Click(sender As Object, e As EventArgs) Handles btnJoonista.Click
Dim g As Graphics = pbValjak.CreateGraphics
Dim pliiats As New Pen(Color.Red)
pliiats.Width = 5
g.DrawLine(pliiats, 1, 1, 45, 65)
pliiats.Color = Color.Blue
pliiats.Width = 2
g.DrawEllipse(pliiats, New Rectangle(45, 65, 100, 200))
Dim oranzPintsel As New SolidBrush(Color.Orange)
Dim ruut As New Rectangle(200, 50, 100, 100)
g.FillRectangle(oranzPintsel, ruut)
End Sub
Private Sub formKasutajaAken_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
If (e.KeyCode = Keys.F And timerUuenda.Interval > 11) Then
timerUuenda.Interval = timerUuenda.Interval - 10
ElseIf e.KeyCode = Keys.S Then
timerUuenda.Interval = timerUuenda.Interval + 10
End If
End Sub
End Class
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\bin\Release\PrjLoend.exe.config
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\bin\Release\PrjLoend.exe
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\bin\Release\PrjLoend.pdb
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\bin\Release\PrjLoend.xml
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\bin\Release\PrjAsukoht.dll
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\bin\Release\PrjAsukoht.pdb
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\bin\Release\PrjAsukoht.xml
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.vbprojResolveAssemblyReference.cache
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.formKasutajaAken.resources
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.Resources.resources
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.vbproj.GenerateResource.Cache
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.vbproj.CoreCompileInputs.cache
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.exe
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.xml
C:\Users\trkall\AppData\Local\Temporary Projects\PrjLoend\obj\Release\PrjLoend.pdb
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\bin\Release\PrjLoend.exe.config
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\bin\Release\PrjLoend.exe
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\bin\Release\PrjLoend.pdb
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\bin\Release\PrjLoend.xml
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\bin\Release\PrjAsukoht.dll
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\bin\Release\PrjAsukoht.pdb
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\bin\Release\PrjAsukoht.xml
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.vbprojResolveAssemblyReference.cache
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.formKasutajaAken.resources
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.Resources.resources
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.vbproj.GenerateResource.Cache
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.vbproj.CoreCompileInputs.cache
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.exe
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.xml
P:\tt_projekt\tt2018\tund5\PrjLoend\PrjLoend\obj\Release\PrjLoend.pdb
<?xml version="1.0"?>
<doc>
<assembly>
<name>
PrjLoend
</name>
</assembly>
<members>
<member name="T:PrjLoend.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:PrjLoend.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:PrjLoend.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