Beispiel #1
0
        private void ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string str2 = sender.ToString();

            if (str2 == "Venta Normal")
            {
                Formulario.abrirFormulario(new Normal(), this);
            }
            else if (str2 == "Con Avaluos")
            {
                Formulario.abrirFormulario(new Avaluos(), this);
            }
            else if (str2 == "Individual")
            {
                Formulario.abrirFormulario(new Individual(), this);
            }
            else if (str2 == "Credito")
            {
                Formulario.abrirFormulario(new Credito(), this);
            }
            else if (str2 == "Especial")
            {
                Formulario.abrirFormulario(new Especial(), this);
            }
            else
            {
                MessageBox.Show("Hay un error");
            }
        }
Beispiel #2
0
 public Entrada()
 {
     this.InitializeComponent();
     Formulario.abrirFormulario(new Normal(), this);
 }