Imports System
Imports System.Drawing
Imports System.Collections
Imports System.ComponentModel
Imports System.Windows.Forms
Imports System.Data
Imports System.IO
Namespace WindowsApplication31
'/ <summary>
'/ Descrizione di riepilogo per Form1.
'/ </summary>
Public Class Form1
Inherits System.Windows.Forms.Form
Private WithEvents o As System.Windows.Forms.TextBox
Private WithEvents button2 As System.Windows.Forms.Button
Private label1 As System.Windows.Forms.Label
Private label2 As System.Windows.Forms.Label
Private WithEvents button3 As System.Windows.Forms.Button
Private WithEvents button1 As System.Windows.Forms.Button
Private WithEvents i1 As System.Windows.Forms.TextBox
Private WithEvents button4 As System.Windows.Forms.Button
Private pictureBox1 As System.Windows.Forms.PictureBox
'/ <summary>
'/ Variabile di progettazione necessaria.
'/ </summary>
Private components As System.ComponentModel.Container = Nothing
Public Sub New()
'
' Necessario per il supporto di Progettazione Windows Form
'
InitializeComponent()
End Sub 'New
'
' TODO: aggiungere il codice del costruttore dopo la chiamata a InitializeComponent
'
'/ <summary>
'/ Pulire le risorse in uso.
'/ </summary>
Protected Overrides Sub Dispose(disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub 'Dispose
#Region "Codice generato da Progettazione Windows Form"
'/ <summary>
'/ Metodo necessario per il supporto della finestra di progettazione. Non modificare
'/ il contenuto del metodo con l'editor di codice.
'/ </summary>
Private Sub InitializeComponent()
Dim resources As New System.Resources.ResourceManager(GetType(Form1))
Me.i1 = New System.Windows.Forms.TextBox()
Me.o = New System.Windows.Forms.TextBox()
Me.button2 = New System.Windows.Forms.Button()
Me.label1 = New System.Windows.Forms.Label()
Me.label2 = New System.Windows.Forms.Label()
Me.button3 = New System.Windows.Forms.Button()
Me.button1 = New System.Windows.Forms.Button()
Me.button4 = New System.Windows.Forms.Button()
Me.pictureBox1 = New System.Windows.Forms.PictureBox()
Me.SuspendLayout()
'
' i1
'
Me.i1.Font = New System.Drawing.Font("Comic Sans MS", __unknown, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.i1.ForeColor = System.Drawing.Color.Black '
'ToDo: Error processing original source shown below
' this.i1.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
' this.i1.ForeColor = System.Drawing.Color.Black;
'------------------------------------------------------------------^--- Numeric constant overflow
Me.i1.Location = New System.Drawing.Point(16, 56)
Me.i1.Name = "i1"
Me.i1.Size = New System.Drawing.Size(280, 23)
Me.i1.TabIndex = 0
Me.i1.Text = "SataNa"
'
' o
'
Me.o.Font = New System.Drawing.Font("Comic Sans MS", __unknown, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.o.ForeColor = System.Drawing.Color.Black '
'ToDo: Error processing original source shown below
' this.o.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
' this.o.ForeColor = System.Drawing.Color.Black;
'-----------------------------------------------------------------^--- Numeric constant overflow
Me.o.Location = New System.Drawing.Point(16, 128)
Me.o.Name = "o"
Me.o.ReadOnly = True
Me.o.Size = New System.Drawing.Size(280, 23)
Me.o.TabIndex = 1
Me.o.Text = ""
'
' button2
'
Me.button2.Font = New System.Drawing.Font("Comic Sans MS", __unknown, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.button2.ForeColor = System.Drawing.Color.Lime '
'ToDo: Error processing original source shown below
' this.button2.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
' this.button2.ForeColor = System.Drawing.Color.Lime;
'-----------------------------------------------------------------------^--- Numeric constant overflow
Me.button2.Location = New System.Drawing.Point(16, 176)
Me.button2.Name = "button2"
Me.button2.Size = New System.Drawing.Size(96, 32)
Me.button2.TabIndex = 3
Me.button2.Text = "CaNCeLLa"
'
' label1
'
Me.label1.Font = New System.Drawing.Font("Comic Sans MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.label1.ForeColor = System.Drawing.Color.Lime
Me.label1.Location = New System.Drawing.Point(16, 16)
Me.label1.Name = "label1"
Me.label1.Size = New System.Drawing.Size(96, 16)
Me.label1.TabIndex = 6
Me.label1.Text = "NiCk NoRMaLe"
'
' label2
'
Me.label2.Font = New System.Drawing.Font("Comic Sans MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.label2.ForeColor = System.Drawing.Color.Lime
Me.label2.Location = New System.Drawing.Point(16, 96)
Me.label2.Name = "label2"
Me.label2.Size = New System.Drawing.Size(96, 16)
Me.label2.TabIndex = 7
Me.label2.Text = "NiCk In ASCII"
'
' button3
'
Me.button3.Font = New System.Drawing.Font("Comic Sans MS", __unknown, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.button3.ForeColor = System.Drawing.Color.Lime '
'ToDo: Error processing original source shown below
' this.button3.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
' this.button3.ForeColor = System.Drawing.Color.Lime;
'-----------------------------------------------------------------------^--- Numeric constant overflow
Me.button3.Location = New System.Drawing.Point(344, 176)
Me.button3.Name = "button3"
Me.button3.Size = New System.Drawing.Size(96, 32)
Me.button3.TabIndex = 8
Me.button3.Text = "CoPiA"
'
' button1
'
Me.button1.Font = New System.Drawing.Font("Comic Sans MS", __unknown, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.button1.ForeColor = System.Drawing.Color.Lime '
'ToDo: Error processing original source shown below
' this.button1.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
' this.button1.ForeColor = System.Drawing.Color.Lime;
'-----------------------------------------------------------------------^--- Numeric constant overflow
Me.button1.Location = New System.Drawing.Point(16, 232)
Me.button1.Name = "button1"
Me.button1.Size = New System.Drawing.Size(128, 32)
Me.button1.TabIndex = 9
Me.button1.Text = "DeCoRaZioNi"
'
' button4
'
Me.button4.Font = New System.Drawing.Font("Comic Sans MS", __unknown, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
Me.button4.ForeColor = System.Drawing.Color.Lime '
'ToDo: Error processing original source shown below
' this.button4.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
' this.button4.ForeColor = System.Drawing.Color.Lime;
'-----------------------------------------------------------------------^--- Numeric constant overflow
'
'ToDo: Error processing original source shown below
' //
' this.i1.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
'-----------------------------------------------------------------^--- expression expected
'
'ToDo: Error processing original source shown below
' //
' this.o.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
'----------------------------------------------------------------^--- expression expected
'
'ToDo: Error processing original source shown below
' //
' this.button2.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
'----------------------------------------------------------------------^--- expression expected
'
'ToDo: Error processing original source shown below
' //
' this.button3.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
'----------------------------------------------------------------------^--- expression expected
'
'ToDo: Error processing original source shown below
' //
' this.button1.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
'----------------------------------------------------------------------^--- expression expected
'
'ToDo: Error processing original source shown below
' //
' this.button4.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
'----------------------------------------------------------------------^--- expression expected
Me.button4.Location = New System.Drawing.Point(344, 232)
Me.button4.Name = "button4"
Me.button4.Size = New System.Drawing.Size(96, 32)
Me.button4.TabIndex = 10
Me.button4.Text = "InFo"
'
' pictureBox1
'
Me.pictureBox1.BackColor = System.Drawing.Color.Transparent
Me.pictureBox1.Image = CType(resources.GetObject("pictureBox1.Image"), System.Drawing.Image)
Me.pictureBox1.Location = New System.Drawing.Point(312, 8)
Me.pictureBox1.Name = "pictureBox1"
Me.pictureBox1.Size = New System.Drawing.Size(136, 128)
Me.pictureBox1.TabIndex = 11
Me.pictureBox1.TabStop = False
'
' Form1
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.Color.Black
Me.ClientSize = New System.Drawing.Size(450, 272)
Me.Controls.Add(pictureBox1)
Me.Controls.Add(button4)
Me.Controls.Add(button1)
Me.Controls.Add(button3)
Me.Controls.Add(label2)
Me.Controls.Add(label1)
Me.Controls.Add(button2)
Me.Controls.Add(o)
Me.Controls.Add(i1)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "Form1"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = " M|<R 1.2"
Me.ResumeLayout(False)
End Sub 'InitializeComponent
#End Region
'/ <summary>
'/ Il punto di ingresso principale dell'applicazione.
'/ </summary>
<STAThread()> _
Shared Sub Main()
Application.Run(New SplashScreen())
Application.Run(New Form1())
End Sub 'Main
Private Sub button1_Click(sender As Object, e As System.EventArgs)
End Sub 'button1_Click
Private Sub button2_Click(sender As Object, e As System.EventArgs) Handles button2.Click
i1.Text = ""
o.Text = ""
End Sub 'button2_Click
Private Sub button3_Click(sender As Object, e As System.EventArgs)
Clipboard.SetDataObject(o.Text)
End Sub 'button3_Click
Private Sub o_KeyPress(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles o.KeyPress
If e.KeyChar = Convert.ToChar(Keys.Clear) OrElse e.KeyChar = Convert.ToChar(Keys.Cancel) OrElse e.KeyChar = Convert.ToChar(Keys.Delete) OrElse e.KeyChar = Convert.ToChar(Keys.Back) OrElse e.KeyChar = Convert.ToChar(Keys.BrowserBack) Then
Return
End If
Select Case e.KeyChar
Case "a"c
o.Text += ""
Case "b"c
o.Text += ""
Case "c"c
o.Text += ""
Case "e"c
o.Text += ""
Case "f"c
o.Text += ""
Case "h"c
o.Text += "h"
Case "H"c
o.Text += "][=]["
Case "n"c
o.Text += ""
Case "N"c
o.Text += ""
Case "o"c
o.Text += ""
Case "r"c
o.Text += ""
Case "s"c
o.Text += "$"
Case "t"c
o.Text += ""
Case "T"c
o.Text += "']['"
Case "A"c
o.Text += ""
Case "B"c
o.Text += "|8"
Case "C"c
o.Text += ""
Case "D"c
o.Text += ""
Case "E"c
o.Text += ""
Case "F"c
o.Text += ""
Case "I"c
o.Text += "]["
Case "L"c
o.Text += "]_"
Case "M"c
o.Text += "][V]["
Case "O"c
o.Text += ""
Case "S"c
o.Text += ""
Case "U"c
o.Text += ""
Case "y"c
o.Text += ""
Case "Y"c
o.Text += ""
Case "K"c
o.Text += "|<"
Case "W"c
o.Text += "\X//"
Case Else
o.Text += e.KeyChar.ToString()
End Select
End Sub 'o_KeyPress
Private Sub i_KeyPress(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles i1.KeyPress
End Sub 'i_KeyPress
Private Sub button4_Click(sender As Object, e As System.EventArgs)
End Sub 'button4_Click
Private Sub o_TextChanged(sender As Object, e As System.EventArgs) Handles o.TextChanged
End Sub 'o_TextChanged
Private Sub button1_Click_1(sender As Object, e As System.EventArgs) Handles button1.Click
Dim f As New Form2()
f.ShowDialog()
End Sub 'button1_Click_1
Private Sub i_TextChanged(sender As Object, e As System.EventArgs) Handles i1.TextChanged
o.Text = ""
Dim i As Integer
For i = 0 To i1.Text.Length - 1
Dim c As Char = i1.Text(i)
Select Case c
Case "a"c
o.Text += ""
Case "b"c
o.Text += ""
Case "c"c
o.Text += ""
Case "e"c
o.Text += ""
Case "f"c
o.Text += ""
Case "h"c
o.Text += "h"
Case "H"c
o.Text += "][=]["
Case "n"c
o.Text += ""
Case "N"c
o.Text += ""
Case "o"c
o.Text += ""
Case "r"c
o.Text += ""
Case "s"c
o.Text += "$"
Case "t"c
o.Text += ""
Case "T"c
o.Text += "']['"
Case "A"c
o.Text += ""
Case "B"c
o.Text += "|8"
Case "C"c
o.Text += ""
Case "D"c
o.Text += ""
Case "E"c
o.Text += ""
Case "F"c
o.Text += ""
Case "I"c
o.Text += "]["
Case "L"c
o.Text += "]_"
Case "M"c
o.Text += "][V]["
Case "O"c
o.Text += ""
Case "S"c
o.Text += ""
Case "U"c
o.Text += ""
Case "y"c
o.Text += ""
Case "Y"c
o.Text += ""
Case "K"c
o.Text += "|<"
Case "W"c
o.Text += "\X//"
Case Else
o.Text += c.ToString()
End Select
Next i
End Sub 'i_TextChanged
Private Sub button4_Click_1(sender As Object, e As System.EventArgs) Handles button4.Click
Dim p As New Form3()
p.ShowDialog()
End Sub 'button4_Click_1
Private Sub button3_Click_1(sender As Object, e As System.EventArgs) Handles button3.Click
Clipboard.SetDataObject(o.Text)
End Sub 'button3_Click_1
Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles MyBase.Load
End Sub 'Form1_Load
End Class 'Form1
End Namespace 'WindowsApplication31