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

            //queryConditionForm.MdiParent = this;
            if (queryConditionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                gstrWhere = queryConditionForm.strReturnWhere;
                LoadDataSourceHead();
            }
        }
Exemplo n.º 2
0
        //制造通知单查询
        private void FormMakeNoticeQueryCondition_Click(object sender, EventArgs e)
        {
            FormMakeNoticeQueryCondition queryConditionForm = new FormMakeNoticeQueryCondition();

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