예제 #1
0
        /// <summary>
        /// やりなおすボタンをクリックした
        /// </summary>
        /// <param name="sender">イベント発生源</param>
        /// <param name="e">イベント情報</param>
        private void cancelBtn_Click(object sender, EventArgs e)
        {
            cancelBtn.Enabled = false;
            statusLabel.Text  = "";

            recorders[0] = new PuyofuRecorder();
            recorders[1] = new PuyofuRecorder();
        }
예제 #2
0
 /// <summary>
 /// フィールドのキャプチャ準備を行う
 /// </summary>
 /// <param name="fieldNo">フィールド番号</param>
 private void ReadyField(int fieldNo)
 {
     if (IsProcessingField(fieldNo))
     {
         if (recorders[fieldNo].IsRecordSucceeded)
         {
             recordIdTxt.UpButton();
         }
         prevFields[fieldNo] = new CaptureField();
         curFields[fieldNo]  = new CaptureField();
         recorders[fieldNo]  = new PuyofuRecorder();
         recorders[fieldNo].BeginRecord(
             captureTimer.Interval, config.CaptureStepNum, config.CaptureOnlyTsumo);
     }
 }