//重写确定按钮方法 protected override void OnOK() { if (this.condition == null) { this.condition = new ConditionC(); } //this.condition.Company = this.buttonEditCompany.EditValue as Model.Company; this.condition.ExpiringDate = this.dateEditInvoiceDate.DateTime; }
protected override void DoQuery() { ConditionC condition = this.condition as ConditionC; //this.invoiceXTBindingSource.DataSource = query04Manager.SelectDataTable(condition.Company, condition.ExpiringDate); }