/// <summary> /// /// </summary> public bool InitializePassIntf(string deptId, string deptName, string doctorId, string doctorName) { _passCheckHelper = new PassCheckHelper(deptId, deptName, doctorId, doctorName); _passCheckHelper.PassRegisterAndInit(); _passContextMenu = new PassMenu(_passCheckHelper); _passContextMenu.Opened += new EventHandler(_passContextMenu_Opened); return(_passCheckHelper.PassEnable()); }
/// <summary> /// /// </summary> public PassMenu(PassCheckHelper passCheckHelper) { Init(); _passCheckhlp = passCheckHelper; }