private void UUIDForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); Guid g = Guid.NewGuid(); txtUUID.Text = g.ToString(); }
private void ForeignKeyForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataFilled = false; FillCombo(); ForeignKeyObject = GetFK(FKName); txtConstraintName.Text = $@"FK_{TableName}_{NewNr}"; UpdateForeignKeyObject(); old_constraint_name = ForeignKeyObject.Name; SetEnables(); DataToEdit(); SetAutocompeteObjects(_tables); DataFilled = true; if (!string.IsNullOrEmpty(TableName)) { cbSourceTable.Text = TableName; } MakeSQL(); splitContainer1.SplitterDistance = 500; txtConstraintName.Enabled = !(BearbeitenMode == StateClasses.EditStateClass.eBearbeiten.eEdit); }
private void AppSettingsForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); this.Text = $@"App settings file:{AppSettingsClass.Instance.Path}"; DataToEdit(); SetEnables(); }
private void GeneratorForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataToEdit(); SetEnables(); RefreshDependenciesTo(); MakeSQL(); }
private void ProcedureForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataToEdit(); SetEnables(); MakeSQL(); SetAutocompeteObjects(_tables); }
private void ReplicationDesignForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataToEdit(); //RefreshDependenciesTo(); MakeSQL(); SetAutocompeteObjects(_tables); }
private void ConstraintsForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataToEdit(); OldConstraintName = txtConstraintName.Text.Trim(); NewConstraintName = OldConstraintName; MakeSQL(); SetAutocompeteObjects(_tables); }
private void UserDefinedFunctionForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataToEdit(); SetEnables(); MakeSQL(); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForUserDefinedFunction(); }
private void PrimaryKeyForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); _dataFilled = false; DataToEdit(); _oldIndexName = txtPKName.Text.Trim(); MakeSQL(); SetAutocompeteObjects(_tables); _dataFilled = true; }
private void DomainForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); SetCombo(); DataToEdit(); DataFilled = true; ShowCaptions(); AddExamples(); ClearDevelopDesign(FbXpertMainForm.Instance().DevelopDesign); SetDesign(FbXpertMainForm.Instance().AppDesign); SetAutocompeteObjects(_tables); }
private void CreateNewTableForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); _dataFilled = false; FillCombos(); SetVisible(); _dataFilled = true; MakeSQL(true); }
private void NotNullForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataToEdit(); txtConstraintName.Text = initialConstraintName; cbTable.Text = NotNullObject.TableName; GetFieldConstraintList(cbTable.Text); SetFieldText(txtConstraintName.Text); MakeSQL(); SetAutocompeteObjects(_tables); }
private void EventsForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); triggers = StaticTreeClass.Instance().GetAllTriggerObjects(_dbReg); lvEvents.Items.Clear(); SetCombo(); LoadUserDesign(); DataToEdit(); ClearDevelopDesign(FbXpertMainForm.Instance().DevelopDesign); SetDesign(FbXpertMainForm.Instance().AppDesign); RefreshLanguageText(); Restart(); }
private void DatabaseConfigForm_Load(object sender, EventArgs e) { oldserver = _dbReg.Server; //fbdPath.SelectedPath = $@"{ApplicationPathClass.Instance.ApplicationPath}\{_dbReg.Version}\fbclient.dll"; FormDesign.SetFormLeft(this); LanguageChanged(); ShowCaptions(); GetClientLibraryAndBinPath(); FileInfo fi = new FileInfo(_dbReg.DatabasePath); txtCreateDatabaseLocationFile.Text = fi.Exists ? $@"{fi.DirectoryName}\{fi.Name.Replace(fi.Extension, $@"_new{fi.Extension}")}" : "dbnew.fdb"; }
private void IndexForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); _dataFilled = false; cbTables.Items.Clear(); cbTables.Items.AddRange(_tables.ToArray()); cbTables.Text = _tableObject.Name; DataToEdit(); oldIndexColumnName = txtIndexName.Text.Trim(); _dataFilled = true; MakeSQL(); SetAutocompeteObjects(_tables); }
private void TriggerForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); SetComboBox(); DataToEdit(); SetEnables(); RefreshDependenciesTo(); MakeSQL(); ac = new AutocompleteClass(fctSQL, _dbReg); ac.RefreshAutocompleteForTriggers(); FormEvents.ClearEvents(sender); }
private void PFADEForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); if (string.IsNullOrEmpty(xmlFile)) { return; } FileInfo fi = new FileInfo(xmlFile); if (fi.Exists) { xmlEdit.LoadXmlFromFile(fi.FullName); } }
private void IMPORTDataForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); ShowCaptions(); if (DbExplorerForm.Instance().Visible) { this.Left = DbExplorerForm.Instance().Width + 16; } FillCHarsets(); cbEncodingCSV.Text = ToDBCharsetName(Encoding.Default); cbEncoding.Text = DBReg.CharSet; ClearDevelopDesign(FbXpertMainForm.Instance().DevelopDesign); SetDesign(FbXpertMainForm.Instance().AppDesign); }
private void ExperienceInfoForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); UserStart(); this.Text = $@"Experience Infos"; LoadExperienceInfo($@"{AppSettingsClass.Instance.PathSettings.InfoPath}\{StaticVariablesClass.ExperienceInfoFile}"); LoadLocalExperienceInfo($@"{AppSettingsClass.Instance.PathSettings.InfoPath}\{_dbReg.AliasAsFileName}_{StaticVariablesClass.ExperienceInfoFile}"); LanguageChanged(); SetAutocompeteObjects(_tables); SetLocalAutocompeteObjects(_tables); }
private void DatabaseCompareFrom_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); LanguageChanged(); hsSearchDownForward.Enabled = false; hsSearchUpForward.Enabled = false; hsSeachForward.Enabled = txtSearchCodeForward.TextLength > 0; // fbdSourcePath.SelectedPath = AppSettingsClass.Instance.PathSettings.DesignClassesOutputPath; ShowCaptions(); if (DbExplorerForm.Instance().Visible) { Left = DbExplorerForm.Instance().Width + 16; } GetAllDatabases(); }
private void VIEWManageForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); RefreshLanguageText(); fctMessages.Clear(); ClearDevelopDesign(FbXpertMainForm.Instance().DevelopDesign); SetDesign(FbXpertMainForm.Instance().AppDesign); if (getData) { RefreshAll(); } else { RefreshStruct(); } // DBReg.AutocompleteSetTextobjectForDatabase(fctCREATEINSERTSQL); }
private void FieldForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); DataFilled = false; if (BearbeitenMode == StateClasses.EditStateClass.eBearbeiten.eInsert) { dsDependencies.Clear(); } else { RefreshAll(); } tabControlFieldTypes.SelectedTab = tabPageFieldType; SetVisible(); DataFilled = true; MakeSQL(); }
private void DefaultForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); ofdSQL.InitialDirectory = DBStaticData.ChangeToFullPath(AppSettingsClass.Instance.PathSettings.ScriptingPath); GetDatabases(); ShowCaptions(); Anzeige(); SetFilesVibibilies(); tabScripting.SelectedTab = tabSQL; if (fcbSQL.Lines.Count > 0) { fcbSQL.Enabled = true; } hsRunSQLDirect.Enabled = false; hsPrepareCommands.Enabled = fcbSQL.LinesCount > 0; // SEHotSpot.Controller.Instance().SetHookForm(this); // SEHotSpot.Controller.Instance().SetupKeyboardHooks(this); // ctrl = new SEHotSpot.Controller(); //ctrl.SetupKeyboardHooks(this); }
private void EXPORTDataForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); ShowCaptions(); if (DbExplorerForm.Instance().Visible) { this.Left = DbExplorerForm.Instance().Width + 16; } cbCharSet.Items.Clear(); cbCharSet.Items.Add(new EncodingClass(Encoding.UTF8)); cbCharSet.Items.Add(new EncodingClass(Encoding.ASCII)); cbCharSet.Items.Add(new EncodingClass(Encoding.Default)); cbCharSet.Items.Add(new EncodingClass(Encoding.Unicode)); cbCharSet.SelectedIndex = 0; gbCharset.Enabled = cbExportToFile.Checked; gbFileName.Enabled = cbExportToFile.Checked; gbFolder.Enabled = cbExportToFile.Checked; ClearDevelopDesign(FbXpertMainForm.Instance().DevelopDesign); SetDesign(FbXpertMainForm.Instance().AppDesign); }
private void XMLDesignForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); LanguageChanged(); hsSearchDown.Enabled = false; hsSearchUp.Enabled = false; hsSeach.Enabled = txtSearchCode.TextLength > 0; fbdSourcePath.SelectedPath = _dbReg.CodeSettings.SourceCodeOutputPath; txtSourceCodePath.Text = _dbReg.CodeSettings.SourceCodeOutputPath; rbGenerateInrWithGenerator.Checked = _dbReg.CodeSettings.SourceCodePrimaryKeyType == eSourceCodePrimaryKeyType.GeneratorInteger; rbGenerateGUID.Checked = _dbReg.CodeSettings.SourceCodePrimaryKeyType == eSourceCodePrimaryKeyType.GUID; rbGenerateOID.Checked = _dbReg.CodeSettings.SourceCodePrimaryKeyType == eSourceCodePrimaryKeyType.UUID; rbGUIDHEXGeneration.Checked = _dbReg.CodeSettings.SourceCodePrimaryKeyType == eSourceCodePrimaryKeyType.HEXGUID; txtDBNamespace.Text = _dbReg.CodeSettings.SourceCodeNamespace; ShowCaptions(); if (DbExplorerForm.Instance().Visible) { Left = DbExplorerForm.Instance().Width + 16; } RefreshXml(); FillDBObjects(); }
private void BinariesForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); txtISQLUser.Text = _dbReg.User; txtISQLPassword.Text = _dbReg.Password; txtGBAKUser.Text = _dbReg.User; txtGBAKPassword.Text = _dbReg.Password; txtISQLUser.Text = _dbReg.User; txtISQLPassword.Text = _dbReg.Password; txtGSTATUser.Text = _dbReg.User; txtGSTATPassword.Text = _dbReg.Password; txtGFIXUser.Text = _dbReg.User; txtGFIXPassword.Text = _dbReg.Password; txtServerLocation.Text = _dbReg.GetServerLocation(); txtDatabaseLocation.Text = _dbReg.DatabasePath; LanguageChanged(); MakeISQLParameters(); MakeGSTATParameters(); MakeGFIXParameters(); MakeBackupParameters(); MakeRestoreParameters(); MakeVERSIONParameters(); }
private void DBMonitoringForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); ShowCaptions(); RefreshMonitorConnections(); }
private void ReportDesignForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); LoadUserDesign(); }
private void DesignerForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); CreateDesignObjects(); ShowAllObjects(); }
private void SaveFileForm_Load(object sender, EventArgs e) { FormDesign.SetFormLeft(this); fname = string.Empty; }