Exemple #1
0
        public interbook()
        {
            this.Tail = new interpage(this);
            this.Tail.Visible = true;

            this.Head = this.Tail;
            InitializeComponent();
        }
Exemple #2
0
 public void addPage()
 {
     interpage Page = new interpage(this);
     interpage Node = this.Tail;
     while (Node.NextPage != null)
     {
         Node = Node.NextPage;
     }
     Node.NextPage = Page;
     Page.PreviousPage = Node;
     this.Head = Page;
 }
Exemple #3
0
        public void setActivePageAt(int index)
        {
            interpage Node = new interpage();
            Node = this.Tail;
            int i = 0;
                for (i = 0; i <= index; i++)
                {
                    if (Node.NextPage != null)
                    {

                        Node.Visible = false;
                        Node = Node.NextPage;
                    }
                }

            this.currentPage = index;
            Node.Visible = true;
        }