MainInput.cs

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.IO;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;

namespace DockPanelSample
{
    public partial class MainInput : WeifenLuo.WinFormsUI.Docking.DockContent
    {
        private int tableId = -1;
        public MainInput()
        {
            InitializeComponent();
        }

        private void MainInput_Load(object sender, EventArgs e)
        {

        }

        public void SetTableID(int id)
        {
            this.tableId = id;

            if (m_ShowKey == "")
            {
                this.DBInfo();
            }
            else
            {
                OnShowCode(m_ShowKey);
            }
        }

        public void DBInfo()
        {
            if (this.tableId < 1)
            {
                this.SetInputText("");
                return;
            }

            this.SetInputText(this.GetTableInfo(this.tableId));
            
        }



        public void SQLInfo()
        {
            this.SetInputText(Template.GetSQLConfigText());
            this.Show();
            
        }

后面还有 230 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。