记事本/Form2.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace 记事本
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
public static int start;
public static int i;
public static string s;
RichTextBox re = null;//设置form2可以调用form1中的richTextBox
public Form2(RichTextBox res)
{
re = res;
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
// 下载于www.51aspx.com
}
private void button3_Click(object sender, EventArgs e)
{
s=textBox2.Text;
start = Form1.str.IndexOf(textBox2.Text,start+1);
i = textBox2.Text.Length;
Form1 f1 = new Form1();
f1.Show();
this.re.Select(Form2.start, Form2.i);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。