public void ShowDownloadContentTooltip()
		{
			Form form = new DownloadContentTooltip();
			form.Show();
			form.Refresh();
			bool isClosed = StackTraceExtensions.StartedFromNCrunchOrNunitConsole;
			form.Closed += (sender, args) => isClosed = true;
			while (!isClosed)
				Application.DoEvents();
			form.Close();
		}
示例#2
0
        public void ShowDownloadContentTooltip()
        {
            Form form = new DownloadContentTooltip();

            form.Show();
            form.Refresh();
            bool isClosed = StackTraceExtensions.StartedFromNCrunchOrNunitConsole;

            form.Closed += (sender, args) => isClosed = true;
            while (!isClosed)
            {
                Application.DoEvents();
            }
            form.Close();
        }