Advertisement
yo7b

Untitled

Jan 4th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1.  
  2. Private Sub CheckBox4_CheckedChanged_1(sender As Object, e As EventArgs) Handles CheckBox4.CheckedChanged
  3. If CheckBox4.Checked Then
  4. Control.CheckForIllegalCrossThreadCalls = False
  5. ThreadPool.SetMinThreads(Integer.MaxValue, Integer.MaxValue)
  6. ServicePointManager.DefaultConnectionLimit = Integer.MaxValue
  7. MyBase.Width = 248
  8. MyBase.Height = 165
  9.  
  10. Else
  11. Control.CheckForIllegalCrossThreadCalls = False
  12. ThreadPool.SetMinThreads(Integer.MaxValue, Integer.MaxValue)
  13. ServicePointManager.DefaultConnectionLimit = Integer.MaxValue
  14. MyBase.Width = 105
  15. MyBase.Height = 165
  16.  
  17. End If
  18. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement