private void UnSubscribeEvents() { if (this.button != null) { this.button.Click -= this.OnButtonClick; } }