예제 #1
0
        public Catalog()
        {
            InitializeComponent();
            i    = 0;
            car  = new GetCarInfo();
            list = new List <string>();
            list = car.make_connection();
            max  = list.Count;
            String[] s = list[i].Split(' ');
            CarPicture.ImageLocation = s[0];
            int k = 1;

            for (int j = 1; j < s.Length; j++)
            {
                if (s[j].Trim().Length != 0)
                {
                    insertToBox(k);
                    CarSpecifics.Text += s[j] + "\n";
                    k++;
                }
            }
        }
예제 #2
0
        public Catalog()
        {
            InitializeComponent();
            i = 0;
            car = new GetCarInfo();
            list = new List<string>();
            list = car.make_connection();
            max = list.Count;
            String[] s = list[i].Split(' ');
            CarPicture.ImageLocation = s[0];
            int k = 1;
            for (int j = 1; j < s.Length; j++)
            {

                if (s[j].Trim().Length != 0)
                {
                    insertToBox(k);
                    CarSpecifics.Text += s[j] + "\n";
                    k++;
                }
            }
        }