private void btnInstanceRelease_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");

            // Release the collection "00000002"
            b.Hold("00000002");

            MessageBox.Show("Collection 00000002 on Hold - refresh the Controller");

            // Release the collection "00000002"
            b.Release("00000002");

            MessageBox.Show("Collection 00000002 released - refresh the Controller");

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

            b.Dispose();
        }