От: | skodnik | ||
Дата: | 21.10.10 08:42 | ||
Оценка: |
try
{
MainController mainController = new MainController(new MainView());
mainController.Run();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
что это значит?СA2000 : Microsoft.Reliability : In method 'Program.Main()', call System.IDisposable.Dispose on object 'new MainView()' before all references to it are out of scope.