Show ListNode.cs syntax highlighted
using System;
using System.Drawing;
using Tao.Platform.Windows;
using Tao.OpenGl;
using System.Data;
namespace New_Study_Project
{
/// <summary>
/// Summary description for ListNode.
/// </summary>
public class ListNode
{
/* Definitions of the Program */
private ControlPoint controlpoint;
private ListNode next;
private ListNode previous;
/* End of Definitions of the Program */
public ListNode(ControlPoint dataValue)
{
this.controlpoint = dataValue;
this.next = null;
this.previous = null;
}
public ListNode(ControlPoint dataValue, ListNode nextNode, ListNode previousNode) //1.Datenwert, 2.naechster Knoten, 3.vorheriger Knoten
{
this.controlpoint = dataValue;
this.next = nextNode;
this.previous = previousNode;
}
/*******************************************************************/
/* End of the head of this Object - now the user code stuff begins */
/*******************************************************************/
/*******************************************************************/
/* some function for returning values */
/*******************************************************************/
public ListNode Next
{
get
{
return next;
}
set
{
next = value;
}
}
public ListNode Previous
{
get
{
return previous;
}
set
{
previous = value;
}
}
public ControlPoint getControlPoint
{
get
{
return this.controlpoint;
}
set
{
this.controlpoint = value;
}
}
/*******************************************************************/
/* ----------------------------------------------------------- */
/*******************************************************************/
}
}
See more files for this project here