R
R
rustler20002019-07-05 15:56:11
Continuous Integration
rustler2000, 2019-07-05 15:56:11

How to raise a webhook relay?

Has anyone raised a webhook relay?
I would like to accept hooks from a public Internet, so as not to pour turnips.
But not to open their ports.
Can anyone recommend what?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pavlov, 2017-09-20
@smidl

b1_clickYou cannot use a variable in a function b1, because it is only available inside the function MyButton.
I can offer 2 options.
1) Declare Button b1inside the class, for example before . In the delete function to leave . 2) In the function , use a link to the button that was clicked. That is . This will allow you to use the function for any button, not just the one created in .public Form1()MyButtonButtonb1 = new Button();

Button b = (Button) sender;
b.Text = "Зачем нажал?";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question