管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2024-04-29 19dd8c2b953b66294e13ef56dfbc3c5fbe38fc23
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
 
namespace JavaCode.db
{
    public partial class FrmDbCfg : Form
    {
        Form showForm = null;
 
        public FrmDbCfg()
        {
            InitializeComponent();
        }
 
        private void FrmDbCfg_Load(object sender, EventArgs e)
        {
            this.cboDB.SelectedIndex = 0;
        }
 
        private void label2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
 
        // 添加数据源
        private void label3_Click(object sender, EventArgs e)
        {
            string type = this.cboDB.SelectedText;
            switch (type)
            {
                case "本地文件":
 
                    break;
                case "数据库":
                    showForm = new FrmDB();
                    showForm.FormClosing += showForm_FormClosing;
                    showForm.Show();
                    this.Hide();
                    break;
                case "HTTP接口":
 
                    break;
            }
        }
 
        void showForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.Show();
        }
 
        // 采集日志
        private void label4_Click(object sender, EventArgs e)
        {
        }
    }
}