private void button11_Click(object sender, EventArgs e) { //change attack window with task 1 try { _connection.SendUpdateAttackTimeWindowEvent("SSN-1", "TargetAsset_1", "STRK", 20000); } catch (Exception ex) { UpdateTextBox(String.Format("Error Updating Attack Window: {0}", ex.Message)); } }