Пример #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            Cardapio car = new Cardapio();

            car.ShowDialog();
            if (Cardapio.cod != 0)
            {
                maskedTextBox3.Text = Convert.ToString(Cardapio.cod);
            }
        }
Пример #2
0
        private void consultarToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Cardapio cardapio = new Cardapio();

            cardapio.ShowDialog();
        }