Пример #1
0
		public static void Manage(PhoneTile tile){
			//if(selectedTile.PhoneCur==null) {//already validated
			long patNum=tile.PhoneCur.PatNum;
			if(patNum==0) {
				MsgBox.Show(langThis,"Please attach this number to a patient first.");
				return;
			}
			FormPhoneNumbersManage FormM=new FormPhoneNumbersManage();
			FormM.PatNum=patNum;
			FormM.ShowDialog();
		}
Пример #2
0
        private void menuItemManage_Click(object sender, EventArgs e)
        {
            long patNum = PhoneList[rowI].PatNum;

            if (patNum == 0)
            {
                MsgBox.Show(this, "Please attach this number to a patient first.");
                return;
            }
            FormPhoneNumbersManage FormM = new FormPhoneNumbersManage();

            FormM.PatNum = patNum;
            FormM.ShowDialog();
        }
Пример #3
0
        public static void Manage(Phone PhoneCur)
        {
            //if(selectedTile.PhoneCur==null) {//already validated
            long patNum = PhoneCur.PatNum;

            if (patNum == 0)
            {
                MsgBox.Show(langThis, "Please attach this number to a patient first.");
                return;
            }
            FormPhoneNumbersManage FormM = new FormPhoneNumbersManage();

            FormM.PatNum = patNum;
            FormM.ShowDialog();
        }
Пример #4
0
		private void menuItemManage_Click(object sender,EventArgs e) {
			long patNum=PhoneList[rowI].PatNum;
			if(patNum==0){
				MsgBox.Show(this,"Please attach this number to a patient first.");
				return;
			}
			FormPhoneNumbersManage FormM=new FormPhoneNumbersManage();
			FormM.PatNum=patNum;
			FormM.ShowDialog();
		}
Пример #5
0
		private void butPhoneNums_Click(object sender,EventArgs e) {
			if(FormOpenDental.CurPatNum==0) {
				MsgBox.Show(this,"Please select a patient first.");
				return;
			}
			FormPhoneNumbersManage FormM=new FormPhoneNumbersManage();
			FormM.PatNum=FormOpenDental.CurPatNum;
			FormM.ShowDialog();			
		}