コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (this.checkBox1.Checked)
            {
                DataSetting.Default.IsReStart = true;
            }
            else
            {
                DataSetting.Default.IsReStart = false;
            }

            DataSetting.Save();
        }
コード例 #2
0
 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();
 }
コード例 #3
0
 public void Save()
 {
     DataSetting.Save();
 }