public FSPBXController(FSForm fSForm, Enterprise enterprise) { this.fSForm = fSForm; this.enterprise = enterprise; log("FSPBXController Started"); client = new TcpClient(); client.Connect("192.168.1.108", 8021); networkStream = client.GetStream(); clientStreamReader = new StreamReader(networkStream); clientStreamWriter = new StreamWriter(networkStream); log("FSPBXController Connected"); }
private void button2_Click(object sender, EventArgs e) { FSForm frm = new FSForm(); frm.Show(); }