Esempio n. 1
0
        public static void LongProcess(DelegationLib.CallFunction_NoIn_NoOut func)
        {
            WaitingMsg msg = new WaitingMsg();

            try
            {
                func();
            }
            catch
            {
            }
            finally
            {
                msg.Finish();
            }
        }
Esempio n. 2
0
        public PermissionType permissionType; //Loại phân quyền

        #endregion Fields

        #region Constructors

        public PermissionItem(string featureName, PermissionType permissionType,
            PermissionHow permissionHow, DelegationLib.CallFunction_NoIn_NoOut failAction)
        {
            this.featureName = featureName;
            this.permissionType = permissionType;
            this.permissionHow = permissionHow;
            this.failAction = failAction;
        }