Esempio n. 1
0
 private void GisConnectionsForm_Load(object sender, System.EventArgs e)
 {
     LocaleUtils.Localize(this);
     LoadData();
     MinimumSize = Size;
     UpdateControls();
 }
Esempio n. 2
0
 private void GisConnectionForm_Load(object sender, System.EventArgs e)
 {
     LocaleUtils.Localize(this);
     tbName.Text    = gisConnection.Name;
     tbConnStr.Text = gisConnection.ConnectionString;
     InitDataProviderList();
     cbDataProvider.Text = gisConnection.ProviderName;
     tbOptions.Text      = gisConnection.Options;
     formLoaded          = true;
     UpdateControls();
     MinimumSize = Size;
     MaximumSize = new Size(GConfig.Instance.geometry.maxFormWidth, Size.Height);
 }