• 大小: 17.39MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-26
  • 语言: C#
  • 标签: 管理系统  

资源简介

asp.net 客户关系管理系统完整源码.rar

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;

using System.Text;
using System.Collections;

namespace Snailsoft.Common
{
    public class BinaryTree
    {
        protected BinaryTreeNode cursor;
        private bool isNode = false;
        protected BinaryTreeNode prior;
        protected BinaryTreeNode root;
        protected int size;
        protected bool wentLeft;

        public BinaryTree()
        {
            this.Clear();
        }

        private IEnumerator BinaryTreeTraversal(BinaryTreeNode node int order)
        {
            TreeTraversal traversal = new TreeTraversal(node order);
            traversal.SetNode(this.isNode);
            return traversal.GetEnumerator();
        }

        public void Clear()
        {
            this.root = null;
            this.cursor = null;
            this.prior = null;
            this.size = 0;
            this.wentLeft = false;
        }

        public object GetValue()
        {
            return this.cursor.GetValue();
        }

        public bool HasLeft()
        {
            if (this.cursor != null)
            {
                return (this.cursor.GetLeft() != null);
            }
            return false;
        }

        public bool HasRight()
        {
            if (this.cursor != null)
            {
                return (this.cursor.GetRight() != null);
            }
            return false;
        }

        public IEnumerator InOrderTraversal()
        {
            return this.InOrderTraversal(this.root);
        }

        public IEnumerator InOrderTraversal(BinaryTreeNode node)
        {
            return this.BinaryTreeTraversal(node 2);
        }

        public void Insert(object val)
        {
            if (this.cursor != null)
            {
                throw new SystemException(“Insertion does not overwrite value.“);
            }
            if (this.prior == null)
            {
                if (this.root != null)
                {
                    throw new SystemException(“Insertion at root only allowed in empty tree.“);
                }
                this.cursor = this.root = new BinaryTreeNode(val);
            }
            else if (this.wentLeft)
            {
                this.prior.SetLeft(this.cursor = new BinaryTreeNode(val));
            }
            else
            {
                this.prior.SetRight(this.cursor = new BinaryTreeNode(val));
            }
            this.size++;
        }

        public bool IsLeftChild()
        {
            if (this.cursor != null)
            {
                return this.cursor.IsLeftChild();
            }
            return false;
        }

        public bool IsRightChild()
        {
            if (this.cursor != null)
            {
                return this.cursor.IsRightChild();
            }
            return false;
        }

        public bool IsRoot

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    3407872  2013-03-16 11:42  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Database\2005\LTH_CRM.mdf

     文件     516096  2013-03-16 11:42  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Database\2005\LTH_CRM_log.ldf

     文件    3801088  2013-03-21 02:45  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Database\LTH_CRM.mdf

     文件     516096  2013-03-21 02:45  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Database\LTH_CRM_log.ldf

     文件        902  2007-10-10 09:45  asp.net 客户关系管理系统完整源码\SnailCRM2.0\SnailCRM2.0.resharper

     文件       4809  2007-10-26 21:29  asp.net 客户关系管理系统完整源码\SnailCRM2.0\SnailCRM2.0.resharper.user

     文件       4010  2012-07-02 09:27  asp.net 客户关系管理系统完整源码\SnailCRM2.0\SnailCRM2.0.sln

    ..A..H.    198656  2013-03-16 17:36  asp.net 客户关系管理系统完整源码\SnailCRM2.0\SnailCRM2.0.suo

     文件     196608  2012-07-02 09:30  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\bin\Debug\Snailsoft.Common.dll

     文件     454144  2012-07-02 09:30  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\bin\Debug\Snailsoft.Common.pdb

     文件      12378  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\BinaryTree.cs

     文件       2459  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\BinaryTreeNode.cs

     文件       3164  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Browser.cs

     文件       2744  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Cipher.cs

     文件       9431  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\CommonbaseBusiness.cs

     文件       5756  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\CommonbaseDB.cs

     文件       5084  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\CommonbaseLib.cs

     文件       2528  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\CommonbasePage.cs

     文件       1738  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\DBOperate.cs

     文件       2635  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\DBOperatorFactory.cs

     文件       5842  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\ODBCDBOperate.cs

     文件       8059  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\OleDBOperate.cs

     文件       8601  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\SqlDBOperate.cs

     文件          0  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\_svn\empty-file

     文件       1770  2007-10-26 09:36  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\_svn\entries

     文件          2  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\_svn\format

     文件          0  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\_svn\prop-base\DBOperate.cs.svn-base

     文件          0  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\_svn\prop-base\DBOperatorFactory.cs.svn-base

     文件          0  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\_svn\prop-base\ODBCDBOperate.cs.svn-base

     文件          0  2007-10-10 09:32  asp.net 客户关系管理系统完整源码\SnailCRM2.0\Snailsoft.Common\Common\Database\_svn\prop-base\OleDBOperate.cs.svn-base

............此处省略10681个文件信息

评论

共有 条评论