public void button_start_Click(object sender, EventArgs e) { OptionOfBroadcast option = new OptionOfBroadcast((radioButtonClient.Checked) ? UserType.utShow : UserType.utView, textBox_Status); //FormPictureBox pictureBoxTool = new FormPictureBox(pictureBox, pictureBox.Width, pictureBox.Height); session = new Session(option); session.Start(); }
public Session(OptionOfBroadcast option) { this.option = option; net = new NetInterection(option.partnerIp, option.port); dataHandler = new DataProcessing(); }