با عرض سلام و خسته نباشید خدمت کاربران وب سایت پروگرم 98 😉 در این مطلب از وب سایت پروگرم 98 کد نمایش 5 تا از اولین ورودی های system Event log در c#.net را آماده کردم. انشاالله که این کد براتون مفید باشه.
کد نمایش 5 تا از اولین ورودی های system Event log در c#.net :
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Microsoft.Win32;
using System.Diagnostics;
public class MainClass{
public static void Main(){
EventLog log = new EventLog();
for(int i = 0; i < 5; i++)
{
try
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Microsoft.Win32;
using System.Diagnostics;
public class MainClass{
public static void Main(){
EventLog log = new EventLog();
for(int i = 0; i < 5; i++)
{
try