ow
This commit is contained in:
1 parent
ac0112b4a3
commit
90bb20e75f
24 files changed
+2722
No files matched your search
@@ -0,0 +1,37 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user