private void GetComponents()
        {
            _radRecebimento = GetTemplateChild("radRecebimento") as GIRadioButton;
            _radPagamento   = GetTemplateChild("radPagamento") as GIRadioButton;

            if (_radRecebimento != null)
            {
                _radRecebimento.Checked += _radRecebimento_Checked;
            }
            if (_radPagamento != null)
            {
                _radPagamento.Checked += _radRecebimento_Checked;
            }

            UpdateSelectedHierarchy();
        }
        private void GetComponents()
        {
            _radMateriais = GetTemplateChild("radMateriais") as GIRadioButton;
            _radProdutos  = GetTemplateChild("radProdutos") as GIRadioButton;
            _radServicos  = GetTemplateChild("radServicos") as GIRadioButton;

            if (_radMateriais != null)
            {
                _radMateriais.Checked += _radMateriais_Checked;
            }
            if (_radProdutos != null)
            {
                _radProdutos.Checked += _radMateriais_Checked;
            }
            if (_radServicos != null)
            {
                _radServicos.Checked += _radMateriais_Checked;
            }
        }