aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/FocusSelectionMode.cs
blob: d7330896ad23255f1bbcefbe4b84e453b2b9e1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Touch.Controls
{
    public enum FocusSelectionMode
    {
        None,
        SelectAll,
        ScrollToEnd
    }
}
s="k">using Tango.Integration.Operation; using Tango.PPC.Common.Notifications; namespace Tango.PPC.Jobs.AppButtons { public class StartPrintingButton : AppButton { public StartPrintingButton(RelayCommand command, IMachineOperator op) : base("DYE", command) { op.StatusChanged += Op_StatusChanged; Op_StatusChanged(op, op.Status); } private void Op_StatusChanged(object sender, MachineStatuses status) { IsEnabled = (sender as IMachineOperator).CanPrint; } } }