Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     /*button1.Enabled = false;
      * Connect();
      * if (!backgroundWorker1.IsBusy)
      * {
      *  backgroundWorker1.RunWorkerAsync();
      * }
      */
     CPCC.PrintLogs(CPCC.CALL_REQUEST);
     CPCC.InitSendingThread(CPCC.CALL_REQUEST, Config.getProperty("client_name"), destinationTextBox.Text, Int32.Parse(textBox_capacity.Text));
 }
Beispiel #2
0
 private void deallocate_b_Click(object sender, EventArgs e)
 {
     CPCC.PrintLogs(CalledPartyCC.CALL_TEARDOWN_SEND);
     CPCC.InitSendingThread(CPCC.CALL_TEARDOWN, Config.getProperty("client_name"), destinationTextBox.Text, Int32.Parse(textBox_capacity.Text));
 }