Example #1
0
        private void butsend_Click(object sender, EventArgs e)
        {
            var b4 = new SafeCallDelegateChangeEnable(ChangeEnable);

            butsend.Invoke(b4, butsend, false);
            SocketSend.sendanswer(answertextbox.Text);
        }
Example #2
0
        private void butvarq1_Click(object sender, EventArgs e)
        {
            var b = new SafeCallDelegateChangeEnable(ChangeEnable);

            butvarq1.Invoke(b, butvarq1, false);
            var b1 = new SafeCallDelegateChangeEnable(ChangeEnable);

            butvarq2.Invoke(b1, butvarq2, false);
            var b2 = new SafeCallDelegateChangeEnable(ChangeEnable);

            butvarq3.Invoke(b2, butvarq3, false);
            var b3 = new SafeCallDelegateChangeEnable(ChangeEnable);

            butvarq4.Invoke(b3, butvarq4, false);
            SocketSend.sendanswer("1");
        }