Änderungen Rechnugen, Chat, cAllgemeint
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Imports System.Drawing
|
||||
Imports System.IO
|
||||
|
||||
Public Class usrCntlMessenger_ChatEmoji
|
||||
Property BG_COLOR As Color = Color.FromArgb(192, 255, 192) ' Color.Azure
|
||||
@@ -43,11 +44,20 @@ Public Class usrCntlMessenger_ChatEmoji
|
||||
' txtChatmessage.Text = CHAT_MSG.chatMg_text
|
||||
|
||||
Dim imgPath = CHAT_MSG.chatMg_text
|
||||
Dim filename = New FileInfo(imgPath).Name
|
||||
Dim imgPathLocal = imgPath.Replace(filename, "")
|
||||
Try
|
||||
'Dim frmM As frmMessenger = DirectCast(Me.Parent, frmMessenger)
|
||||
If frmM.EMOJI_PATH <> frmM.EMOJI_PATH_MAIN Then
|
||||
If System.IO.File.Exists(imgPath.Replace(frmM.EMOJI_PATH_MAIN, frmM.EMOJI_PATH)) Then
|
||||
imgPath = imgPath.Replace(frmM.EMOJI_PATH_MAIN, frmM.EMOJI_PATH)
|
||||
|
||||
'If frmM.EMOJI_PATH_LOCAL <> frmM.EMOJI_PATH_MAIN Then
|
||||
' If System.IO.File.Exists(imgPath.Replace(frmM.EMOJI_PATH_MAIN, frmM.EMOJI_PATH_LOCAL)) Then
|
||||
' imgPath = imgPath.Replace(frmM.EMOJI_PATH_MAIN, frmM.EMOJI_PATH_LOCAL)
|
||||
' ' End If
|
||||
'End If
|
||||
|
||||
If frmM.EMOJI_PATH_LOCAL <> imgPathLocal Then
|
||||
If System.IO.File.Exists(imgPath.Replace(imgPathLocal, frmM.EMOJI_PATH_LOCAL)) Then
|
||||
imgPath = imgPath.Replace(imgPathLocal, frmM.EMOJI_PATH_LOCAL)
|
||||
End If
|
||||
End If
|
||||
Catch ex As Exception
|
||||
|
||||
Reference in New Issue
Block a user