jjzjj

renderpoint

全部标签

c# - 如何修复 WinForms 窗体中的闪烁?

我不断地绘制框架,我需要表格不闪烁。我该如何实现?publicpartialclassForm1:Form{Image[]dude=newImage[3];staticintrenderpoint=0;intlastimage=0;publicForm1(){dude[1]=newBitmap(@"snipe1.bmp");dude[0]=newBitmap(@"snipe0.bmp");InitializeComponent();}privatevoidForm1_Shown(objectsender,EventArgse){MainLoop();}privatevoidMainLo