public void m_mthBindControl(Control p_ctlCall, Control p_ctlTarget, enmCommonUseValue p_enm) { switch (p_ctlCall.GetType().FullName) { case "System.Windows.Forms.Button": case "PinkieControls.ButtonXP": p_ctlCall.Click += new System.EventHandler(m_mthShowCommonUseValue); break; } m_ctlTarget = p_ctlTarget; m_enmType = p_enm; }
public void m_mthBindControl(Control p_ctlCall, Control p_ctlTarget, enmCommonUseValue p_enm) { new clsCommonUseTool(m_frmParent).m_mthBindControl(p_ctlCall, p_ctlTarget, p_enm); }