public void t新規生成のRedo(CWAV wc生成前はNull, CWAV wc生成されたWAVの複製) { int num = wc生成されたWAVの複製.nWAV番号1to1295; CWAV cwav = this.WAVキャッシュ.tWAVをキャッシュから検索して返す_なければ新規生成する(num); cwav.tコピーfrom(wc生成されたWAVの複製); cwav.tコピーto(this.listViewWAVリスト.Items[num - 1]); this._Form.tタブを選択する(CMainForm.Eタブ種別.WAV); this.listViewWAVリスト.Refresh(); }
public void tWAV編集のUndo(CWAV wc変更前, CWAV wc変更後) { int num = wc変更前.nWAV番号1to1295; CWAV cwav = this.WAVキャッシュ.tWAVをキャッシュから検索して返す(num); cwav.tコピーfrom(wc変更前); cwav.tコピーto(this.listViewWAVリスト.Items[num - 1]); this._Form.tWAV_BMP_AVIリストのカーソルを全部同じ行に合わせる(cwav.nWAV番号1to1295 - 1); this._Form.tタブを選択する(CMainForm.Eタブ種別.WAV); this.listViewWAVリスト.Refresh(); }
private void tItemを交換する_ListViewItem(int nItem番号1, int nItem番号2) { int num = nItem番号1 + 1; int num2 = nItem番号2 + 1; CWAV cwav = new CWAV(); cwav.tコピーfrom(this.listViewWAVリスト.Items[nItem番号1]); cwav.nWAV番号1to1295 = num2; CWAV cwav2 = new CWAV(); cwav2.tコピーfrom(this.listViewWAVリスト.Items[nItem番号2]); cwav2.nWAV番号1to1295 = num; cwav2.tコピーto(this.listViewWAVリスト.Items[nItem番号1]); cwav.tコピーto(this.listViewWAVリスト.Items[nItem番号2]); }