Exemplo n.º 1
0
        private void OpenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog d = InitOpenFileDialog();

            if (d.ShowDialog().Equals(DialogResult.OK))
            {
                Reader = new FileReader(d.FileName);
                Reader.AddObserver(this);
                Reader.Run();
            }
        }