private void button2_Click(object sender, EventArgs e) { sLanCS client = f.FactoryMethod("Client"); client.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { sLanCS server = f.FactoryMethod("Server"); server.Show(); this.Hide(); }