private void MozItem_DoubleClick(object sender, MozItemClickEventArgs e) { if (ItemDoubleClick != null) ItemDoubleClick(this,e); }
private void MozItem_Click(object sender, MozItemClickEventArgs e) { // Fire click event and then ... if (ItemClick != null) ItemClick(this,e); // Try to select item if the proper button was used. if ((e.Button.ToString() == SelectButton.ToString()) || (SelectButton == MozSelectButton.Any)) { m_tabIndex = Items.IndexOf(e.MozItem); this.Focus(); SelectItem(Items.IndexOf(e.MozItem)); } }