public void OnCloseCreate(object sender, EventArgs e) { _cv.Close(); ButtonPressedEvent.GetInstance().Handler -= OnCloseCreate; }