Esempio n. 1
0
        private void btnConsultarRecebimento_Click(object sender, EventArgs e)
        {
            Point posicaoForm = new Point(100, 100);

            posicaoForm = this.Location;

            Form formConsultarRecebimento = new ConsultarRecebimento(this, posicaoForm.X, posicaoForm.Y, permissaoUsuario);

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

            Point posicaoForm = new Point(100, 100);

            posicaoForm = this.Location;

            Form formConsultarRecebimento = new ConsultarRecebimento(formAnterior, posicaoForm.X, posicaoForm.Y, permissaoUsuario);

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