Esempio n. 1
0
        public projectsPopup(client.projectInvoiceAndAdjustmentMaintenance.Form1 inParentForm)
        {
            InitializeComponent();
            parentForm = inParentForm;

            ctDynamicsSL.project.flexibleBillings.input.projectInvoiceAndAdjustmentMaintenance.PJPROJ[] myProjects = parentForm.myIAMService.getProjectsByID(parentForm.tbProjectID.Text.Trim());
            this.gvProjects.AutoGenerateColumns = true;
            this.gvProjects.DataSource          = myProjects;
        }
Esempio n. 2
0
        public invoicesPopup(client.projectInvoiceAndAdjustmentMaintenance.Form1 inParentForm)
        {
            InitializeComponent();
            parentForm = inParentForm;

            ctDynamicsSL.project.flexibleBillings.input.projectInvoiceAndAdjustmentMaintenance.PJINVHDR[] myInvoices = parentForm.myIAMService.getDraftNumbersByProject(parentForm.tbProjectID.Text.Trim(), parentForm.tbDraftNum.Text.Trim());
            this.gvInvoices.AutoGenerateColumns = true;
            this.gvInvoices.DataSource          = myInvoices;
        }