private void cbConnection_SelectedIndexChanged(object sender, EventArgs e) { _actScriptingDbReg = cbConnection.SelectedItem as DBRegistrationClass; _ac = new AutocompleteClass(fcbSQL, _actScriptingDbReg); _ac.RefreshAutocompleteForDatabase(); _ac2 = new AutocompleteClass(fcbCommands, _actScriptingDbReg); _ac2.RefreshAutocompleteForDatabase(); }
private void ConstraintsForm_Load(object sender, EventArgs e) { DataToEdit(); OldConstraintName = txtConstraintName.Text.Trim(); NewConstraintName = OldConstraintName; MakeSQL(); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForDatabase(); }
private void ConstraintForm_Load(object sender, EventArgs e) { DataToEdit(); oldIndexName = txtIndexName.Text.Trim(); //RefreshDependenciesTo(); MakeSQL(); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForDatabase(); }
private void ReplicationDesignForm_Load(object sender, EventArgs e) { DataToEdit(); //RefreshDependenciesTo(); MakeSQL(); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForDatabase(); }
private void PrimaryKeyForm_Load(object sender, EventArgs e) { _dataFilled = false; DataToEdit(); _oldIndexName = txtPKName.Text.Trim(); MakeSQL(); _ac = new AutocompleteClass(fctSQL, _dbReg); _ac.RefreshAutocompleteForDatabase(); _dataFilled = true; }
private void DomainForm_Load(object sender, EventArgs e) { SetCombo(); DataToEdit(); DataFilled = true; ShowCaptions(); AddExcamples(); ClearDevelopDesign(FbXpertMainForm.Instance().DevelopDesign); SetDesign(FbXpertMainForm.Instance().AppDesign); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForDatabase(); }
private void IndexForm_Load(object sender, EventArgs e) { DataFilled = false; cbTables.Items.Clear(); cbTables.Items.AddRange(_tables.ToArray()); cbTables.Text = TableObject.Name; DataToEdit(); oldIndexColumnName = txtIndexName.Text.Trim(); DataFilled = true; MakeSQL(); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForDatabase(); }
private void EventsForm_Load(object sender, EventArgs e) { triggers = StaticTreeClass.GetAllTriggerObjects(_dbReg); lvEvents.Items.Clear(); SetCombo(); LoadUserDesign(); DataToEdit(); ClearDevelopDesign(FbXpertMainForm.Instance().DevelopDesign); SetDesign(FbXpertMainForm.Instance().AppDesign); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForDatabase(); RefreshLanguageText(); Restart(); }
private void SQLViewForm_Load(object sender, EventArgs e) { txtSQL.Clear(); UserStart(); Testlauf(); EditMode(cbEditMode.Checked); Text = DevelopmentClass.Instance().GetDBInfo(_dbReg, "SQLView for "); _ac = new AutocompleteClass(txtSQL, _dbReg); _ac.RefreshAutocompleteForDatabase(); hsBreak.Enabled = false; int n = LoadHistory(_lastSort); txtRowHeight.Text = dgvResults.RowTemplate.Height.ToString(); txtSQL.Focus(); SetEncoding(); }
private void ForeignKeyForm_Load(object sender, EventArgs e) { DataFilled = false; FillCombo(); ForeignKeyObject = GetFK(FKName); txtConstraintName.Text = $@"FK_{TableName}_NEW"; UpdateForeignKeyObject(); old_constraint_name = ForeignKeyObject.Name; SetEnables(); DataToEdit(); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForDatabase(); DataFilled = true; if (!string.IsNullOrEmpty(TableName)) { cbSourceTable.Text = TableName; } MakeSQL(); splitContainer1.SplitterDistance = 500; txtConstraintName.Enabled = !(BearbeitenMode == StateClasses.EditStateClass.eBearbeiten.eEdit); }