using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using Softelvdm.SftTabsNET;
using Softelvdm.Controls;

namespace Reorder {
    public partial class Form1 : Form {
        public Form1() {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e) {
            sftTabs1.AllowReordering = true;
            sftTabs1.Scrolling.Style = ScrollingStyle.AlwaysRight;
            for (int i = 5; i < 15; ++i) {
                TabClass t = sftTabs1.TabCollection.Add();
                t.Text = "Tab " + i.ToString();
            }
        }

        private void CloseButton_Click(object sender, EventArgs e) {
            Application.Exit();
        }
    }
}