private void btLogs_Click(object sender, EventArgs e) { if (logs == null) { logs = new formLogs(); logs.MdiParent = this; logs.Show(); logs.FormClosed += new FormClosedEventHandler(fecharLogs); } }
private void fecharLogs(object sender, EventArgs e) { logs = null; }