代码拉取完成,页面将自动刷新
using CodeGenerator.BaseUI;
using CodeGenerator.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Windows.Forms;
namespace CodeGenerator.UI
{
public partial class FrmCenter : BaseForm
{
public FrmCenter()
{
InitializeComponent();
}
private void FrmCenter_Load(object sender, EventArgs e)
{
groupBox1.Visible = false;
webBrowser1.Navigate("http://buildh.cn/log1.html");
webBrowser1.ScriptErrorsSuppressed = true;
}
// 数据库字典生成
private void pictureBox2_Click(object sender, EventArgs e)
{
if (Constant.CurrentServerInfo != null && !string.IsNullOrEmpty(Constant.DatabaseName))
{
FrmDict frm = new FrmDict();
frm.ShowDialog();
}
else
{
Common.MessageUtil.ShowWarning("请先选择一个数据库!!!");
}
}
// 配置信息
private void pictureBox3_Click(object sender, EventArgs e)
{
FrmSetup frm = new FrmSetup();
frm.ShowDialog();
}
// BuildH代码批量生成
private void pictureBox4_Click(object sender, EventArgs e)
{
if (Constant.CurrentServerInfo != null && !string.IsNullOrEmpty(Constant.DatabaseName))
{
FrmCreateBuildHMulti frm = new FrmCreateBuildHMulti();
frm.ShowDialog();
}
else
{
Common.MessageUtil.ShowWarning("请先选择一个数据库!!!");
}
}
// Mybatis代码批量生成
private void pictureBox5_Click(object sender, EventArgs e)
{
}
// 实体类属性批量生成
private void pictureBox9_Click(object sender, EventArgs e)
{
if (Constant.CurrentServerInfo != null && !string.IsNullOrEmpty(Constant.DatabaseName))
{
FrmCreateEntityMulti frm = new FrmCreateEntityMulti();
frm.ShowDialog();
}
else
{
Common.MessageUtil.ShowWarning("请先选择一个数据库!!!");
}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。