I have dynamically added button to a listbox.
I'm working with that button and I have to know where this button is located.

I have this method:

```
private void addNewButton_Click(object sender, RoutedEventArgs e)
    {
        if(sender.GetType().IsSubclassOf(typeof(Control)))
        {
            Control formControl = (Control)sender;
            switch (formControl.Name)
            {
                case "addSound20":
                case "addSound21":
                case "addSound23":
                case "addSound24":
                case "addSound25":
                case "addSound26":
                    MessageBox.Show("test: " + formControl.Name);
                    // there I need to know, where is this button located
                    break;
                default:
                    MessageBox.Show("exception: default");
                    break;
            }
        }
    }

```

How can I find the source object of my button?

EDIT: I have some ListBoxes in mainWindow - and I need to know, which ListBox contains that Button I'm working with. Every object has specific name - for example "button20", "listBox22", etc.