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(); }
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(); }