private void showDetailsWindow(string message, string caption, List <Link> links, int maxWidth) { var hasTestDetails = _testDetails != null; var x = -1; var y = -1; if (hasTestDetails) { x = _testDetails.Left; y = _testDetails.Top; } _testDetails = new TestDetailsForm((file, line) => _provider.GoTo(file, line, 0), (assembly, type) => _provider.GoTo(assembly, type), x, y, message, caption, links, maxWidth); _testDetails.Show(); _testDetails.BringToFront(); }
private void showDetailsWindow(string message, string caption, List <Link> links, int maxWidth) { var hasTestDetails = _testDetails != null; var x = -1; var y = -1; if (hasTestDetails) { x = _testDetails.Left; y = _testDetails.Top; } _testDetails = new TestDetailsForm((file, line) => goToReference(file, line, 0), goToType, x, y, message, caption, links, maxWidth); _testDetails.Show(); _testDetails.BringToFront(); }
private void showDetailsWindow(string message, string caption, List<Link> links, int maxWidth) { var hasTestDetails = _testDetails != null; var x = -1; var y = -1; if (hasTestDetails) { x = _testDetails.Left; y = _testDetails.Top; } _testDetails = new TestDetailsForm((file, line) => goToReference(file, line, 0), goToType, x, y, message, caption, links, maxWidth); _testDetails.Show(); _testDetails.BringToFront(); }
private void showDetailsWindow(string message, string caption, List<Link> links, int maxWidth) { if (_testDetails == null) { _testDetails = new TestDetailsForm((file, line) => goToReference(file, line, 0), goToType); _testDetails.Show(); } _testDetails.SetCaption(caption); _testDetails.SetText(message, links, maxWidth); _testDetails.Visible = true; _testDetails.BringToFront(); }
private void showDetailsWindow(string message, string caption, List<Link> links, int maxWidth) { var hasTestDetails = _testDetails != null; var x = -1; var y = -1; if (hasTestDetails) { x = _testDetails.Left; y = _testDetails.Top; } _testDetails = new TestDetailsForm((file, line) => _provider.GoTo(file, line, 0), (assembly, type) => _provider.GoTo(assembly, type), x, y, message, caption, links, maxWidth); _testDetails.Show(); _testDetails.BringToFront(); }