protected override void InitData()
 {
     _accountsPresenter.Display();
     _accountCategoryPresenter.Display();
     if (KeyValue != null)
     {
         _accountPresenter.Display(KeyValue);
         _currentCode = AccountNumber;
     }
     else
     {
         if (CurrentNode != null)
         {
             txtAccountCode.Text = ((AccountModel)CurrentNode).AccountNumber;
             //txtAccountName.Text = @"Tài khoản mới";
             this.ParentId            = ((AccountModel)CurrentNode).AccountId;
             this.AccountCategoryId   = ((AccountModel)CurrentNode).AccountCategoryId;
             this.AccountCategoryKind = ((AccountModel)CurrentNode).AccountCategoryKind;
             //grdLookUpParentID.Text = ((AccountModel)CurrentNode).AccountNumber;
             // cboBalanceSide.EditValue = ((AccountModel) CurrentNode).AccountCategoryKind;
         }
     }
 }
 /// <summary>
 /// Loads the data into tree.
 /// </summary>
 protected override void LoadDataIntoTree()
 {
     _accountCategoriesPresenter.Display();
 }