protected override void OnClosed(EventArgs e) { base.OnClosed(e); instance = null; }
protected override void OnShown(EventArgs e) { base.OnShown(e); instance = this; }