public override void tool1_Query_Click(object sender, EventArgs e) { base.tool1_Query_Click(sender, e); FormPackingListQueryCondition queryConditionForm = new FormPackingListQueryCondition(); if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { gstrWhere = queryConditionForm.strReturnWhere; LoadDataSourceHead(); } }
//装箱明细单查询 private void FormPackingListQueryCondition_Click(object sender, EventArgs e) { FormPackingListQueryCondition queryConditionForm = new FormPackingListQueryCondition(); if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { string strWhere = queryConditionForm.strReturnWhere; FormPackingListQueryList queryListForm = new FormPackingListQueryList(); queryListForm.gstrWhere = strWhere; queryListForm.MdiParent = this; queryListForm.Show(); } }