⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newprojectset.cs

📁 通过数据库结构自动 生成三层结构代码,相当不错的一款软件
💻 CS
📖 第 1 页 / 共 2 页
字号:
namespace Codematic
{
    using LTP.CodeBuild;
    using System;
    using System.Collections;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class NewProjectSet : Form
    {
        private string _framework;
        private string _outpath;
        private string _proname;
        private Button btn_Build;
        private Button btn_Cancel;
        private Button btn_Pri;
        private CodeBuilders cb;
        private CheckBox checkBox7;
        private CheckBox checkBox8;
        private CheckBox checkBox9;
        private CheckBox chkAdd;
        private CheckBox chkDelete;
        private CheckBox chkExists;
        private CheckBox chkGetList;
        private CheckBox chkGetModel;
        private CheckBox chkUpdate;
        private IContainer components;
        private GroupBox groupBox1;
        private GroupBox groupBox2;
        private GroupBox groupBox3;
        private GroupBox groupBox4;
        private Label label1;
        private Label label2;
        private Label label3;
        private Label label4;
        private Label label5;
        private Label label6;
        private Label label7;
        private Label label8;
        private Label label9;
        private RadioButton radbtn_DAL_Param;
        private RadioButton radbtn_DAL_Proc;
        private RadioButton radbtn_DAL_SQL;
        private Hashtable TabSelList;
        private TextBox textBox1;
        private TextBox txtFolder;
        private TextBox txtNamespace;

        public NewProjectSet(CodeBuilders codebuild, Hashtable Tablist)
        {
            this.InitializeComponent();
            this.cb = codebuild;
            this.TabSelList = Tablist;
        }

        public NewProjectSet(CodeBuilders codebuild, Hashtable Tablist, string outpath, string proname)
        {
            this.InitializeComponent();
            this.cb = codebuild;
            this.TabSelList = Tablist;
            this._outpath = outpath;
            this._proname = proname;
        }

        private void btn_Build_Click(object sender, EventArgs e)
        {
        }

        private void btn_Cancel_Click(object sender, EventArgs e)
        {
        }

        private void btn_Pri_Click(object sender, EventArgs e)
        {
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.groupBox1 = new GroupBox();
            this.txtNamespace = new TextBox();
            this.label4 = new Label();
            this.txtFolder = new TextBox();
            this.label5 = new Label();
            this.groupBox2 = new GroupBox();
            this.label9 = new Label();
            this.label8 = new Label();
            this.label7 = new Label();
            this.label3 = new Label();
            this.label2 = new Label();
            this.label1 = new Label();
            this.chkGetList = new CheckBox();
            this.chkGetModel = new CheckBox();
            this.chkDelete = new CheckBox();
            this.chkUpdate = new CheckBox();
            this.chkAdd = new CheckBox();
            this.checkBox8 = new CheckBox();
            this.checkBox7 = new CheckBox();
            this.chkExists = new CheckBox();
            this.groupBox3 = new GroupBox();
            this.checkBox9 = new CheckBox();
            this.textBox1 = new TextBox();
            this.label6 = new Label();
            this.radbtn_DAL_SQL = new RadioButton();
            this.radbtn_DAL_Param = new RadioButton();
            this.radbtn_DAL_Proc = new RadioButton();
            this.groupBox4 = new GroupBox();
            this.btn_Build = new Button();
            this.btn_Pri = new Button();
            this.btn_Cancel = new Button();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            base.SuspendLayout();
            this.groupBox1.Controls.Add(this.txtNamespace);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.txtFolder);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Location = new Point(8, 9);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new Size(0x1d0, 0x49);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "命名空间";
            this.txtNamespace.Location = new Point(0x57, 0x1a);
            this.txtNamespace.Name = "txtNamespace";
            this.txtNamespace.Size = new Size(100, 0x15);
            this.txtNamespace.TabIndex = 4;
            this.txtNamespace.Text = "CodematicDemo";
            this.label4.AutoSize = true;
            this.label4.Location = new Point(0x17, 0x1c);
            this.label4.Name = "label4";
            this.label4.Size = new Size(0x41, 12);
            this.label4.TabIndex = 3;
            this.label4.Text = "命名空间:";
            this.txtFolder.Location = new Point(0x155, 0x1a);
            this.txtFolder.Name = "txtFolder";
            this.txtFolder.Size = new Size(100, 0x15);
            this.txtFolder.TabIndex = 5;
            this.label5.AutoSize = true;
            this.label5.Location = new Point(0xe1, 30);
            this.label5.Name = "label5";
            this.label5.Size = new Size(0x71, 12);
            this.label5.TabIndex = 2;
            this.label5.Text = "子文件夹名:(可选)";
            this.groupBox2.Controls.Add(this.label9);
            this.groupBox2.Controls.Add(this.label8);
            this.groupBox2.Controls.Add(this.label7);
            this.groupBox2.Controls.Add(this.label3);
            this.groupBox2.Controls.Add(this.label2);
            this.groupBox2.Controls.Add(this.label1);
            this.groupBox2.Controls.Add(this.chkGetList);
            this.groupBox2.Controls.Add(this.chkGetModel);
            this.groupBox2.Controls.Add(this.chkDelete);
            this.groupBox2.Controls.Add(this.chkUpdate);
            this.groupBox2.Controls.Add(this.chkAdd);
            this.groupBox2.Controls.Add(this.checkBox8);
            this.groupBox2.Controls.Add(this.checkBox7);
            this.groupBox2.Controls.Add(this.chkExists);
            this.groupBox2.Location = new Point(8, 0x58);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new Size(0x1d0, 0xa2);
            this.groupBox2.TabIndex = 0;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "类方法";
            this.label9.AutoSize = true;
            this.label9.Location = new Point(0x6a, 0x84);
            this.label9.Name = "label9";
            this.label9.Size = new Size(0x35, 12);
            this.label9.TabIndex = 1;
            this.label9.Text = "数据查询";
            this.label8.AutoSize = true;
            this.label8.Location = new Point(0x6a, 110);
            this.label8.Name = "label8";
            this.label8.Size = new Size(0x65, 12);
            this.label8.TabIndex = 1;
            this.label8.Text = "得到实体对象模型";
            this.label7.AutoSize = true;
            this.label7.Location = new Point(0x6a, 0x58);
            this.label7.Name = "label7";
            this.label7.Size = new Size(0x35, 12);
            this.label7.TabIndex = 1;
            this.label7.Text = "删除数据";
            this.label3.AutoSize = true;
            this.label3.Location = new Point(0x6a, 0x42);
            this.label3.Name = "label3";
            this.label3.Size = new Size(0x35, 12);
            this.label3.TabIndex = 1;
            this.label3.Text = "更新数据";
            this.label2.AutoSize = true;
            this.label2.Location = new Point(0x6a, 0x2c);
            this.label2.Name = "label2";
            this.label2.Size = new Size(0x35, 12);
            this.label2.TabIndex = 1;
            this.label2.Text = "添加数据";
            this.label1.AutoSize = true;
            this.label1.Location = new Point(0x6a, 0x16);
            this.label1.Name = "label1";
            this.label1.Size = new Size(0x41, 12);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -