HeightMapCleanup() private méthode

private HeightMapCleanup ( ) : void
Résultat void
Exemple #1
0
 private void exitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     isRunning = false;
     YamangDll.HeightMapCleanup();
     YamangDll.D3DCleanUp();
     //YamangDll.MeshObjectCleanUp(ref infoPtr);
     Application.Exit();
 }
 private void Main_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (e.CloseReason == CloseReason.UserClosing)
     {
         renderStop = true;
         YamangDll.HeightMapCleanup();
         YamangDll.D3DCleanUp();
         MessageBox.Show(this, "맵툴을 종료합니다", "Closing...", MessageBoxButtons.OK, MessageBoxIcon.Question);
     }
 }
Exemple #3
0
        private void Main_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (e.CloseReason == CloseReason.UserClosing)
            {
                if (isRunning == true)
                {
                    isRunning = false;
                    YamangDll.HeightMapCleanup();
//                     if (infoPtr != IntPtr.Zero)
//                     {
//                         YamangDll.MeshObjectCleanUp(ref infoPtr);
//                     }
                    YamangDll.D3DCleanUp();
                    MessageBox.Show(this, "맵툴을 종료합니다", "Closing...", MessageBoxButtons.OK, MessageBoxIcon.Question);
                }
            }
        }