Ejemplo n.º 1
0
 public Instruction(string key, int number, string text, SolutionDelegate solutionDelegate)
 {
     this.Key      = key;
     this.Number   = number;
     this.Text     = text;
     this.Delegate = solutionDelegate;
 }
Ejemplo n.º 2
0
 /*
  * WaveFileReader(string) - 2004 July 28
  * A fairly standard constructor that opens a file using the filename supplied to it.
  */
 public WaveFileShifter(string filenameOriginal, string filenameChanged, int shiftedMilieSeconds, SolutionDelegate solutionDeleg, IntDelegate setMaxDeleg, IntDelegate updateDeleg)
 {
     reader = new BinaryReader(new FileStream(filenameOriginal, FileMode.Open, FileAccess.Read, FileShare.Read));
     writer = new BinaryWriter(new FileStream(filenameChanged, FileMode.Create, FileAccess.Write));
     this.filenameOriginal = filenameOriginal;
     this.filenameChanged = filenameChanged;
     this.shiftedMilieSeconds = shiftedMilieSeconds;
     this.solutionDeleg = solutionDeleg;
     this.setMaxDeleg = setMaxDeleg;
     this.updateDeleg = updateDeleg;
 }
Ejemplo n.º 3
0
 public InstructionType(string key, string text, SolutionDelegate solutionDelegate)
 {
     this.Key      = key;
     this.Text     = text;
     this.Delegate = solutionDelegate;
 }