HeightMapCleanup() private method

private HeightMapCleanup ( ) : void
return void
示例#1
0
 private void exitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     isRunning = false;
     YamangDll.HeightMapCleanup();
     YamangDll.D3DCleanUp();
     //YamangDll.MeshObjectCleanUp(ref infoPtr);
     Application.Exit();
 }
示例#2
0
 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);
     }
 }
示例#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);
                }
            }
        }