예제 #1
0
파일: Form1.cs 프로젝트: ForgeJH/tutorial
 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
파일: Form1.cs 프로젝트: ForgeJH/tutorial
 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
파일: Form1.cs 프로젝트: ForgeJH/tutorial
 private void SaveIni()
 {
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.TFSPath, txtTFSPath.Text);
     IniHelper.WriteIni(IniHelper.Section.Path, IniHelper.Key.TFPath, txtTFPath.Text);
 }