我有一類這樣的... public class Class1
{
public Class1()
{
byte[] plainText = new byte[1024];
using (MemoryStream msEncrypt = new MemoryStream())
{
using (CryptoStream csEn
我正在嘗試創建一個應用程序,顯示picturebox中的在線列車。 但我的應用程序花費了大量的內存,有時我得到Out of memory exception,有時我的火車Disappears從picturebox。要在線繪製列車,我第一次繪製picturebox上的火車地圖(線路,車站......),大小爲x=A和y=b之後,我使用此代碼創建另一個picturebox,並將第二個picturebo