Пример #1
0
 void Main_FormClosing(object sender, FormClosingEventArgs e)
 {
     tmr.Stop();
     DllNative.CleanUpDirect3D();
 }
Пример #2
0
 void tmr_Tick(object sender, EventArgs e)
 {
     DllNative.Render();
 }
Пример #3
0
 void Main_Load(object sender, EventArgs e)
 {
     DllNative.InitDirect3D(pnx.Handle.ToPointer());
 }