public MainForm() { InitializeComponent(); _dao = (HibernateBaseEntityDao)_ctx.GetObject("BaseEntityDao", typeof(HibernateBaseEntityDao)); Console.SetOut(_consoleCatcher); _timer = new System.Windows.Forms.Timer(); _timer.Interval = 500; _timer.Tick += new EventHandler(_timer_Tick); _timer.Start(); }
public MainForm() { InitializeComponent(); _dao = (HibernateBaseEntityDao) _ctx.GetObject("BaseEntityDao", typeof (HibernateBaseEntityDao)); Console.SetOut(_consoleCatcher); _timer = new System.Windows.Forms.Timer(); _timer.Interval = 500; _timer.Tick += new EventHandler(_timer_Tick); _timer.Start(); }