0:   //  OutputDialog.cs 
1:   //  Copyright (c) 2001 Mike Krueger
2:   //
3:   //  This program is free software; you can redistribute it and/or modify
4:   //  it under the terms of the GNU General Public License as published by
5:   //  the Free Software Foundation; either version 2 of the License, or
6:   //  (at your option) any later version.
7:   //
8:   //  This program is distributed in the hope that it will be useful,
9:   //  but WITHOUT ANY WARRANTY; without even the implied warranty of
10:   //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11:   //  GNU General Public License for more details.
12:   //
13:   //  You should have received a copy of the GNU General Public License
14:   //  along with this program; if not, write to the Free Software
15:   //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16:  
17:   using System;
18:   using System.Drawing;
19:   using System.ComponentModel;
20:   using System.Windows.Forms;
21:   using System.Resources;
22:   using System.IO;
23:   using System.Threading;
24:  
25:   using SharpDevelop.Gui;
26:   using SharpDevelop.Tool.Data;
27:  
28:   namespace SharpDevelop.Gui.Dialogs {
29:       
30:       public class OutputDialog : System.Windows.Forms.Form 
31:       {
32:           RichTextBox rtb new RichTextBox();
33:           
34:           public void OEvent(string message)
35:           {
36:               rtb.AppendText(message +"\n");
37:               rtb.ScrollToCaret();
38:           }
39:           
40:           public OutputDialog() 
41:           {
42:               Text    "Output";
43:               TopMost true;
44:               
45:               rtb.ReadOnly true;
46:               rtb.Font new Font("Courier New"10);
47:               rtb.Select();
48:               rtb.Focus();
49:               
50:               MinimizeBox MaximizeBox ControlBox false;
51:               rtb.Dock DockStyle.Fill;
52:               Controls.Add(rtb);
53:           }
54:           
55:       }
56:   }

This page was automatically generated by SharpDevelop.