Exemple #1
0
        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();
        }
Exemple #2
0
 public Session(OptionOfBroadcast option)
 {
     this.option = option;
     net = new NetInterection(option.partnerIp, option.port);
     dataHandler = new DataProcessing();
 }