static void Main(string[] args) { var type = typeof(Program); try { Logger.Configure(); Logger.Info(type, Assembly.GetExecutingAssembly()); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var view = Views.CreateMainView(args); using (new ClipPresenter(view)) Application.Run(view); } catch (Exception err) { Logger.Error(type, err); } }