private void gridViewMails_RowCellClick(object sender, RowCellClickEventArgs e)
        {
            int        handle = e.RowHandle;
            DoctorMail mail   = gridViewMails.GetRow(handle) as DoctorMail;

            if (mail.IsNull())
            {
                return;
            }

            doctorMails.Remove(doctorMails.FirstOrDefault(d => d.Id == mail.Id));
            gridControlMails.RefreshDataSource();

            textEditMail.Text = mail.Mail;
        }
        private void simpleButtonNewMail_Click(object sender, EventArgs e)
        {
            if (doctorMails.Any(m => m.Mail == textEditMail.Text.Trim()))
            {
                return;
            }
            DoctorMail mail = new DoctorMail
            {
                Mail     = textEditMail.Text.Trim(),
                IsActive = true
            };

            doctorMails.Add(mail);
            gridControlMails.RefreshDataSource();

            textEditMail.Text = "";
        }