public FormPrincipal(Operador usuario, FormLogin log)
        {
            InitializeComponent();
            VendaAtual = new Venda();
            login = log;

            Operador = usuario;
            lblIdUser.Text = usuario.Id.ToString() + " - " + usuario.Nome;

            ResetForm();
        }
 public FormAdicionarOperadores(FormLogin login)
 {
     loginForm = login;
     InitializeComponent();
 }
 private void btnLogin_Click(object sender, EventArgs e)
 {
     FormLogin log = new FormLogin();
     log.Show();
     this.Hide();
 }