void Control_Leave(object sender, EventArgs e) { IDataControl dc = (sender as Control).Parent as IDataControl; m_cm.CheckControlValue(dc); }