private void btnAnull_MouseUp(object sender, EventArgs e) { toolIcon_Mini _toolicon = (toolIcon_Mini)sender; _toolicon.Focus(); if (btnAnull_Click != null) { btnAnull_Click(this); } }
public void btnEdit_MouseUp(object sender, EventArgs e) { if (sender != null) { toolIcon_Mini _toolicon = (toolIcon_Mini)sender; _toolicon.Focus(); } if (btnEdit_Click != null) { btnEdit_Click(sender); } }