Pause execution of a method without locking GUI. C#

前端 未结 4 1635
孤街浪徒
孤街浪徒 2020-12-30 16:19

I\'m working on a card game in C# for a project on my Intro to OOP paper and have got the game working now but am adding \"flair\" to the GUI.

Currently cards are de

4条回答
  •  梦毁少年i
    2020-12-30 17:04

    I would try puting the code that deals the deck ( and calls Thread.Sleep) in another thread.

提交回复
热议问题