void RadegastTab_TabClosed(object sender, EventArgs e) { if (this.RadegastTab != null) { UnregisterTabEvents(); } }