private void btnInstanceHistory_Click(object sender, EventArgs e)
        {
            // Create a new Batch instance
            // Logs onto the CSM with "AdvancedDemo" application
            // and "FormId" station

            Batch b = new Batch("AdvancedDemo", "FormId");

            // Gets the collection "00000001"

            ITisCollectionData collData = b.Get("00000001");

            // Gets the history for collData

            string[] h = b.History(collData);

            MessageBox.Show("History for " + collData.Name + " is: " + String.Join("->", h));

            // Dispose the batch instance
            // and disconnect from the CSM

            b.Dispose();
        }