public override void tool1_Query_Click(object sender, EventArgs e)
        {
            base.tool1_Query_Click(sender, e);
            FormMaterialsOutQueryCondition queryConditionForm = new FormMaterialsOutQueryCondition();

            //queryConditionForm.MdiParent = this;
            if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                gstrWhere = queryConditionForm.strReturnWhere;
                LoadDataSourceHead();
            }
        }
Exemple #2
0
        //料件出库查询
        private void FormMaterialsOutQueryCondition_Click(object sender, EventArgs e)
        {
            FormMaterialsOutQueryCondition queryConditionForm = new FormMaterialsOutQueryCondition();

            if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                string strWhere = queryConditionForm.strReturnWhere;
                FormMaterialsOutQueryList queryListForm = new FormMaterialsOutQueryList();
                queryListForm.gstrWhere = strWhere;
                queryListForm.MdiParent = this;
                queryListForm.Show();
            }
        }