Exemple #1
0
        int phoneNumber;//Variable for phone# validation
        public Form1()
        {
            InitializeComponent();

            HandleClientWindowSize();

            string connString = DbUtilities.BuildConnection();

            conn = DbUtilities.Connect(connString);

            GetData();

            //Adds Image Icon to contacts in the list view
            for (int x = 0; x < theData.Select().Length; x++)
            {
                ContactList.View                = View.List;
                ContactList.SmallImageList      = imageList1;
                ContactList.Items[x].ImageIndex = 0;
            }
        }