Esempio n. 1
0
        public void DataControlFieldCollection_Clone()
        {
            DataControlFieldCollection collection = new DataControlFieldCollection();

            collection.Add(new BoundField());
            Assert.AreEqual(1, collection.Count, "Add");
            DataControlFieldCollection clone = collection.CloneFields();

            Assert.AreEqual(1, clone.Count, "Clone");
        }