public void EndDialog() { m_curDialogGroupNum = -1; HideWindow(m_afterDialogFunc); m_bLock = false; m_pressReceiver.OnPressFunc = null; }