Skip to content

Commit

Permalink
Merge pull request #337 from kaovilai/deadvariables
Browse files Browse the repository at this point in the history
dead variables
  • Loading branch information
ChrisAnd1998 authored Aug 18, 2020
2 parents 828fa49 + b63f572 commit 8df00b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion TaskbarX/TaskbarX/TaskbarCenter.vb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ Public Class TaskbarCenter
Dim Taskbars As New ArrayList

For Each Taskbar In windowHandles
Dim TaskbarHwnd As IntPtr = CType(Taskbar, IntPtr)
Dim sClassName As New StringBuilder("", 256)
Call Win32.GetClassName(CType(Taskbar, IntPtr), sClassName, 256)

Expand Down
2 changes: 0 additions & 2 deletions TaskbarX/TaskbarX/TaskbarStyle.vb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Public Class TaskbarStyle

Public Declare Function EnumWindows Lib "user32" (ByVal Adress As CallBack, ByVal y As Integer) As Integer
Public Shared ActiveWindows As New System.Collections.ObjectModel.Collection(Of IntPtr)
Public Shared ActiveWindows2 As New System.Collections.ObjectModel.Collection(Of IntPtr)

Public Shared Function GetActiveWindows() As ObjectModel.Collection(Of IntPtr)
windowHandles.Clear()
EnumWindows(AddressOf Enumerator, 0)
Expand Down

0 comments on commit 8df00b4

Please sign in to comment.