Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (Clave == "vajilla")
            {
                AdminVajilla f1 = Application.OpenForms.OfType <AdminVajilla>().SingleOrDefault();

                f1.cargarGrillaVajilla(Searchtxt.Text);
            }
            if (Clave == "bebida")
            {
                AdminBebidas f1 = Application.OpenForms.OfType <AdminBebidas>().SingleOrDefault();

                f1.cargarGrilla(Searchtxt.Text);
            }
        }
        private void button9_Click(object sender, EventArgs e)
        {
            AdminVajilla frm = new AdminVajilla();

            frm.Show();
        }
        private void VajillaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AdminVajilla frm = new AdminVajilla();

            frm.Show();
        }