Ejemplo n.º 1
0
 // Static Create method called by the event tracker system
 // WinEvents are raise because items exist. So it makes sense to create the item and
 // check for details afterward.
 internal static void RaiseEvents(IntPtr hwnd, int eventId, object idProp, int idObject, int idChild)
 {
     if (idObject != NativeMethods.OBJID_VSCROLL && idObject != NativeMethods.OBJID_HSCROLL)
     {
         WindowsProgressBar wtv = new WindowsProgressBar(hwnd, null, 0);
         wtv.DispatchEvents(eventId, idProp, idObject, idChild);
     }
 }
 // Static Create method called by the event tracker system
 // WinEvents are raise because items exist. So it makes sense to create the item and
 // check for details afterward.
 internal static void RaiseEvents (IntPtr hwnd, int eventId, object idProp, int idObject, int idChild)
 {
     if (idObject != NativeMethods.OBJID_VSCROLL && idObject != NativeMethods.OBJID_HSCROLL)
     {
         WindowsProgressBar wtv = new WindowsProgressBar (hwnd, null, 0);
         wtv.DispatchEvents (eventId, idProp, idObject, idChild);
     }
 }