Exemplo n.º 1
0
        private void RefreshButtonClick(object sender, EventArgs e)
        {
            _handleList.Clear();
            windowList.Items.Clear();

            _callBackPtr = ListWindows;
            WindowsApi.EnumWindows(_callBackPtr, (IntPtr)0);
            windowList.SelectedIndex = 0;
        }