Code: Select all
public static void GotoChart(long patNum){
OnModuleSelected(new ModuleEventArgs(DateTime.MinValue, new List<long>(), 0, 4, 0, patNum, 0));
}
public static void GotoManage(long patNum){
OnModuleSelected(new ModuleEventArgs(DateTime.MinValue, new List<long>(), 0, 6, 0, patNum, 0));
}
In ContrAppt, I want to add the following after line 1610:
Code: Select all
menuApt.MenuItems.Add(Lan.g(this, " Family File"), new EventHandler(menuFamily_Click));
menuApt.MenuItems.Add(Lan.g(this, " Chart"), new EventHandler(menuChart_Click));
menuApt.MenuItems.Add(Lan.g(this, " Account"), new EventHandler(menuAccount_Click));
menuApt.MenuItems.Add(Lan.g(this, " Treatment Plan"), new EventHandler(menuTreatmentPlan_Click));
menuApt.MenuItems.Add(Lan.g(this, " Images"), new EventHandler(menuImages_Click));
menuApt.MenuItems.Add(Lan.g(this, " Manage"), new EventHandler(menuManage_Click));
Code: Select all
private void menuFamily_Click(object sender, EventArgs e){
GotoModule.GotoFamily(PatCur.PatNum);
}
private void menuAccount_Click(object sender, EventArgs e){
GotoModule.GotoAccount(PatCur.PatNum);
}
private void menuTreatmentPlan_Click(object sender, EventArgs e){
GotoModule.GotoTreatmentPlan(PatCur.PatNum);
}
private void menuImages_Click(object sender, EventArgs e){
GotoModule.GotoImage(PatCur.PatNum, 0);
} }
public void menuChart_Click(object sender, EventArgs e){
GotoModule.GotoChart(PatCur.PatNum);
}
public void menuManage_Click(object sender, EventArgs e){
GotoModule.GotoManage(PatCur.PatNum);
}