using System.Windows.Forms; using System.Drawing; class terminal : Form { public terminal() { Text="ssh terminal"; } public static void Main() { connect t = new connect(); Application.Run(t); } } class connect : Form { public connect() { Text="Connect to Host"; //we need text boxes and buttons. Label lHost = new Label(); lHost.Text = "Host:"; TextBox tHost=new TextBox(); Button bConnect = new Button(); bConnect.Text="connect"; //add controls Controls.AddRange(new Control[] {lHost, tHost, bConnect} ); } }