private void openLogsToolStripMenuItem_Click(object sender, EventArgs e) { this.logView = UnityConfig.Instance.Container.Resolve<LogView>(); logView.FormClosed += LogView_FormClosed; FifoLogger.RegisterLogView(this.logView); this.logView.Show(); }
private void LogView_FormClosed(object sender, FormClosedEventArgs e) { FifoLogger.DeregisterLogView(this.logView); this.logView = null; }