/// <summary> /// 가정의학과 - FM(Family Medicine) /// </summary> private void btnFM_Click(object sender, EventArgs e) { Department department = Dao.Department.GetByPK(4); CustomerQuestionnareControl custQuestionnare = new CustomerQuestionnareControl(department.DepartmentID); OnDepartmentToQuestionnare(department.DepartmentID, custQuestionnare); }
public DepartmentToQuestionnareEventArgs(int departmentID, CustomerQuestionnareControl custQuestionnare) { DepartmentID = departmentID; CustQuestionnare = custQuestionnare; }
private DepartmentToQuestionnareEventArgs OnDepartmentToQuestionnare(int departmentID, CustomerQuestionnareControl custQuestionnare) { DepartmentToQuestionnareEventArgs args = new DepartmentToQuestionnareEventArgs(departmentID, custQuestionnare); OnDepartmentToQuestionnare(args); return(args); }