Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }