public override void tool1_Query_Click(object sender, EventArgs e) { base.tool1_Query_Click(sender, e); FormPackingOutQueryCondition queryConditionForm = new FormPackingOutQueryCondition(); if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { gstrWhere = queryConditionForm.strReturnWhere; LoadDataSourceHead(); } }
//出口管理——PACKING LIST(查询) private void FormPackingOutQueryCondition_Click(object sender, EventArgs e) { FormPackingOutQueryCondition queryConditionForm = new FormPackingOutQueryCondition(); if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { string strWhere = queryConditionForm.strReturnWhere; FormPackingOutQueryList queryListForm = new FormPackingOutQueryList(); queryListForm.gstrWhere = strWhere; queryListForm.MdiParent = this; queryListForm.Show(); } }