Exemplo n.º 1
0
        private async void button1_Click(object sender, EventArgs e)
        {
            string data;

            if (!isSubscribe)
            {
                await _mainProcess.StartProcess();
            }
            else
            {
                await _mainProcess.EndProcess();
            }
            SetSubscribe();
        }