Beispiel #1
0
        private void lblprodutosvendidos_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            MGMPDV.Formularios.FDataPicker fd = new MGMPDV.Formularios.FDataPicker("Escolha a Data Inicial!", DateTime.Now.Date);
            fd.ShowDialog();
            DateTime datai = fd.data;

            fd = new MGMPDV.Formularios.FDataPicker("Escolha a Data Final!", DateTime.Now.Date);
            fd.ShowDialog();
            DateTime  dataf = fd.data;
            FRProduto f     = new FRProduto("ITEMVENDA", datai, dataf);

            f.ShowDialog();
        }
Beispiel #2
0
        private void lblcaixapagamento_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            MGMPDV.Formularios.FDataPicker fd = new MGMPDV.Formularios.FDataPicker("Escolha a Data Inicial!", DateTime.Now.Date);
            fd.ShowDialog();
            DateTime datai = fd.data;

            fd = new MGMPDV.Formularios.FDataPicker("Escolha a Data Final!", DateTime.Now.Date);
            fd.ShowDialog();
            DateTime dataf = fd.data;

            Relatorios.FRVendaPagamento f = new Relatorios.FRVendaPagamento(datai, dataf);
            f.ShowDialog();
        }