private void MakePhoneCall() { Action Act = delegate { _view.ActivatePhoneCall(true); }; Thread.Sleep(2000); _view.InvokeAction(Act); Thread.Sleep(3000); Act = delegate { _view.ActivatePhoneCall(false); }; _view.InvokeAction(Act); }
private void MakePhoneCall() { Action Act = delegate { _view.ActivatePhoneCall(true); }; Thread.Sleep(2000); _view.InvokeAction(Act); Thread.Sleep(3000); Act = delegate { _view.ActivatePhoneCall(false); }; _view.InvokeAction(Act); }