Exemple #1
0
        public void populateList()
        {
            city c = new city();

            String[] city = c.returnCities();
            checkedListBox1.Items.AddRange(city);
        }
        public StartDialog()
        {
            city c = new city();

            String[] city = c.returnCities();
            InitializeComponent();
            this.complete = false;
            StartDialog.calculationsFinished = false;
            StartDialog.readFinished         = false;
            StartDialog.writeFinished        = false;
            for (int i = 0; i < this.languages.Length; i++)
            {
                this.language_selector.Items.Insert(i, this.languages[i]);
            }
            this.language_selector.SelectedIndex = 0;

            runtime = new Stopwatch();
        }