تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
اظهار ايقونه تنبيه للمستخدم
#1
كاتب الموضوع : AhmedEssawy


كود :
' ----------------------------------------
' Required Imports :
'
' System.Reflection
' System.IO
' Microsoft.VisualBasic
' Microsoft.WindowsCE.Forms
' System.Drawing
' ----------------------------------------

Private Sub sendNotfication(ByVal message As String)

' Set the Text property to the HTML string.
Notification1.Text = message

' Get the icon as an embedded resource.
' Note that icon must be added to project as an embedded resource.
Dim asm As System.Reflection.Assembly
asm = System.Reflection.Assembly.GetExecutingAssembly()

' Note that the name for the embedded resource
' is case sensitive and must match the file name.
Dim s As Stream = asm.GetManifestResourceStream("PocketPCApplication1.notify.ico")
Notification1.Icon = New Icon(s, 16, 16)

' If the notification is canceled, its icon remains
' available for later activating the notification.

Notification1.Caption = "Notification"
Notification1.Critical = False

' Initially display the notification for 10 seconds.
Notification1.InitialDuration = 10
Notification1.Visible = True
End Sub
}}}
تم الشكر بواسطة:


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  كود اظهار الاي بي العالمي(او الحقيقي) RaggiTech 0 2,315 17-10-12, 09:56 PM
آخر رد: RaggiTech
  اظهار اسم النظام + اصداره على سطح المكتب RaggiTech 0 2,383 17-10-12, 08:42 PM
آخر رد: RaggiTech
  اخفاء-اظهار شريط المهام TaskBar RaggiTech 0 1,809 17-10-12, 05:50 PM
آخر رد: RaggiTech
  حدث يعمل عن عمل log in للمستخدم RaggiTech 0 1,718 17-10-12, 05:08 PM
آخر رد: RaggiTech

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم