如何从子串中调用MessageBox?

时间:2015-10-20 03:02:21

标签: c# .net

单击“详细信息”时如何显示messageBox?喜欢截图。

请帮我解决一下。

 try
        {
            _serviceInspector = new ServiceInspector(new Uri(serviceLocation));
        }
        catch (Exception ex)
        {
            progressBar1.Visible = false;

            lblMessage.Text = string.Format("An error (Details) occurred while attempting to find services at '{0}'.", serviceLocation);
            return;
        }

enter image description here

0 个答案:

没有答案