コード例 #1
0
ファイル: GClass131.cs プロジェクト: nobodyMi/WiiU_USB_Helper
 public static void smethod_2()
 {
     try
     {
         if (GClass131.bool_0)
         {
             return;
         }
         GClass131.bool_0 = true;
         ManagementEventWatcher managementEventWatcher = new ManagementEventWatcher((EventQuery) new WqlEventQuery("SELECT * FROM Win32_DeviceChangeEvent WHERE EventType = 2 OR EventType = 3"));
         managementEventWatcher.EventArrived += (EventArrivedEventHandler)((sender, e) =>
         {
             int count = GClass131.smethod_1().Count;
             if (count == GClass131.int_0)
             {
                 return;
             }
             GClass131.int_0 = count;
             // ISSUE: reference to a compiler-generated field
             EventHandler eventHandler0 = GClass131.eventHandler_0;
             if (eventHandler0 == null)
             {
                 return;
             }
             eventHandler0((object)null, (EventArgs)null);
         });
         managementEventWatcher.Start();
     }
     catch
     {
     }
 }
コード例 #2
0
 private void method_5()
 {
     this.radPageView1.SelectedPage = this.radPageView1.Pages[2];
     GClass131.smethod_0(new Action <GClass132>(this.method_6));
 }