Пример #1
0
 void btnLoad_Click(object sender, EventArgs e)
 {
     txtTFSPath.Text = IniHelper.ReadIni(IniHelper.Section.Path, IniHelper.Key.TFSPath);
     txtTFPath.Text  = IniHelper.ReadIni(IniHelper.Section.Path, IniHelper.Key.TFPath);
     txtDevPath.Text = IniHelper.ReadIni(IniHelper.Section.Path, IniHelper.Key.DevPath);
     txtBatPath.Text = IniHelper.ReadIni(IniHelper.Section.Path, IniHelper.Key.BatPath);
 }
Пример #2
0
 void btnSave_Click(object sender, EventArgs e)
 {
     IniHelper.WriteIni(IniHelper.Section.Day, DateTime.Today.ToString("yyyyMMdd"), NasBuild.Instance()._dayCount.ToString());
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.BatPath, txtBatPath.Text);
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.DevPath, txtDevPath.Text);
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.TFPath, txtTFPath.Text);
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.TFSPath, txtTFSPath.Text);
 }
Пример #3
0
 private void SaveIni()
 {
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.TFSPath, txtTFSPath.Text);
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.TFPath, txtTFPath.Text);
 }