private void SelectProviderAction(ESchema schemaType)
        {
            if (schemaType == ESchema.Source)
            {
                ProviderSelectForm form = new ProviderSelectForm(this, EEstado.Active);

                if (form.ShowDialog(this) == DialogResult.OK)
                {
                    _source_provider          = form.Selected as IAcreedorInfo;
                    DestinationHolder_TB.Text = _source_provider.Nombre;
                }
            }
            else
            {
                if (_destination_company == null)
                {
                    ProgressInfoMng.ShowInfo(Resources.Messages.NO_COMPANY_SELECTED);
                    return;
                }

                _source_company = AppContext.ActiveSchema as CompanyInfo;

                AppContext.Principal.ChangeUserSchema(_destination_company);

                ProviderSelectForm form = new ProviderSelectForm(this, EEstado.Active);

                if (form.ShowDialog(this) == DialogResult.OK)
                {
                    _destination_provider     = form.Selected as IAcreedorInfo;
                    DestinationHolder_TB.Text = _destination_provider.Nombre;

                    _config.DestinationHolder = _destination_provider;
                }

                AppContext.Principal.ChangeUserSchema(_source_company);
            }
        }
        protected void SelectClientAction(ESchema schemaType)
        {
            if (schemaType == ESchema.Source)
            {
                ClientSelectForm form = new ClientSelectForm(this, EEstado.Active);

                if (form.ShowDialog(this) == DialogResult.OK)
                {
                    SetSourceClient(form.Selected as ClienteInfo);
                }
            }
            else
            {
                if (_destination_company == null)
                {
                    ProgressInfoMng.ShowInfo(Resources.Messages.NO_COMPANY_SELECTED);
                    return;
                }

                _source_company = AppContext.ActiveSchema as CompanyInfo;

                AppContext.Principal.ChangeUserSchema(_destination_company);

                ClientSelectForm form = new ClientSelectForm(this, EEstado.Active);

                if (form.ShowDialog(this) == DialogResult.OK)
                {
                    _destination_client       = form.Selected as ClienteInfo;
                    DestinationHolder_TB.Text = _destination_client.Nombre;

                    _config.DestinationHolder = _destination_client;
                }

                AppContext.Principal.ChangeUserSchema(_source_company);
            }
        }