private void MsgBox_YesClicked(object sender, EventArgs e) { var msgBox = (XNAMessageBox)sender; msgBox.YesClicked -= MsgBox_YesClicked; msgBox.NoClicked -= MsgBox_NoClicked; optionsWindow.Open(); }
private void BtnOptions_LeftClick(object sender, EventArgs e) { privateMessageSwitch.SwitchOff(); optionsWindow.Open(); }
private void FirstRunMessageBox_YesClicked(XNAMessageBox messageBox) => optionsWindow.Open();