Пример #1
0
        internal static void NotifyResponseRecieved()
        {
            lock (formLocker)
                {
                if (_currentForm == null)
                    {
                    return;
                    }

                if (_currentForm.InvokeRequired)
                    {
                    _currentForm.Invoke(new Action(NotifyResponseRecieved));
                    return;
                    }

                _currentForm.Close();
                _currentForm = null;
                }
        }
Пример #2
0
 internal static void WaitForServerResponse()
 {
     currentForm = new RemoteCallDialog();
     currentForm.ShowDialog();
 }
Пример #3
0
 internal static void WaitForServerResponse()
 {
     currentForm = new RemoteCallDialog();
     currentForm.ShowDialog();
 }