'対処案 Private isEventProcessing As Boolean = False Private Sub Application_Idle(sender As Object, e As EventArgs) isEventProcessing = False End Sub Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If Not isEventProcessing Then isEventProcessing = True Cursor = Cursors.WaitCursor LongTimeAction() Cursor = Cursors.Default End If End Sub Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load AddHandler Application.Idle, AddressOf Application_Idle End Sub Private Sub Form1_FormClosed(sender As Object, e As FormClosedEventArgs) Handles Me.FormClosed RemoveHandler Application.Idle, AddressOf Application_Idle End Sub