private void button1_Click(object sender, EventArgs e) { if (this.checkBox1.Checked) { DataSetting.Default.IsReStart = true; } else { DataSetting.Default.IsReStart = false; } DataSetting.Save(); }
private void btnReset_Click(object sender, EventArgs e) { clickSts0.IsDone = false; clickSts1.IsDone = false; clickSts2.IsDone = false; clickSts3.IsDone = false; clickSts4.IsDone = false; clickSts5.IsDone = false; clickSts6.IsDone = false; clickSts7.IsDone = false; clickSts8.IsDone = false; clickSts9.IsDone = false; clickSts10.IsDone = false; clickSts11.IsDone = false; clickSts12.IsDone = false; clickSts13.IsDone = false; clickSts14.IsDone = false; for (int i = 0; i < this.tlpTaskVavel1.RowCount; i++) { ((CheckBox)this.tlpTaskVavel1.GetControlFromPosition(0, i)).Checked = false; } for (int i = 0; i < this.tlpTaskVavel2.RowCount; i++) { ((CheckBox)this.tlpTaskVavel2.GetControlFromPosition(0, i)).Checked = false; } DataSetting.Default.DoneStepCount = 0; DataSetting.Save(); }
public void Save() { DataSetting.Save(); }