-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInvoer.vb
42 lines (38 loc) · 1.17 KB
/
Invoer.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
'De instellingen en geimporteerde namespaces van deze module.
Option Compare Binary
Option Explicit On
Option Infer Off
Option Strict On
Imports System
Imports System.Windows.Forms
'Deze module bevat het invoer venster.
Public Class InvoerVenster
'Deze procedure sluit dit venster en annuleert de invoer.
Private Sub AnnulerenKnop_Click(sender As Object, e As EventArgs) Handles AnnulerenKnop.Click
Try
Me.DialogResult = DialogResult.Cancel
Me.Close()
Catch
HandelFoutAf()
End Try
End Sub
'Deze procedure stelt dit venster in.
Private Sub InvoerVenster_Shown(sender As Object, e As EventArgs) Handles Me.Shown
Try
Me.Text = My.Application.Info.Title
PromptLabel.MaximumSize = Paneel.Size
TekstVeld.Focus()
Catch
HandelFoutAf()
End Try
End Sub
'Deze procedure sluit dit venster en bevestigt de invoer.
Private Sub OKKnop_Click(sender As Object, e As EventArgs) Handles OKKnop.Click
Try
Me.DialogResult = DialogResult.OK
Me.Close()
Catch
HandelFoutAf()
End Try
End Sub
End Class