Пример #1
0
        private void BCrear_Click(object sender, EventArgs e)
        {
            receta form = new receta("a", "");

            form.ShowDialog();
            Lee_Datos();
        }
Пример #2
0
        void Modificar()
        {
            int i = Fila_Actual();

            Id = DG_Datos.Rows[i].Cells[0].Value.ToString().Trim();
            receta form = new receta("m", Id);

            if (form.ShowDialog() == DialogResult.OK)
            {
                Lee_Datos();
            }
        }
Пример #3
0
        private void crearToolStripMenuItem5_Click(object sender, EventArgs e)
        {
            receta CP = new receta("a", "");

            CP.ShowDialog();
        }