Esto es cobol
Publicado por Mercedes (3 intervenciones) el 22/05/2008 12:14:14
Hola a todos:
Alguien me podria decir si esto es cobol y si no lo es si me dice que lenguaje es por favor
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Media;
namespace GeoMarketing
{
public partial class DlgNumeroEmpleados : Form
{
public string txt;
DlgPrincipal forma;
public DlgNumeroEmpleados(DlgPrincipal f)
{
forma = f;
InitializeComponent();
}
private void btValidar_Click(object sender, EventArgs e)
{
forma.DlgValidado = false;
try
{
forma.DlgNumeroEmpleados = Convert.ToUInt16(tbEmpleados.Text);
forma.DlgValidado = true;
Close();
}
catch (Exception)
{
SystemSounds.Question.Play();
MessageBox.Show("Solo valores numéricos");
}
}
private void btCancelar_Click(object sender, EventArgs e)
{
forma.DlgValidado = false;
Close();
}
private void DlgEmpleados_Load(object sender, EventArgs e)
{
lbMayorMenor.Text = txt;
}
}
}
Alguien me podria decir si esto es cobol y si no lo es si me dice que lenguaje es por favor
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Media;
namespace GeoMarketing
{
public partial class DlgNumeroEmpleados : Form
{
public string txt;
DlgPrincipal forma;
public DlgNumeroEmpleados(DlgPrincipal f)
{
forma = f;
InitializeComponent();
}
private void btValidar_Click(object sender, EventArgs e)
{
forma.DlgValidado = false;
try
{
forma.DlgNumeroEmpleados = Convert.ToUInt16(tbEmpleados.Text);
forma.DlgValidado = true;
Close();
}
catch (Exception)
{
SystemSounds.Question.Play();
MessageBox.Show("Solo valores numéricos");
}
}
private void btCancelar_Click(object sender, EventArgs e)
{
forma.DlgValidado = false;
Close();
}
private void DlgEmpleados_Load(object sender, EventArgs e)
{
lbMayorMenor.Text = txt;
}
}
}
Valora esta pregunta


0