Пример #1
0
        private void removeContact(Viewer2_Accessor view, Adressbook a, Contact contact)
        {
            changeAddressbook(view, a);
            EventArgs e = new EventArgs();
            object    o = new object();

            view.delete_Click(o, e, contact);
        }
Пример #2
0
        public void delete_click()
        {
            Viewer2_Accessor view = new Viewer2_Accessor();
            EventArgs        e    = new EventArgs();
            object           o    = new object();
            Contact          c    = new Contact("contactName", "*****@*****.**");

            view.delete_Click(o, e, c);
        }