SQLiteApplication/SQLiteForm.cs

(开头部分) 3KB

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

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SQLiteApplication.Util;
using NetQuickJamesFrame.Log;
using SQLiteApplication.DB;
using System.IO;

namespace SQLiteApplication
{
    public partial class SQLiteForm : Form
    {
        public SQLiteForm()
        {
            InitializeComponent();
        }

        LogHelper LOGGER = new LogHelper();
        Controller cc = new Controller();
        DatabaseHelper dbHelper = new DatabaseHelper();

        private void SQLiteForm_Load(object sender, EventArgs e)
        {
            LOGGER.writeLog(LogHelper.LOG_LEVEL.INFO, "application start.");

            set_listBox();
        }

        /// <summary>
        /// create DB
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button_createDB_Click(object sender, EventArgs e)
        {
            CreateDBForm createDBFomr = new CreateDBForm();
            if (createDBFomr.ShowDialog() == DialogResult.OK)
            {
                set_listBox();
            }
        }

        /// <summary>
        /// create Table
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button_createTable_Click(object sender, EventArgs e)
        {
            if (Conf.dbName != "")
            {
                CreateTableForm createTableForm = new CreateTableForm();
                createTableForm.DB_NAME = Conf.dbName;
                createTableForm.ShowDialog();
            }
后面还有 49 行代码,解锁后查看完整代码

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

AI 解读

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

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