コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
        }