예제 #1
0
 internal GEventArgs0(GEnum13 genum13_1, Keys keys_1)
 {
     Class13.NP5bWyNzLwONS();
     base..ctor();
     this.genum13_0 = genum13_1;
     this.keys_0    = keys_1;
 }
예제 #2
0
 internal GEventArgs0(GEnum13 genum13_1, Keys keys_1)
 {
     Class13.lOBHd9Nzn7x2T();
     base..ctor();
     this.genum13_0 = genum13_1;
     this.keys_0    = keys_1;
 }
예제 #3
0
 public void method_0(GEnum13 genum13_0, Keys keys_0)
 {
     this.int_0++;
     if (!GClass929.RegisterHotKey(this.window_0.Handle, this.int_0, (uint)genum13_0, (uint)keys_0))
     {
         throw new InvalidOperationException("Couldn’t register the hot key.");
     }
 }
예제 #4
0
    private void method_1(GEnum13 genum13_0, Keys keys_0)
    {
        WindowInteropHelper windowInteropHelper = new WindowInteropHelper(this);
        int num = Interlocked.Increment(ref GClass924.int_0);

        if (GClass924.RegisterHotKey(windowInteropHelper.Handle, num, (uint)genum13_0, (uint)keys_0))
        {
            this.hashSet_0.Add(num);
        }
    }
예제 #5
0
 protected override void WndProc(ref Message m)
 {
     base.WndProc(ref m);
     if (m.Msg == GClass929.Window.int_0)
     {
         Keys    keys_    = (Keys)((int)m.LParam >> 16 & 65535);
         GEnum13 genum13_ = (GEnum13)((int)m.LParam & 65535);
         if (this.eventHandler_0 != null)
         {
             this.eventHandler_0(this, new GEventArgs0(genum13_, keys_));
         }
     }
 }
예제 #6
0
 private IntPtr method_3(IntPtr intptr_0, int int_1, IntPtr intptr_1, IntPtr intptr_2, ref bool bool_1)
 {
     if (int_1 == 786)
     {
         int item = intptr_1.ToInt32();
         if (this.hashSet_0.Contains(item))
         {
             Keys    keys_    = (Keys)((int)intptr_2 >> 16 & 65535);
             GEnum13 genum13_ = (GEnum13)((int)intptr_2 & 65535);
             if (this.method_9(this, new GEventArgs0(genum13_, keys_)))
             {
                 bool_1 = true;
             }
         }
     }
     return(IntPtr.Zero);
 }