コード例 #1
0
        private void OpenDB()
        {
            FormAdd3DDatabase dialog = new FormAdd3DDatabase();

            if (dialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            DataUtils.AddAndVisualizeBaseData(dialog.ConnInfo, "Geometry", this._baseTree, true);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }