private void GisConnectionsForm_Load(object sender, System.EventArgs e) { LocaleUtils.Localize(this); LoadData(); MinimumSize = Size; UpdateControls(); }
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); }