Esempio n. 1
0
 private void books_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     if (this.books.SelectedItems.Count > 0)
        {
     addressBook = (Novell.AddressBook.AddressBook)books.SelectedItems[0].Tag;
     FilterList(null);
        }
        EventArgs args = new EventArgs();
        if (BookSelected != null)
        {
     BookSelected(this, args);
        }
 }
Esempio n. 2
0
 public ContactDoubleClickedEventArgs(Novell.AddressBook.AddressBook addressBook, Contact contact, ListViewItem lvitem)
 {
     this.contact = contact;
        this.addressBook = addressBook;
        this.lvitem = lvitem;
 }
Esempio n. 3
0
 private void booksContacts_BookSelected(object sender, EventArgs e)
 {
     selectedBook = booksContacts.SelectedAddressBook;
        toolBar1.Buttons[3].Enabled = selectedBook != null;
        toolBar1.Buttons[2].Enabled = selectedBook != null;
 }