private void knowMoreAboutGatesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     HelpFile hf = new HelpFile();
     hf.Show();
     String line;
     String file = "Helpfile.txt";
     StreamReader myFile = new StreamReader();
     while(myFile.EndOfStream==false){
         line = myFile.ReadLine();
         Console.WriteLine(line);
         Console.ReadLine();
     }
     myFile.Close();
 }
Example #2
0
        private void knowMoreAboutGatesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HelpFile hf = new HelpFile();

            hf.Show();
            String       line;
            String       file   = "Helpfile.txt";
            StreamReader myFile = new StreamReader();

            while (myFile.EndOfStream == false)
            {
                line = myFile.ReadLine();
                Console.WriteLine(line);
                Console.ReadLine();
            }
            myFile.Close();
        }