void this_Clicked(object sender, Virtex.Lib.Vrtc.GUI.Events.vxGuiItemClickEventArgs e) { #if !NO_DRIVER_OPENAL SoundEffectInstance equipInstance = vxEngine.vxGUITheme.SE_Menu_Confirm.CreateInstance(); equipInstance.Volume = vxEngine.Profile.Settings.Audio.Double_SFX_Volume; equipInstance.Play(); #endif }
/// <summary> /// Raise the accepted event, then exit the message box. /// </summary> void Btn_Ok_Clicked(object sender, Virtex.Lib.Vrtc.GUI.Events.vxGuiItemClickEventArgs e) { if (Accepted != null) { Accepted(this, new PlayerIndexEventArgs(ControllingPlayer.Value)); } ExitScreen(); }
/// <summary> // Raise the cancelled event, then exit the message box. /// </summary> void Btn_Cancel_Clicked(object sender, Virtex.Lib.Vrtc.GUI.Events.vxGuiItemClickEventArgs e) { Method_Cancel(); }