Exemplo n.º 1
0
        public Report_Viewer()
        {
            DateDialog start = new DateDialog("Enter Start Date");
            start.StartPosition = FormStartPosition.CenterScreen;
            start.ShowDialog();
            Date.date1 = start.dateselected;
            DateDialog end = new DateDialog("Enter End Date");
            end.StartPosition = FormStartPosition.CenterScreen;
            end.ShowDialog();
            Date.date2 = end.dateselected;
            CustomerSelectDialog custtt = new CustomerSelectDialog("Please Select Customer");
            custtt.StartPosition = FormStartPosition.CenterScreen;
            custtt.ShowDialog();
            customer = custtt.custselected;

            InitializeComponent();
            GPData.ReportData(Date.date1, Date.date2, customer);
        }
Exemplo n.º 2
0
        public Report_Viewer()
        {
            DateDialog start = new DateDialog("Enter Start Date");

            start.StartPosition = FormStartPosition.CenterScreen;
            start.ShowDialog();
            Date.date1 = start.dateselected;
            DateDialog end = new DateDialog("Enter End Date");

            end.StartPosition = FormStartPosition.CenterScreen;
            end.ShowDialog();
            Date.date2 = end.dateselected;
            CustomerSelectDialog custtt = new CustomerSelectDialog("Please Select Customer");

            custtt.StartPosition = FormStartPosition.CenterScreen;
            custtt.ShowDialog();
            customer = custtt.custselected;

            InitializeComponent();
            GPData.ReportData(Date.date1, Date.date2, customer);
        }