private void button3_Click(object sender, EventArgs e)
 {
     ExecuteCommand(AquosCommand.Power(PowerSetting.Off));
 }
        private void ExecuteCommand(AquosCommand command)
        {
            command.Television = _television;

            command.Execute();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            var value = Convert.ToInt32(textBox1.Text);

            ExecuteCommand(AquosCommand.Volume(value));
        }
Beispiel #4
0
        private void ExecuteCommand(AquosCommand command)
        {
            command.Television = _television;

            command.Execute();
        }