Context menu related problem
suppose my context menu is associated with 3  label control. when i will right click on those label then context menu will appear. i want to capture from the context menu click event that on which label the context menu click event called. i tried but failed.

     void MyContextMenu_Click(object sender, EventArgs e)
        {
            if (sender.GetType() == typeof(Label))
            {
                if (((Label)sender).Name.ToUpper() == "LBLACCOUNTREFERENCE")
                {
                    Clipboard.Clear();
                    Clipboard.SetData(DataFormats.OemText, (object)((Label)sender).Text);
                }
            }
            else
            {
                Clipboard.Clear();
                Clipboard.SetData(DataFormats.OemText, (object)this.localJob.JobPart.OEReference);
            }
        }

please guide me.
Context menu related problem
===

suppose my context menu is associated with 3  label control. when i will right click on those label then context menu will appear. i want to capture from the context menu click event that on which label the context menu click event called. i tried but failed.

     void MyContextMenu_Click(object sender, EventArgs e)
        {
            if (sender.GetType() == typeof(Label))
            {
                if (((Label)sender).Name.ToUpper() == "LBLACCOUNTREFERENCE")
                {
                    Clipboard.Clear();
                    Clipboard.SetData(DataFormats.OemText, (object)((Label)sender).Text);
                }
            }
            else
            {
                Clipboard.Clear();
                Clipboard.SetData(DataFormats.OemText, (object)this.localJob.JobPart.OEReference);
            }
        }

please guide me.