コード例 #1
0
 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
 }
コード例 #2
0
        /// <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();
        }
コード例 #3
0
 /// <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();
 }