Example #1
0
 public Form1()
 {
     InitializeComponent();
     db = new DatabaseHandler();
     new_info_button.Enabled = false;
 }
Example #2
0
 private void initLocation()
 {
     //string[] names = new string[5] { "Tjappsåive", "Blockvägen 19", "Stora sjöfallet", "Någonstans i Sverige", "En liten bit av polen" };
     DatabaseHandler db = new DatabaseHandler();
     locList = db.getAllLocations();
     locationCBox.Items.Clear();
     foreach (Location l in locList) {
         locationCBox.Items.Add(l);
     }
 }