public AsynchronousReader(ConsoleHandler consoleHandler, ReadHandler readHandler, StreamReader stream)
        {
            ConsoleHandler = consoleHandler;
            ReadDelegate = readHandler;
            Stream = stream;

            Buffer = new byte[ReadSize];
            Callback = new AsyncCallback(ReadCallback);

            CloseEvent = new AutoResetEvent(false);

            Read();
        }
 public AutoCompletionForm(ConsoleHandler handler)
 {
     InitializeComponent();
     Handler = handler;
 }