Example #1
0
        private void btEditar_Click(object sender, EventArgs e)
        {
            frmEditarLogin vamp = new frmEditarLogin((Login)loginBindingSource.Current);

            vamp.ShowDialog();
            loginBindingSource.DataSource = pStock.GetAll();
        }
Example #2
0
        private void btNuevo_Click(object sender, EventArgs e)
        {
            frmEditarLogin vamp = new frmEditarLogin(null);

            vamp.ShowDialog();
            loginBindingSource.DataSource = pLogin.GetAll();
        }