aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Pulse/SpoolingMethods.cs
blob: 3677e0ce7ab5805d5d323c7076a65dd47983f5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace Tango.Pulse
{
    /// <summary>
    /// Represents a twn file spooling method.
    /// </summary>
    public enum SpoolingMethods
    {
        //Spool per segment. (default)
        SpoolPerSegment = 0,
        //Spool per copy.
        SpoolPerCopy = 1,
        //Single spool for all segments.
        SingleSpool = 2,
    }
}
class="nn">System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace Tango.FSE.Firmware.Views { /// <summary> /// Interaction logic for FileSystemView.xaml /// </summary> public partial class FileSystemView : UserControl { private object _lastSelectedItem; public FileSystemView() { InitializeComponent(); } private void ListView_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (listView.SelectedItem != null) { _lastSelectedItem = listView.SelectedItem; } else { listView.SelectedItem = _lastSelectedItem; } } } }