⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eventplaysound.cs

📁 用C#实现的取得CellID和LAC的程序源代码!
💻 CS
字号:
using System;
using System.Threading;
using System.Windows.Forms;

using NiceTracker.Libraries;
namespace NiceTracker.Events
{
	/// <summary>
	/// Summary description for EventPlaySound.
	/// </summary>
	public class EventPlaySound : EventBase
	{
		public EventPlaySound()
		{

		}

		public string Filename = "";

		public override void Action()
		{			
			if ( !PPCLib.PlaySound( Filename ) )
				MessageBox.Show( "Unable to play sound file" );
		}

		public override void LoadParameters( EventParameters eventParameters )
		{
			Filename = eventParameters.Get( "Filename" );
		}

		public override void SaveParameters( EventParameters eventParameters )
		{
			eventParameters.Set( "Filename", Filename );
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -