private bool iFolderView_NavigateItem(object sender, Novell.FormsTrayApp.NavigateItemEventArgs e) { bool result = false; if ( !hide && iFolderListViews.Count > 0 ) { int index = panel2.Controls.GetChildIndex( sender as Control ); try { switch ( e.Direction ) { case MoveDirection.Down: if ( index == 1 ) { ((iFoldersListView)panel2.Controls[3]).MoveToItem( e.Row, e.Column ); } else if ( index != panel2.Controls.Count - 1 ) { ((iFoldersListView)panel2.Controls[index+1]).MoveToItem( e.Row, e.Column ); } break; case MoveDirection.Right: if ( index == 1 ) { ((iFoldersListView)panel2.Controls[3]).MoveToItem( 0, e.Column ); } else if ( index == 3 ) { ((TileListView)panel2.Controls[1]).MoveToItem( -1, e.Column ); } else { ((iFoldersListView)panel2.Controls[index-1]).MoveToItem( -1, e.Column ); } break; case MoveDirection.Up: if ( index == 3 ) { ((TileListView)panel2.Controls[1]).MoveToItem( e.Row, e.Column ); } else if ( index != 1 ) { ((iFoldersListView)panel2.Controls[index-1]).MoveToItem( e.Row, e.Column ); } break; } } catch {} } return result; }
public ContactDoubleClickedEventArgs(Novell.AddressBook.AddressBook addressBook, Contact contact, ListViewItem lvitem) { this.contact = contact; this.addressBook = addressBook; this.lvitem = lvitem; }
private bool tileListView1_NavigateItem(object sender, Novell.FormsTrayApp.NavigateItemEventArgs e) { if ( NavigateItem != null ) { return NavigateItem( this, e ); } return false; }
private void booksContacts_ContactDoubleClicked(object sender, Novell.iFolder.FormsBookLib.ContactDoubleClickedEventArgs e) { booksContacts.EditContact(); }