Ejemplo n.º 1
0
		public Form1()
		{
			InitializeComponent();

			errorReport = container[ typeof(IErrorReport) ] as UIErrorReport;

			FileInfo info = new FileInfo( "source.rook.txt" );

			if (!info.Exists) return;

			using(StreamReader reader = new StreamReader(info.FullName))
			{
				sourceCode.Text = reader.ReadToEnd();
			}
		}
Ejemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();

            errorReport = container[typeof(IErrorReport)] as UIErrorReport;

            FileInfo info = new FileInfo("source.rook.txt");

            if (!info.Exists)
            {
                return;
            }

            using (StreamReader reader = new StreamReader(info.FullName))
            {
                sourceCode.Text = reader.ReadToEnd();
            }
        }
Ejemplo n.º 3
0
        public Form1()
        {
            InitializeComponent();

            errorReport = container[typeof(IErrorReport)] as UIErrorReport;
        }