private void UIButtonRemoveClient_Click(object sender, RoutedEventArgs e)
 {
     OpOp.RemoveClient.IdClient = UIFindClient.IdClient;
     if (OpOp.RemoveClient.Execute())
     {
         UIClientForm.ClearUI();
         UIFindClient.ClearUI();
     }
     UIMessage.TextMessage = OpOp.RemoveClient.Information;
 }
        private void UIButtonAddClient_Click(object sender, RoutedEventArgs e)
        {
            OpOp.RegistrationClient.IdClient       = UIFindClient.IdClient;
            OpOp.RegistrationClient.Address        = UIClientForm.Address;
            OpOp.RegistrationClient.Country        = UIClientForm.LandName;
            OpOp.RegistrationClient.EMail          = UIClientForm.EMail;
            OpOp.RegistrationClient.FirstName      = UIClientForm.FirstName;
            OpOp.RegistrationClient.LastName       = UIClientForm.LastName;
            OpOp.RegistrationClient.MiddleName     = UIClientForm.MiddleName;
            OpOp.RegistrationClient.PassportNumber = UIClientForm.PassportNum;

            if (OpOp.RegistrationClient.Execute())
            {
                UIClientForm.ClearUI();
                UIFindClient.ClearUI();
            }
            UIMessage.TextMessage = OpOp.RegistrationClient.Information;
        }
        private void UIEditBt_Click(object sender, RoutedEventArgs e)
        {
            OpOp.EditClient.IdClient       = UIFindClient.IdClient;
            OpOp.EditClient.Address        = UIClientForm.Address;
            OpOp.EditClient.Country        = UIClientForm.LandName;
            OpOp.EditClient.EMail          = UIClientForm.EMail;
            OpOp.EditClient.FirstName      = UIClientForm.FirstName;
            OpOp.EditClient.LastName       = UIClientForm.LastName;
            OpOp.EditClient.MiddleName     = UIClientForm.MiddleName;
            OpOp.EditClient.PassportNumber = UIClientForm.PassportNum;
            OpOp.EditClient.IsLocked       = UIClientForm.IsLock;
            OpOp.EditClient.Login          = UIClientForm.Login;
            OpOp.EditClient.Password       = UIClientForm.Password;

            if (OpOp.EditClient.Execute())
            {
                UIClientForm.ClearUI();
                UIFindClient.ClearUI();
            }
            UIMessage.TextMessage = OpOp.EditClient.Information;
        }