تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
لمراقبه اي اضافه او الغاء للخطوط الموجوده في الويندوز
#1
كاتب الموضوع : AhmedEssawy

اولا يجب عليك اضافه




كود :
[color=blue][FONT=Courier New]using[/FONT][/color][FONT=Courier New] Microsoft.Win32;[/FONT]
بعد تعريفك للحدث مع varible في الفورم


كود :
[color=blue][FONT=Courier New]public[/FONT][/color][FONT=Courier New] [color=blue]static[/color] [color=blue]event[/color] [color=teal]EventHandler[/color] InstalledFontsChanged;[/FONT]
الضف الكود التالي علي اعتبار وجود زر اسمعهbutton1


كود :
[color=blue][FONT=Courier New]private[/FONT][/color][FONT=Courier New] [color=blue]void[/color] button1_Click([color=blue]object[/color] sender, [color=teal]EventArgs[/color] e)[/FONT]
[FONT=Courier New]{[/FONT]

[color=teal][FONT=Courier New]SystemEvents[/FONT][/color][FONT=Courier New]. InstalledFontsChanged+= [color=blue]new[/color] [color=teal]EventHandler[/color](FontHandler);[/FONT]
[FONT=Courier New]}[/FONT]
[color=blue][FONT=Courier New]private[/FONT][/color][FONT=Courier New] [color=blue]void[/color] FontHandler ([color=blue]object[/color] sender, [color=teal]EventArgs[/color] e)[/FONT]
[FONT=Courier New]{[/FONT]
[color=teal][FONT=Courier New]MessageBox[/FONT][/color][FONT=Courier New].Show([color=maroon]"Installed fonts changed."[/color]);[/FONT]
[FONT=Courier New]}[/FONT]
}}}
تم الشكر بواسطة:


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  ادارة خدمات الويندوز Windows Services المثبة RaggiTech 0 1,799 17-10-12, 05:53 PM
آخر رد: RaggiTech
  نسخ .. انشاء ... الغاء ...اعاده تسميه مجلد folderمعين فيجوال بيسك RaggiTech 0 3,463 17-10-12, 05:45 PM
آخر رد: RaggiTech
  معرفة الوقت الذي مضى على تشغيل الويندوز (الوقت هنا بالملي ثانية) RaggiTech 0 1,864 17-10-12, 05:44 PM
آخر رد: RaggiTech
  لمراقبه اي تغيير في اعدادات الشاشه RaggiTech 0 1,527 17-10-12, 05:37 PM
آخر رد: RaggiTech
  لمراقبه اي اضافه او تعديل لساعه الويندوز RaggiTech 0 1,531 17-10-12, 05:37 PM
آخر رد: RaggiTech
  للتحكم في درجه الصوت الويندوز sound volume RaggiTech 0 1,568 17-10-12, 05:35 PM
آخر رد: RaggiTech
  للاستعلام عن LogicalDrives الموجوده علي النظام بالC# و VB.net RaggiTech 0 1,524 17-10-12, 05:33 PM
آخر رد: RaggiTech
  انشاء و الغاء مفتاح ريجستري RaggiTech 0 1,703 17-10-12, 05:03 PM
آخر رد: RaggiTech
  الاضافه و الغاء الصور من خلال ImageList بال C# و VB.net RaggiTech 0 3,073 17-10-12, 04:50 PM
آخر رد: RaggiTech
  اضافه كونترول في ال run time RaggiTech 0 1,538 17-10-12, 04:48 PM
آخر رد: RaggiTech

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


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