Ejemplo n.º 1
0
 private void SetValueInTB()
 {
     if (showInTaskbar)
     {
         ulong maximum = (ulong)(base.Maximum - base.Minimum);
         ulong current = (ulong)(Value - base.Minimum);
         Windows7Taskbar.SetProgressValue(ownerForm.Handle, current, maximum);
     }
 }
Ejemplo n.º 2
0
        private void SetValueInTB()
        {
            if (showInTaskbar)
            {
                ulong maximum  = (ulong)(Maximum - Minimum);
                ulong progress = (ulong)(Value - Minimum);

                Windows7Taskbar.SetProgressValue(ownerForm.Handle, progress, maximum);
            }
        }