public formMain() { InitializeComponent(); c = new Controller(); logform = new formLog(); btLog_Click(new object(), new EventArgs()); c.SendEvent += logform.OnLogUpdata; }