Files
Docker/uniapp/Google Chrome/Form2.cs
T
2026-11-03 09:19:50 +08:00

38 lines
778 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WinFormsApp3
{
public partial class Form2 : Form
{
public string Path { get; set; }
public Form2()
{
InitializeComponent();
}
private void Form2_Load(object sender, EventArgs e)
{
if (File.Exists(Path))
{
cssTxt.Text = File.ReadAllText(Path);
}
}
private void saveBut_Click(object sender, EventArgs e)
{
File.WriteAllText(Path, cssTxt.Text);
this.Close();
}
}
}