public AddClientFormPresenter(IClientForm clientView)
        {
            _clientView = clientView ??
                          throw new ArgumentNullException(nameof(clientView));

            #region Подписываемся на события
            _clientView.butAddClientAction = new SuperEventHandler(butAddClientAction_Click);
            #endregion
        }
Ejemplo n.º 2
0
        public PanelContactsBox(List <Contact> listContacts, IClientForm form)
        {
            this.Contacts = listContacts;
            this.dictionaryPanelContacts = new Dictionary <string, PanelContact>();
            this.listPanelContacts       = new List <PanelContact>();

            this.form = form;

            this.PaintContacts();
        }