private void right_Clicked(object sender, EventArgs e) { if (move(strRight)) { InformationPopup popup = new InformationPopup(); popup.Title = "CLEAR"; popup.Text = "End the game"; popup.Show(); } }
/// <summary> /// Shows the Popup. /// </summary> public void Show() { _popUp.Show(); }