Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 347 Bytes

File metadata and controls

17 lines (15 loc) · 347 Bytes

Event Handler

public event EventHandler IconSelected;
protected virtual void OnIconSelected(EventArgs e)
{
    var handler = IconSelected;
    if (handler != null)
        handler(this, e);
}

public string selectedIcon;
private void listView1_SelectedIndexChanged(object sender, EventArgs e)
{
    OnIconSelected(EventArgs.Empty);
}