Example #1
0
		private void butFamRecall_Click(object sender,EventArgs e) {
			if(PatCur==null) {
				return;
			}
			if(Appointments.HasPlannedEtc(PatCur.PatNum)) {
				DisplayOtherDlg(false);
				return;
			}
			FormApptsOther FormAO=new FormApptsOther(PatCur.PatNum);//doesn't actually get shown
			FormAO.InitialClick=false;
			FormAO.MakeRecallFamily();
			if(FormAO.DialogResult!=DialogResult.OK) {
				return;
			}
			SendToPinBoard(FormAO.AptNumsSelected);
			if(ApptDrawing.IsWeeklyView) {
				return;
			}
			dateSearch.Text=FormAO.DateJumpToString;
			if(!groupSearch.Visible) {//if search not already visible
				ShowSearch();
			}
			DoSearch();
		}