private void button1_Click(object sender, EventArgs e)
        {
            Deposito form_Deposito = new Deposito();

            this.Hide();
            form_Deposito.Show();
        }
Example #2
0
    // Abre tela de DepĆ³sito de acordo com conta selecionada
    protected void OnBtnDepositoClicked(object sender, EventArgs e)
    {
        if (viewContas.Selection.CountSelectedRows() > 0)
        {
            TreeIter  selectedConta;
            TreeModel model;

            viewContas.Selection.GetSelected(out model, out selectedConta);
            int pos = (int)model.GetValue(selectedConta, 0);

            Deposito dep = new Deposito(contas[pos]);
            dep.Show();
        }
    }
Example #3
0
        private void registrarDeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Deposito tela = new Deposito();

            tela.Show();
        }