private void BtnCancelOnClick(object sender, EventArgs eventArgs) { if (testQueueControl != null) { testQueueControl.CancelActions(); } if (testTopicControl != null) { testTopicControl.CancelActions(); } if (testSubscriptionControl != null) { testSubscriptionControl.CancelActions(); } Close(); }
private async void BtnCancelOnClick(object sender, EventArgs eventArgs) { if (testQueueControl != null) { await testQueueControl.CancelActions(); } if (testTopicControl != null) { await testTopicControl.CancelActions(); } if (testSubscriptionControl != null) { await testSubscriptionControl.CancelActions(); } if (testEventHubControl != null) { await testEventHubControl.CancelActions(); } if (testRelayControl != null) { await testRelayControl.CancelActions(); } Close(); }