Example #1
0
        public void SetUp()
        {
            this.dragService = new NuGenTreeViewDragDropService();
            this.treeView    = new NuGenTreeView();
            this.treeNode    = new NuGenTreeNode();

            this.treeView.Nodes.Add(this.treeNode);
        }
		public void SetUp()
		{
			this.dragService = new NuGenTreeViewDragDropService();
			this.treeView = new NuGenTreeView();
			this.treeNode = new NuGenTreeNode();

			this.treeView.Nodes.AddNode(this.treeNode);
		}
Example #3
0
        public void ConstructorTest()
        {
            Assert.AreEqual(2, dragService.EdgeSensivity);

            this.dragService.EdgeSensivity = 4;
            Assert.AreEqual(4, this.dragService.EdgeSensivity);

            this.dragService = new NuGenTreeViewDragDropService(3);
            Assert.AreEqual(3, dragService.EdgeSensivity);
        }
		public void ConstructorTest()
		{
			Assert.AreEqual(2, dragService.EdgeSensivity);

			this.dragService.EdgeSensivity = 4;
			Assert.AreEqual(4, this.dragService.EdgeSensivity);

			this.dragService = new NuGenTreeViewDragDropService(3);
			Assert.AreEqual(3, dragService.EdgeSensivity);
		}
Example #5
0
 public void ConstructorArgumentExceptionTest()
 {
     this.dragService = new NuGenTreeViewDragDropService(-1);
 }
		public void ConstructorArgumentExceptionTest()
		{
			this.dragService = new NuGenTreeViewDragDropService(-1);
		}