Exemple #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // Set up Speech Recognition and Synthesis
            SetupSpeech();

            // Set up the bomb information
            bombInfo = new GlobalInformation();

            // Set up SimpleWires module
            simpWires = new SimpleWires(ref bombInfo);

            // Set up TheButton module
            button = new TheButton(ref bombInfo);
        }
Exemple #2
0
 public TheButton(ref GlobalInformation i)
 {
     info = i;
 }
Exemple #3
0
 public SimpleWires(ref GlobalInformation i)
 {
     info = i;
 }