Пример #1
0
 private void mozPane1_ItemClick(object sender, MozItemClickEventArgs e)
 {
     ActivatePage(e.MozItem);
 }
Пример #2
0
 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));
     }
 }
Пример #3
0
 private void MozItem_DoubleClick(object sender, MozItemClickEventArgs e)
 {
     if (ItemDoubleClick != null) ItemDoubleClick(this, e);
 }
Пример #4
0
 private void mozPane1_ItemClick(object sender, MozItemClickEventArgs e)
 {
     ActivatePage(e.MozItem);
 }