Exemplo n.º 1
0
        private void tlB2_Click(object sender, EventArgs e)
        {
            Account  person = (Account)bindSrcAccounts.List[bindSrcAccounts.Position];
            FAccount ft     = new FAccount(person);

            if (ft.ShowDialog() == DialogResult.OK)
            {
                bindSrcAccounts.List[bindSrcAccounts.Position] = person;
            }
        }
Exemplo n.º 2
0
        private void tlB1_Click(object sender, EventArgs e)
        {
            Account  person = new Account();
            FAccount fa     = new FAccount(person);

            if (fa.ShowDialog() == DialogResult.OK)
            {
                bindSrcAccounts.Add(person);
            }
        }