Exemple #1
0
        private void btnConsultarTransferencias_Click(object sender, EventArgs e)
        {
            Point posicaoForm = new Point(100, 100);

            posicaoForm = this.Location;

            Form formConsultarTransferencia = new ConsultarTransferencias(this, posicaoForm.X, posicaoForm.Y, permissaoUsuario);

            this.Hide();
            formConsultarTransferencia.Show();
        }
Exemple #2
0
        private void btnCancelar_Click(object sender, EventArgs e)
        {
            //Recarregando a página

            Point posicaoForm = new Point(100, 100);

            posicaoForm = this.Location;

            Form formConsultarTransferencia = new ConsultarTransferencias(formAnterior, posicaoForm.X, posicaoForm.Y, permissaoUsuario);

            xClicked = false;
            this.Close();
            formConsultarTransferencia.Show();
        }