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

            if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                gstrWhere = queryConditionForm.strReturnWhere;
                LoadDataSourceHead();
            }
        }
Exemplo n.º 2
0
        //料件入库查询
        private void FormMaterialsInQueryCondition_Click(object sender, EventArgs e)
        {
            FormMaterialsInQueryCondition queryConditionForm = new FormMaterialsInQueryCondition();

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