public override void OnOpen(object userData) { m_ProcedureMenu = userData as ProcedureMenu; if (m_ProcedureMenu == null) { HotLog.Warning("ProcedureMenu is invalid when open MenuForm."); return; } }
public override void OnClose(object userData) { m_ProcedureMenu = null; }