コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            codeRuleDataBO       = new CodeRuleDataBO();
            codeRuleDefinitionBO = new CodeRuleDefinitionBO();
            codeRuleNumberDataBO = new CodeRuleNumberDataBO();
            codeRuleStringDataBO = new CodeRuleStringDataBO();

            if (!IsPostBack)
            {
                GenerateViewStateControlId();
                GUIContext                 = new Context();
                CodeRuleDefinitionId       = Guid.Empty;
                ParentCodeRuleDefinitionId = Guid.Empty;
                CodeRuleDataId             = Guid.Empty;
            }
        }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     codeRuleDefinitionBO = new CodeRuleDefinitionBO();
     artifactCodeRuleBO   = new ArtifactCodeRuleBO();
     if (!IsPostBack)
     {
         GenerateViewStateControlId();
         CodeRuleDefinitionViewData = null;
         GUIContext         = new Context();
         ArtifactCodeRuleId = Guid.Empty;
     }
     BindArtifactTypeData();
     formlayoutArtifactCodeRuleEditingForm.DataBind();
     treelistCodeRuleData.DataSource = CodeRuleDefinitionViewData;
     treelistCodeRuleData.DataBind();
 }