private void exceptionDetailsMenuItem_Click(object sender, System.EventArgs e) { using( ExceptionDetailsForm details = new ExceptionDetailsForm( TestLoader.LastException ) ) { this.Site.Container.Add( details ); details.ShowDialog(); } }
private void exceptionDetailsMenuItem_Click(object sender, System.EventArgs e) { /*2013-1-12:NUnit.Gui.ArxNet.Tests.NUnitFormArxNetTests.ShowModalDialog���Լ�*/ if (TestLoader == null) return; if (this.Site == null) return; if (this.Site.Container == null) return; /*2013-1-12:NUnit.Gui.ArxNet.Tests.NUnitFormArxNetTests.ShowModalDialog���Լ�*/ using( ExceptionDetailsForm details = new ExceptionDetailsForm( TestLoader.LastException ) ) { this.Site.Container.Add( details ); details.ShowDialog(); } }