Example #1
0
 private void ConfirmButtonClick(object sender, EventArgs args)
 {
     if (getDelay.Checked)
     {
         result = "The average of delay is: " + client.GetDelay() + "ms";
         CreateResultPanel();
     }
     if (getRequestFromClient.Checked)
     {
         choice = 2;
         CreateSearchPanel();
     }
     if (getRequestToVelib.Checked)
     {
         choice = 1;
         CreateSearchPanel();
     }
     if (getCache.Checked)
     {
         result = "The quantity of cache is: " + client.GetCacheNumber();
         CreateResultPanel();
     }
 }