private void MainForm_Load(object sender, EventArgs e)
 {
     District d = new District();
     districtbox.Items.Clear();
     districtbox.DataSource = d.getDistrictList();
     districtbox.SelectedIndex=-1;
     userbox.Select();
 }
 public MainForm()
 {
     InitializeComponent();
     District d = new District();
     districtbox.DataSource = d.getDistrictList();
 }