new
This commit is contained in:
@@ -97,19 +97,19 @@ Public Class frmMessenger
|
||||
' If IO.Directory.Exists(My.Application.roo "") Then
|
||||
|
||||
If IO.Directory.Exists(EMOJI_PATH) Then
|
||||
For Each a In IO.Directory.GetFiles(EMOJI_PATH) '.OrderBy(Function(f) f)
|
||||
If alloweasteregg Or Not a.Contains("easteregg") Then
|
||||
If IO.File.Exists(a) And a.Contains(".png") And a.Contains("emoji_") Then
|
||||
For Each aa In IO.Directory.GetFiles(EMOJI_PATH) '.OrderBy(Function(f) f)
|
||||
If alloweasteregg Or Not aa.Contains("easteregg") Then
|
||||
If IO.File.Exists(aa) And aa.Contains(".png") And aa.Contains("emoji_") Then
|
||||
|
||||
Dim p As New PictureBox
|
||||
p.Size = New Size(40, 40)
|
||||
p.BackgroundImage = Image.FromFile(a)
|
||||
p.BackgroundImage = Image.FromFile(aa)
|
||||
p.BackgroundImageLayout = ImageLayout.Zoom
|
||||
p.Cursor = Cursors.Hand
|
||||
AddHandler p.Click, Sub()
|
||||
If Not CHAT.chat_aktiv Then MsgBox("Chat inaktiv!") : Exit Sub
|
||||
If CHAT IsNot Nothing Then
|
||||
saveEmoji(a)
|
||||
saveEmoji(aa)
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user