示例#1
0
 private void setDisributaions_Click(object sender, RoutedEventArgs e)
 {
     if (myNetWork.Count == 0)
     {
         UIPowers cc = new ui.UIPowers(this);
         cc.Show();
     }
     else
     {
         MessageBox.Show("These Parameters can not be set after deploying the nodes. please clear the field and re-set.");
     }
 }
 private void setDisributaions_Click(object sender, RoutedEventArgs e)
 {
     if (myNetWork.Count > 0)
     {
         if (isCoverageSelected)
         {
             UIPowers cc = new ui.UIPowers(this);
             cc.Show();
         }
         else
         {
             MessageBox.Show("plz select coverage. Coverage->Random");
         }
     }
     else
     {
         MessageBox.Show("please select a network: File>importe");
     }
 }