Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ((Label)pControl).Background = m_pBrush;
- string sControlName = ((Control)pControl).Name;
- string sFuntionName = sControlName + "_MouseDoubleClick";
- MethodInfo pMethod = this.GetType()?.GetMethod(sFuntionName);
- pMethod.Invoke(((Label)pControl), null);
Add Comment
Please, Sign In to add comment