?? form1.cs
字號:
?using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Ini
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show(SoIniEdit.ControlIni.GetPath("open", 0));
MessageBox.Show(SoIniEdit.ControlIni.GetPath(@"E:\open.ini", 1));
}
private void button2_Click(object sender, EventArgs e)
{
this.textBox1.Text = SoIniEdit.ControlIni.GetIniStr("a", "b", "open", 0);
}
private void button3_Click(object sender, EventArgs e)
{
this.textBox2.Text= SoIniEdit.ControlIni.WriteIniStr("aa", "bb", "cc", "open", 0).ToString ();
this.textBox3.Text = SoIniEdit.ControlIni.WriteIniStr("aa", "bb", "cc", @"E:\open.ini", 1).ToString();
}
private void button4_Click(object sender, EventArgs e)
{
SoIniEdit.ControlIni.DelNode("aa", "open", 0);
}
private void button5_Click(object sender, EventArgs e)
{
this.textBox4 .Text = SoIniEdit.ControlIni.DelKey("qq", "aa", "open", 0).ToString ();
}
private void button6_Click(object sender, EventArgs e)
{
this.textBox5.Text = SoIniEdit.ControlIni.GetIniTF("qq", "aa", "open", 0).ToString();
}
private void button7_Click(object sender, EventArgs e)
{
this.textBox6.Text = SoIniEdit.ControlIni.WriteInitTF("11", "22", false , "open", 0).ToString ();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -