Example #1
0
        private void funcionarioToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FormConsulta frm = new FormConsulta(cn.Query("SELECT * FROM TB_FUNCIONARIO"), new FormNovoFuncionario());

            frm.ShowDialog(this);
        }
Example #2
0
        private void fornecedoresToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FormConsulta frm = new FormConsulta(cn.Query("SELECT * FROM TB_FORNECEDOR"), new FormNovoFornecedor());

            frm.ShowDialog(this);
        }
Example #3
0
        private void categoriaToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FormConsulta frm = new FormConsulta(cn.Query("SELECT * FROM TB_CATEGORIA"), new FormNovaCategoria(), true);

            frm.ShowDialog(this);
        }
Example #4
0
        private void produtosToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FormConsulta frm = new FormConsulta(cn.Query("SELECT * FROM TB_PRODUTO"), new FormNovoProduto(), true);

            frm.ShowDialog(this);
        }
Example #5
0
        private void produtosEVendasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormConsulta frm = new FormConsulta(cn.Query("SELECT * FROM VW_PRODUTO_VENDA"), null, false);

            frm.ShowDialog(this);
        }
Example #6
0
        private void consultaDeLogToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormConsulta frm = new FormConsulta(cn.Query("SELECT * FROM VW_LOG"), null, false);

            frm.ShowDialog(this);
        }