private void CarregarCadastro(GerenciadorFormulario gerenciador) { _gerenciador = gerenciador; EstadoBotoes _gerenciadorTipoBotao = gerenciador.ObtemTipoBotoes(); tsLabel.Text = _gerenciador.ObtemTipoCadastro(); btnCadastrar.Enabled = _gerenciadorTipoBotao.Cadastrar; btnDepositar.Enabled = _gerenciadorTipoBotao.Depositar; btnSaque.Enabled = _gerenciadorTipoBotao.Sacar; btnTransferir.Enabled = _gerenciadorTipoBotao.Transferir; btnExtrato.Enabled = _gerenciadorTipoBotao.Extrato; btnExcluir.Enabled = _gerenciadorTipoBotao.Excluir; UserControl listagem = _gerenciador.CarregarListagem(); listagem.Dock = DockStyle.Fill; panelControl.Controls.Clear(); panelControl.Controls.Add(listagem); }
public void CarregarBotoes(GerenciadorFormulario gerenciador) { }