Tabel_Form.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace dbToCode
{
public partial class Tabel_Form : Form
{
private connect conn = new connect();
public Tabel_Form()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
DialogResult connResult = conn.ShowDialog();
if (connResult == DialogResult.OK)
{
conn.Hide();
StringBuilder strtable = new StringBuilder();
strtable.Append("<table>");
int i = 0;
if (txt_tabel.Text.Trim() != "")
{
string[] tableClass = txt_tabel.Text.Trim().ToLower().Split(',');
foreach (string cla in tableClass)
{
string[] twoItem = cla.Split('|');
if (twoItem.Length < 2)
continue;
string[] item = twoItem[0].Split('/');
strtable.Append("<tr><td >" + twoItem[1] + "</td><td><%tempCount%></td></tr>");
int tempCount = 0;
foreach (string it in item)
{
IList<string> listTemp = new List<string>(connect.mylist);
foreach (string var in listTemp)
{
if (var.ToLower().Contains(it))
{
strtable.Append("<tr><td></td><td >" + var + "</td></tr>");
i++;
connect.mylist.Remove(var);
tempCount++;
}
}
}
strtable.Replace("<%tempCount%>", tempCount.ToString());
后面还有 23 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。