private void buttonVenta_Click(object sender, EventArgs e) { LayoutForm Ver = new LayoutForm(); Ver.PonerFormEnPanel(new CreateVentasForm()); Ver.Show(); }
private void btnMapping_Click(object sender, RoutedEventArgs e) { LayoutForm f = new LayoutForm(); f.MapControl = MainWindow.m_DotMap; f.Show(); }
private void buttonAcceder_Click(object sender, EventArgs e) { if (ValidarErrores() == true) { if (UsersBLL.Login(textBoxUsuario.Text, textBoxPass.Text) == true) { LayoutForm Layout = new LayoutForm(); Layout.Show(); } else { labelPass.Visible = false; labelUsuario.Visible = false; labelError.Visible = true; } } }