コード例 #1
0
ファイル: RawTrackForm.cs プロジェクト: yanzhen74/raw2raw
 private void RawTrackForm_Load(object sender, EventArgs e)
 {
     this.textBoxOutFile.Text = "g:\\toCTCC.raw";
     // 初始化输出转换设置
     TrackInfo ti = new TrackInfo();
     this.textBoxFrameShiftLength.Text = ti.frameShiftLength.ToString();
     this.textBoxInputFrameLength.Text = ti.inputFrameLength.ToString();
     this.textBoxOutputFrameLength.Text = ti.outputFrameLength.ToString();
 }
コード例 #2
0
ファイル: RawTrackForm.cs プロジェクト: yanzhen74/raw2raw
 private TrackInfo GetTrackInfo()
 {
     TrackInfo ti = new TrackInfo();
     ti.outFileName = this.textBoxOutFile.Text;
     ti.inputFrameLength = Convert.ToInt32(this.textBoxInputFrameLength.Text);
     ti.outputFrameLength = Convert.ToInt32(this.textBoxOutputFrameLength.Text);
     ti.frameShiftLength = Convert.ToInt32(this.textBoxFrameShiftLength.Text);
     return ti;
 }