Пример #1
0
        private void cmdFind_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            //Run_FindCipByNumber(txtCipNumber.Text);
            //added by rob to modularize code
            commonsubs comSub = new commonsubs();

            comSub.FindByString("CIP_ID = '" + txtCipNumber.Text + "'", "ProjectID");
            this.Cursor = Cursors.Default;
            this.Close();
        }
Пример #2
0
        private void cmdFind_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            //Run_FindGroupJobByName(txtCipName.Text);
            //added by rob to modularize code
            commonsubs comSub = new commonsubs();

            comSub.FindByString("TITLE = '" + txtCipName.Text + "'", "Project Title");
            this.Cursor = Cursors.Default;
            this.Close();
        }