1 / 5

Taskbar Jumplists

Taskbar Jumplists. private JumpList jumpList ; jumpList.AddToRecent ( fileName ); jumpList.KnownCategoryToDisplay = JumpListKnownCategoryType.Recent ; String p = Path.Combine ( systemFolder , "notepad.exe "); IconReference ir = New IconReference (p, 0 );

glyn
Télécharger la présentation

Taskbar Jumplists

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Taskbar Jumplists private JumpListjumpList; jumpList.AddToRecent(fileName); jumpList.KnownCategoryToDisplay = JumpListKnownCategoryType.Recent; String p = Path.Combine(systemFolder, "notepad.exe"); IconReferenceir= New IconReference(p, 0); JumpListLinkjll= New JumpListLink(p, "Open Notepad"); jll.IconReference = ir; jumpList.AddUserTasks(jll);

  2. Taskbar Overlays private TaskbarManagerwindowsTaskbar = TaskbarManager.Instance; windowsTaskbar.SetOverlayIcon( this.Handle, TaskbarDemo.Properties.Resources.Green, "Green"); windowsTaskbar.SetProgressState( TaskbarProgressBarState.Paused); windowsTaskbar.SetProgressValue( currentValue, maxValue);

  3. Taskbar Thumbnails buttonFirst= New ThumbnailToolbarButton( My.Resources.first, "First Image") AddHandlerbuttonFirst.Click, AddressOfbuttonFirst_Click TaskbarManager.Instance.TabbedThumbnail. SetThumbnailClip(Me.Handle, New Rectangle(pictureBox1.Location, pictureBox1.Size))

  4. Restart and Recovery ApplicationRestartRecoveryManager. RegisterForApplicationRestart( new RestartSettings("/restart", RestartRestrictions.None)); RecoveryDatadata = new RecoveryData( new RecoveryCallback(RecoveryProcedure), null); RecoverySettingssettings = new RecoverySettings(data, 0); ApplicationRestartRecoveryManager. RegisterForApplicationRecovery(settings);

  5. Power Management PowerManager.PowerSourceChanged+= new EventHandler(PowerSourceChanged); PowerManager.PowerPersonality PowerManager.PowerSource PowerManager. GetCurrentBatteryState(). EstimatedTimeRemaining

More Related