コード例 #1
0
 private void VendasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms.OfType <FrmRegistroVenda>().Count() == 0)
     {
         FrmRegistroVenda tela = new FrmRegistroVenda();
         tela.Show();
     }
 }
コード例 #2
0
        private void Button1_Click(object sender, EventArgs e)
        {
            if (txtVoltar.Text == "1")
            {
                Close();

                FrmRegistroVenda tela = new FrmRegistroVenda();
                tela.Show();
            }
            else
            {
                Close();
            }
        }
コード例 #3
0
        // Ação para abrir o registro de venda para o cancelamento de uma venda
        private void BtnRelatorio_Click(object sender, EventArgs e)
        {
            FrmRegistroVenda tela = new FrmRegistroVenda();

            tela.Show();
        }
コード例 #4
0
        private void vendasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmRegistroVenda tela = new FrmRegistroVenda();

            tela.Show();
        }