private void butSend_Click(object sender,EventArgs e) {
			KnowledgeRequestNotification.KnowledgeRequestNotification krn;
			for(int i=0;i<gridMain.Rows.Count;i++) {
				if(gridMain.Rows[i].Tag==null) {
					MsgBox.Show(this,"Cannot search without a valid code.");
					continue;
				}
				krn = new KnowledgeRequestNotification.KnowledgeRequestNotification();
				krn.AddObject(gridMain.Rows[i].Tag);
				krn.performerIsPatient=radioReqPat.Checked;
				krn.recipientIsPatient=radioRecPat.Checked;
				//FormInfobuttonResponse FormIR = new FormInfobuttonResponse();
				//FormIR.RawResponse=getWebResponse("http://apps2.nlm.nih.gov/medlineplus/services/mpconnect_service.cfm?"+krn.ToUrl());
				//FormIR.ShowDialog();
				//The lines commented out here launch the infobutton in the default browser.
				try {
					System.Diagnostics.Process.Start("http://apps.nlm.nih.gov/medlineplus/services/mpconnect.cfm?"+krn.ToUrl());
					//System.Diagnostics.Process.Start("http://apps2.nlm.nih.gov/medlineplus/services/servicedemo.cfm?"+krn.ToUrl());
				}
				catch(Exception ex) { }
			}//end gridMain.Rows

		}
		private void butPreviewRequest_Click(object sender,EventArgs e) {
			KnowledgeRequestNotification.KnowledgeRequestNotification krn;
			for(int i=0;i<gridMain.Rows.Count;i++){
				if(gridMain.Rows[i].Tag==null){
					MsgBox.Show(this,"Cannot search without a valid code.");
					continue;
				}
				krn = new KnowledgeRequestNotification.KnowledgeRequestNotification();
				krn.AddObject(gridMain.Rows[i].Tag);
				MsgBoxCopyPaste msgbox=new MsgBoxCopyPaste("http://apps.nlm.nih.gov/medlineplus/services/mpconnect.cfm?"+krn.ToUrl());
				msgbox.ShowDialog();
				//msgbox=new MsgBoxCopyPaste("http://apps2.nlm.nih.gov/medlineplus/services/servicedemo.cfm?"+krn.ToUrl());
				//msgbox.ShowDialog();
			}//end gridMain.Rows

		}