private void GetOperations()
        {
            try
            {
                if (Request["id"] != null)
                {
                    int resourceID            = int.Parse(Request["id"]);
                    OperationManager    opMan = new OperationManager();
                    OperationCollection ops   = opMan.FindOperationsByResources(resourceID);

                    cbxListOperation.Items.Clear();
                    foreach (Operation op in ops)
                    {
                        OperationCategoryManager opCatMan = new OperationCategoryManager();
                        OperationCategory        opCat    = opCatMan.GetOperationCategory(op.OperationCode);
                        ListItem cbxOperation             = new ListItem(opCat.Name, op.OperationCode.ToString());
                        ListItem cbxDenyOperation         = new ListItem(opCat.Name, op.OperationCode.ToString());
                        cbxListOperation.Items.Add(cbxOperation);
                        cbxListDenyOperation.Items.Add(cbxDenyOperation);
                    }
                }
            }
            catch (Exception ex)
            {
                ucErrorBox.Message = ex.Message;
                CurrentFormState   = FormState.ErrorState;
            }
        }
        protected void LoadOperationCat()
        {
            if (Request.QueryString["code"] == string.Empty)
            {
                return;
            }
            OperationCategoryManager operationCatManager = new OperationCategoryManager();
            OperationCategory        operationCat        = new OperationCategory();

            operationCat        = operationCatManager.GetOperationCategory(int.Parse(Request.QueryString["code"]));
            txtName.Text        = operationCat.Name;
            txtDescription.Text = operationCat.Description;
        }