private void mozPane1_ItemClick(object sender, MozItemClickEventArgs e) { ActivatePage(e.MozItem); }
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); Focus(); SelectItem(Items.IndexOf(e.MozItem)); } }
private void MozItem_DoubleClick(object sender, MozItemClickEventArgs e) { if (ItemDoubleClick != null) ItemDoubleClick(this, e); }