예제 #1
0
        public EmulatorListWindow(Window owner, EmulatorCollection collection)
        {
            InitializeComponent();

            this.Owner = owner;

            this.collection = collection;
            itemList.ItemsSource = collection;

            itemList_SelectionChanged(this, null);
        }
예제 #2
0
        public EmulatorSelectorWindow(Window owner, EmulatorCollection completeCollection, List<Emulator> options)
        {
            InitializeComponent();

            this.Owner = owner;
            this.completeCollection = completeCollection;
            this.options = options;
            itemList.ItemsSource = options;

            itemList_SelectionChanged(this, null);
        }