Example #1
0
        //查询
        public override int Query( )
        {
            FormPresaleRequisitionCodition form = new FormPresaleRequisitionCodition("预售申请单查询", "合同编号:");

            if (form.ShowDialog( ) != System.Windows.Forms.DialogResult.OK)
            {
                return(0);
            }

            _where     = form.GetWhereCondition;
            _rolewhere = string.Empty;
            QueryByWhere( );

            return(1);
        }
Example #2
0
        public override int Query( )
        {
            FormPresaleRequisitionCodition form = new FormPresaleRequisitionCodition("付款申请单查询", "  单号:");

            if (form.ShowDialog( ) != System.Windows.Forms.DialogResult.OK)
            {
                return(0);
            }
            _where = form.GetWhereCondition;
            queryWhere(_where);

            tmiModify.Visible   = true;
            tmiDelete.Visible   = true;
            tmiNext.Visible     = true;
            tmiPrevious.Visible = true;

            return(base.Query( ));
        }