Esempio n. 1
0
 /// <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());
 }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 public PassMenu(PassCheckHelper passCheckHelper)
 {
     Init();
     _passCheckhlp = passCheckHelper;
 }