private void OpenDB() { FormAdd3DDatabase dialog = new FormAdd3DDatabase(); if (dialog.ShowDialog() != DialogResult.OK) { return; } DataUtils.AddAndVisualizeBaseData(dialog.ConnInfo, "Geometry", this._baseTree, true); }
private void OpenDB() { FormAdd3DDatabase dialog = new FormAdd3DDatabase(); if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK) { return; } DataUtils.AddAndVisualizeBaseData(dialog.ConnInfo, "Geometry", this.OwnNode.TreeList, true); }
public override void Run(object sender, EventArgs e) { Layer3DTreePad pad = UCService.GetContent(typeof(Layer3DTreePad)) as Layer3DTreePad; if (pad == null) { return; } FormAdd3DDatabase dialog = new FormAdd3DDatabase(); if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK) { return; } DataUtils.AddAndVisualizeBaseData(dialog.ConnInfo, "Geometry", pad.TreeList, true); }