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