unit Input;

interface

uses
  SysUtils, Windows, Messages, Classes, Graphics, Controls,
  Forms, Dialogs, StdCtrls, Output;

type
  TInputForm = class(TForm)
    InText: TEdit;
    Send: TButton;
    procedure SendTextClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  InputForm: TInputForm;

implementation

{$R *.DFM}

procedure TInputForm.SendTextClick(Sender: TObject);
begin
 OutputForm.OutText.Text := InputForm.InText.Text;
end;

end.