Exemplo n.º 1
0
        string IShortcutCommand.GetDetail(CommandArgs commandArgs)
        {
            VolumeBalanceCommandArgs args = (VolumeBalanceCommandArgs)commandArgs;

            if (args.VolumeBalance == VolumeBalanceCommandArgs.BalanceMiddle)
            {
                return("音量バランス:中央");
            }
            else if (args.VolumeBalance == VolumeBalanceCommandArgs.BalanceLeft)
            {
                return("音量バランス:左");
            }
            else if (args.VolumeBalance == VolumeBalanceCommandArgs.BalanceRight)
            {
                return("音量バランス:右");
            }

            return("音量バランス");
        }
Exemplo n.º 2
0
        void IShortcutCommand.Execute(CommandArgs commandArgs)
        {
            VolumeBalanceCommandArgs args = (VolumeBalanceCommandArgs)commandArgs;

            pecaPlayer.VolumeBalance = args.VolumeBalance;
        }