コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TreeView"/> class.
        /// </summary>
        public TreeView()
        {
            Size  = new Point(100, 100);
            Style = "treeview";

            Nodes                     = new ActiveList <TreeNode>();
            Nodes.ItemAdded          += Nodes_ItemAdded;
            Nodes.ItemRemoved        += Nodes_ItemRemoved;
            Nodes.BeforeItemsCleared += Nodes_BeforeItemsCleared;

            Scrollbar             = new ScrollBar();
            Scrollbar.Dock        = DockStyle.Right;
            Scrollbar.Size        = new Point(25, 25);
            Scrollbar.Orientation = Orientation.Vertical;
            Elements.Add(Scrollbar);

            ClipFrame         = new Frame();
            ClipFrame.Dock    = DockStyle.Fill;
            ClipFrame.Scissor = true;
            Elements.Add(ClipFrame);

            _itemContainer          = new Frame();
            _itemContainer.AutoSize = AutoSize.Vertical;
            _itemContainer.Parent   = ClipFrame;

            MouseWheel += TreeView_MouseWheel;
        }
コード例 #2
0
        public override Result recognize(int nFrames)
        {
            int    num    = 0;
            Result result = null;

            this.streamEnd = false;
            int num2 = 0;

            while (num2 < nFrames && num == 0)
            {
                num = (this.recognize() ? 1 : 0);
                num2++;
            }
            if (this.activeList.getBestToken() != null)
            {
                ActiveList activeList = this.undoLastGrowStep();
                if (!this.streamEnd)
                {
                    result = new Result(activeList, this.resultList, (long)this.currentFrameNumber, num != 0, this.linguist.getSearchGraph().getWordTokenFirst(), false);
                }
            }
            if (this._showTokenCount)
            {
                this.showTokenCount();
            }
            return(result);
        }
コード例 #3
0
        public ConcatObservableToActiveList()
        {
            _list = ActiveList.Create <T>();

            _list.PropertyChanged   += (s, e) => _propertyChanged?.Invoke(this, e);
            _list.CollectionChanged += (s, e) => _collectionChanged?.Invoke(this, e);
        }
コード例 #4
0
        private void Search_OnDropDownClosed(object sender, RoutedPropertyChangedEventArgs <bool> e)
        {
            var autoCompleteBox = ((AutoCompleteBox)sender);
            var key             = autoCompleteBox.Text;

            if (ViewModel.PackagesDictionary.TryGetValue(key, out var package))
            {
                Dispatcher.Invoke(() =>
                {
                    ViewModel.SelectedPackage = package;
                    if (package.PackageVersions.Count == 1)
                    {
                        ViewModel.SelectedPackageVersion = package.PackageVersions.Single();
                    }

                    autoCompleteBox.Text = string.Empty;
                });

                if (sender == Active)
                {
                    ActiveList.ScrollIntoView(package);
                }
                else if (sender == All)
                {
                    AllList.ScrollIntoView(package);
                }
                //else if (sender == AllCache)
                //{
                //    CacheList.ScrollIntoView(package);
                //}
            }
        }
コード例 #5
0
    public void SetNewActiveList(AvailableList availableList)
    {
        if (currentActiveList != null)
        {
            currentActiveList.ClearList();
        }
        switch (availableList.listType)
        {
        case ListType.containerCategories:
            currentActiveList = new ActiveList(availableList, CreateContainerCategoriesList());
            break;

        case ListType.productCategories:
            currentActiveList = new ActiveList(availableList, CreateProductCategoriesList(inventory.inventoryVisibleData));
            List <CategoryDisplayObject> needsToBeCollapsed = new List <CategoryDisplayObject>();
            foreach (CategoryDisplayObject obj in currentActiveList.categoriesDisplayed)
            {
                if (obj.categoryReference.collapsed)
                {
                    //needsToBeCollapsed.Add(obj);
                    obj.Collapse(true);
                }
            }
            //StartCollapsing(needsToBeCollapsed);
            break;

        case ListType.selectedProducts:
            //currentActiveList = new ActiveList(availableList, CreateSelectedProductsList());
            break;

        case ListType.storeObjectCategories:
            currentActiveList = new ActiveList(availableList, CreateStoreObjectCategoriesList());
            break;
        }
    }
コード例 #6
0
        public IEnumerable <ActiveList> PostCleanUp()
        {
            string CurrentList = "'";

            CreatorEntities   db          = new CreatorEntities();
            List <ActiveList> CleanupList = new List <ActiveList>();
            List <Library>    library     = db.Library.ToList();

            foreach (Library libraryitem in library)
            {
                CurrentList = CurrentList + libraryitem.Filename + "','";
            }

            if (library.Count > 0)
            {
                CurrentList = "(" + CurrentList.Substring(0, CurrentList.Length - 2) + ")";
            }

            ActiveList lib = new ActiveList();

            lib.List = CurrentList;

            CleanupList.Add(lib);

            return(CleanupList);
        }
コード例 #7
0
        protected internal virtual void growBranches()
        {
            int num = this.activeList.size() * 10;

            if (num == 0)
            {
                num = 1;
            }
            this.growTimer.start();
            this.bestTokenMap = new HashMap(num);
            ActiveList activeList = this.activeList;

            this.resultList    = new LinkedList();
            this.activeList    = this.activeListFactory.newInstance();
            this.threshold     = activeList.getBeamThreshold();
            this.wordThreshold = activeList.getBestScore() + this.logRelativeWordBeamWidth;
            Iterator iterator = activeList.iterator();

            while (iterator.hasNext())
            {
                Token token = (Token)iterator.next();
                this.collectSuccessorTokens(token);
            }
            this.growTimer.stop();
            if (this.logger.isLoggable(Level.FINE))
            {
                int num2 = this.activeList.size();
                this.totalHmms += num2;
                this.logger.fine(new StringBuilder().append("Frame: ").append(this.currentFrameNumber).append(" Hmms: ").append(num2).append("  total ").append(this.totalHmms).toString());
            }
        }
コード例 #8
0
        /**
         * Because the growBranches() is called although no data is left after the
         * last speech frame, the ordering of the active-list might depend on the
         * transition probabilities and (penalty-scores) only. Therefore we need to
         * undo the last grow-step up to final states or the last emitting state in
         * order to fix the list.
         *
         * @return newly created list
         */
        protected ActiveList undoLastGrowStep()
        {
            ActiveList fixedList = activeList.newInstance();

            var tokens = JavaToCs.GetTokenCollection(activeList);

            foreach (Token token in tokens)
            {
                Token curToken = token.getPredecessor();

                // remove the final states that are not the real final ones because
                // they're just hide prior final tokens:
                while (curToken.getPredecessor() != null &&
                       ((curToken.isFinal() &&
                         curToken.getPredecessor() != null && !curToken
                         .getPredecessor().isFinal()) ||
                        (curToken.isEmitting() && curToken.getData() == null) // the
                                                                              // so
                                                                              // long
                                                                              // not
                                                                              // scored
                                                                              // tokens
                        || (!curToken.isFinal() && !curToken.isEmitting())))
                {
                    curToken = curToken.getPredecessor();
                }

                fixedList.add(curToken);
            }

            return(fixedList);
        }
コード例 #9
0
        /**
         * Goes through the active list of tokens and expands each token, finding
         * the set of successor tokens until all the successor tokens are emitting
         * tokens.
         */
        protected void growBranches()
        {
            int mapSize = activeList.size() * 10;

            if (mapSize == 0)
            {
                mapSize = 1;
            }
            growTimer.start();
            bestTokenMap = new Dictionary <SearchState, Token>(mapSize);
            ActiveList oldActiveList = activeList;

            resultList    = new List <Token>();
            activeList    = activeListFactory.newInstance();
            threshold     = oldActiveList.getBeamThreshold();
            wordThreshold = oldActiveList.getBestScore() + logRelativeWordBeamWidth;

            var tokens = JavaToCs.GetTokenCollection(oldActiveList);

            foreach (Token token in tokens)
            {
                collectSuccessorTokens(token);
            }
            growTimer.stop();
            if (logger.IsInfoEnabled)
            {
                int hmms = activeList.size();
                totalHmms += hmms;
                logger.Info("Frame: " + currentFrameNumber + " Hmms: " + hmms
                            + "  total " + totalHmms);
            }
        }
コード例 #10
0
 /// <summary>
 /// Affiche les articles chargés dans le modèle, si les filtres
 /// (<see cref="BrandFilter"/>, <see cref="SubFamilyFilter"/>) ne sont pas null, les articles doivent les passer
 /// pour être affichés.
 /// </summary>
 private void DisplayArticlesWithFilter()
 {
     // On met à jour ce drapeau pour indiquer que l'on affiche des articles sur la droite de l'écran.
     ArticleViewOn = ActiveList.Article;
     // On s'assure que les colonnes sont bien présentes.
     InserColonne();
     foreach (var Article in ArticlesModel)
     {
         //On test le filtre de la marque.
         if (!BrandFilter.HasValue || BrandFilter.Equals(Article.Marque.Id))
         {
             //On test le filtre de la sous-famille.
             if (!SubFamilyFilter.HasValue || SubFamilyFilter.Equals(Article.SubFamily.Id))
             {
                 //Les filtres sont passés, on affiche l'article.
                 listView1.Items.Add(
                     new ListViewItem(new [] {
                     Article.Description,
                     Article.SubFamily.Family.Name,
                     Article.SubFamily.Name,
                     Article.Marque.Nom,
                     Article.Quantity.ToString()
                 })
                 {
                     Tag = Article.RefArticle
                 });
             }
         }
     }
 }
コード例 #11
0
ファイル: ISINTest.cs プロジェクト: zoomcoder/TickZoomPublic
        public void EnumerableTest()
        {
            ActiveList <int> list = new ActiveList <int>();

            for (int i = 0; i < 10; i++)
            {
                list.AddLast(i);
            }

            Iterable <int> active = list;
            var            next   = active.First;

            for (var node = next; node != null; node = next)
            {
                next = node.Next;
                if (node.Value == 5)
                {
                    list.AddAfter(list.First, 22);
                }
            }

            StringBuilder sb = new StringBuilder();

            next = active.First;
            for (var node = next; node != null; node = next)
            {
                next = node.Next;
                sb.Append(node.Value);
                sb.Append(", ");
            }
            Assert.AreEqual("0, 22, 1, 2, 3, 4, 5, 6, 7, 8, 9, ", sb.ToString());
        }
コード例 #12
0
        private static void RefreshAllegroDataOld(object sender, EventArgs eventArgs)
        {
            ActiveList.Clear();
            SellItemStruct[] sellItems;
            SoldItemStruct[] soldItems;

            var itemsCount = _apiContext.doGetMySellItems(_login, null, null, null, 0, null, 0, 0, out sellItems);

            for (int i = 1; i < Math.Ceiling(itemsCount / 100d) + 1; i++)
            {
                foreach (var sellItem in sellItems)
                {
                    ActiveList.Add(sellItem);
                }

                _apiContext.doGetMySellItems(_login, null, null, null, 0, null, 0, i, out sellItems);
            }

            var itemsCount2 = _apiContext.doGetMySoldItems(_login, null, null, null, 0, null, 0, 0, out soldItems);

            for (int i = 1; i < Math.Ceiling(itemsCount2 / 100d) + 1; i++)
            {
                foreach (var soldItem in soldItems)
                {
                    SoldList.Add(soldItem);
                }

                _apiContext.doGetMySoldItems(_login, null, null, null, 0, null, 0, i, out soldItems);
            }
        }
コード例 #13
0
        private static void GetAllegroItems(int fromId, int toId)
        {
            var hasInd      = ActiveList.Where(x => x.itemTitle.Contains("(") && x.itemTitle.Contains(")"));
            var dontHaveInd = ActiveList.Where(x => !x.itemTitle.Contains("(") && !x.itemTitle.Contains(")")).ToList();
            var indexes     = hasInd
                              .SelectMany(x =>
            {
                var ind       = x.itemTitle.LastIndexOf("(", StringComparison.InvariantCulture);
                var coinIndex = x.itemTitle.Substring(ind).Replace(")", "").Replace("(", "");
                int result;
                if (!int.TryParse(coinIndex, out result))
                {
                    return(new[] { new { Index = -1, ItemID = x.itemId, Index2 = coinIndex, x } });
                }
                return(new[] { new { Index = result, ItemID = x.itemId, Index2 = coinIndex, x } });
            }

                                          ).OrderBy(x => x.Index).ToList();

            var def = (List <FieldsValue>)LoadFromBinaryFile <List <FieldsValue> >(
                new DirectoryInfo(@"SaveTemplates").FullName + @"\default_fields.dat");

            for (int i = 0; i < dontHaveInd.Count(); i++)
            {
                var list = dontHaveInd[i];

                var firstEdit = _apiContext.doChangeItemFields(_login, list.itemId,
                                                               def.ToArray()
                                                               , new int[] { 43, 143, 243 }, 0, null, null, null, null);
            }
        }
コード例 #14
0
        public IEnumerable <ActiveList> PostCleanUp([FromHeader] string AppCode, [FromHeader] string CompanyCode)
        {
            string CurrentList = "";
            string UpperCaseCC = CompanyCode.Trim().ToUpper();

            CreatorEntities            db          = new CreatorEntities();
            List <ActiveList>          CleanupList = new List <ActiveList>();
            List <ClientScreenContent> Listcsc     = db.ClientScreenContent.Where(c => c.ClientScreens.ClientApps.Clients.Code == UpperCaseCC)
                                                     .Where(ca => ca.ClientScreens.ClientApps.Apps.AppCode == AppCode)
                                                     .ToList();

            foreach (ClientScreenContent scitem in Listcsc)
            {
                CurrentList = CurrentList + scitem.ID + ",";
            }

            if (Listcsc.Count > 0)
            {
                CurrentList = "(" + CurrentList.Substring(0, CurrentList.Length - 1) + ")";
            }

            ActiveList lib = new ActiveList();

            lib.List = CurrentList;

            CleanupList.Add(lib);

            return(CleanupList);
        }
コード例 #15
0
        private static void RefreshAllegroData(object sender, EventArgs eventArgs)
        {
            ActiveList.Clear();
            SoldList.Clear();


            var offers = GetOffers();
        }
コード例 #16
0
        /// <summary>
        /// Determines if the result is a final result. A final result is guaranteed to no longer be
        /// modified by the SearchManager that generated it. Non-final results can be modifed by a
        /// <code>SearchManager.recognize</code> calls.
        /// </summary>
        /// <returns>true if the result is a final result</returns>

        /// <summary>
        ///Creates a result
        ///@param activeList the active list associated with this result
        ///@param resultList the result list associated with this result
        ///@param frameNumber the frame number for this result.
        ///@param isFinal if true, the result is a final result
        /// <summary>
        public Result(AlternateHypothesisManager alternateHypothesisManager,
                      ActiveList activeList, List <Token> resultList, int frameNumber,
                      Boolean isFinal, Boolean wordTokenFirst, bool toCreateLattice)
            : this(activeList, resultList, frameNumber, isFinal, toCreateLattice)
        {
            this.AlternateHypothesisManager = alternateHypothesisManager;
            this.WordTokenFirst             = wordTokenFirst;
        }
コード例 #17
0
        public void MutatedListIsCorrectWithoutAnyAppliedChanges()
        {
            var source = ActiveList.Create(new[] { 1, 2, 3 });

            var sut = source.AsActiveValue().ActiveSelect(list => list.Select(i => i * 2));

            Assert.True(source.SequenceEqual(sut.Value.Select(i => i / 2)));
        }
コード例 #18
0
 /// <summary>
 /// Crée la fenêtre de modification d'une marque, d'une famille ou d'une sous-famille.
 /// </summary>
 public DefaultForm(ActiveList Type, int?Id)
 {
     InitializeComponent();
     this.Type = Type;
     this.Id   = Id;
     // On Initialise les valeurs des champs du formulaire.
     Initialize("Formulaire de modification");
 }
コード例 #19
0
 private void SelectTabBy(ActiveList activeList) {
     if (activeList == ActiveList.Favorites)
         _controller.FocusTab(tabFavorites, Preferences.Res.ShowAllRegexPatternsTabs);
     else if (activeList == ActiveList.History)
         _controller.FocusTab(tabHistory, Preferences.Res.ShowAllRegexPatternsTabs);
     else if (activeList == ActiveList.Predefined)
         _controller.FocusTab(tabPredefined, Preferences.Res.ShowAllRegexPatternsTabs);
 }
コード例 #20
0
        public void SendOrders(Agent provider, SymbolInfo symbol, int desiredPosition, int secondsDelay)
        {
            var strategyPositions = new ActiveList <StrategyPosition>();

            provider.SendEvent(new EventItem(this, symbol, EventType.PositionChange,
                                             new PositionChangeDetail(symbol, desiredPosition, Orders, strategyPositions,
                                                                      TimeStamp.UtcNow.Internal, 1L)));
        }
コード例 #21
0
        /// <summary/>
        public AbstractTimeSeries(IEnumerable <T> values)
        {
            var preparedValues = values
                                 .Distinct(new TimeframedValueEqualityComparer <T, TElement>())
                                 .OrderBy(v => v.Date);

            Items = new ActiveList <T>(preparedValues);
        }
コード例 #22
0
 public override IEnumerator GetEnumerator()
 {
     if (GroupDescriptions.Count > 0 && RootGroup != null)
     {
         return(new GroupEnumerator(RootGroup));
     }
     return(ActiveList.GetEnumerator());
 }
コード例 #23
0
ファイル: Result.cs プロジェクト: ugurmutlucan15/syn-speech
 /// <summary>
 ///Creates a result
 ///@param activeList the active list associated with this result
 ///@param resultList the result list associated with this result
 ///@param frameNumber the frame number for this result.
 ///@param isFinal if true, the result is a final result. This means that the last frame in the
 ///       speech segment has been decoded.
 /// <summary>
 public Result(ActiveList activeList, List <Token> resultList, int frameNumber, Boolean isFinal)
 {
     this.activeList         = activeList;
     this.resultList         = resultList;
     this.currentFrameNumber = frameNumber;
     this._isFinal           = isFinal;
     logMath = LogMath.getLogMath();
 }
コード例 #24
0
ファイル: Result.cs プロジェクト: ugurmutlucan15/syn-speech
        /// <summary>
        /// Determines if the result is a final result. A final result is guaranteed to no longer be
        /// modified by the SearchManager that generated it. Non-final results can be modifed by a
        /// <code>SearchManager.recognize</code> calls.
        /// </summary>
        /// <returns>true if the result is a final result</returns>

        /// <summary>
        ///Creates a result
        ///@param activeList the active list associated with this result
        ///@param resultList the result list associated with this result
        ///@param frameNumber the frame number for this result.
        ///@param isFinal if true, the result is a final result
        /// <summary>
        public Result(AlternateHypothesisManager alternateHypothesisManager,
                      ActiveList activeList, List <Token> resultList, int frameNumber,
                      Boolean isFinal, Boolean wordTokenFirst)
            : this(activeList, resultList, frameNumber, isFinal)
        {
            this.alternateHypothesisManager = alternateHypothesisManager;
            this.wordTokenFirst             = wordTokenFirst;
        }
コード例 #25
0
 public async Task RollInitiative()
 {
     foreach (Character enemy in Enemies)
     {
         await enemy.Initiative.Roll();
     }
     ActiveList.OrderByDescending(x => x.Initiative.LastRollResult.Total).ThenBy(x => x.Abilities.Where(y => y.Name == "Dexterity").FirstOrDefault().Total);
     await UpdateListCaches();
 }
コード例 #26
0
 public void ClearLeftBar()
 {
     if (currentActiveList != null)
     {
         currentActiveList.ClearList();
     }
     currentActiveList = null;
     currentAvailableLists.Clear();
 }
コード例 #27
0
 public static InvoiceGenerationRequest ForActiveList(ActiveList activeList)
 {
     return(new InvoiceGenerationRequest
     {
         CustomerCode = activeList.CustomerCode,
         Year = activeList.Year,
         Month = activeList.Month
     });
 }
コード例 #28
0
        /** Removes unpromising branches from the active list */
        protected void pruneBranches()
        {
            int startSize = activeList.size();

            pruneTimer.start();
            activeList        = pruner.prune(activeList);
            beamPruned.value += startSize - activeList.size();
            pruneTimer.stop();
        }
コード例 #29
0
        public Iterable <CreateOrChangeOrder> GetActiveOrders(SymbolInfo symbol)
        {
            ActiveList <CreateOrChangeOrder> activeOrders = new ActiveList <CreateOrChangeOrder>();

            activeOrders.AddLast(increaseOrders);
            activeOrders.AddLast(decreaseOrders);
            activeOrders.AddLast(marketOrders);
            return(activeOrders);
        }
コード例 #30
0
ファイル: Result.cs プロジェクト: yyl-20020115/Sphinx4CSharp
 public Result(ActiveList activeList, List resultList, long collectTime, bool isFinal, bool wordTokenFirst, bool toCreateLattice)
 {
     this.activeList         = activeList;
     this.resultList         = resultList;
     this.currentCollectTime = collectTime;
     this._isFinal           = isFinal;
     this._toCreateLattice   = toCreateLattice;
     this.wordTokenFirst     = wordTokenFirst;
     this.logMath            = LogMath.getLogMath();
 }
コード例 #31
0
 /// <summary>
 ///Creates a result
 ///@param activeList the active list associated with this result
 ///@param resultList the result list associated with this result
 ///@param frameNumber the frame number for this result.
 ///@param isFinal if true, the result is a final result. This means that the last frame in the
 ///       speech segment has been decoded.
 /// <summary>
 public Result(ActiveList activeList, List <Token> resultList,
               int frameNumber, bool isFinal, bool toCreateLattice)
 {
     this.ActiveTokens     = activeList;
     this.ResultTokens     = resultList;
     FrameNumber           = frameNumber;
     _isFinal              = isFinal;
     this._toCreateLattice = toCreateLattice;
     LogMath = LogMath.GetLogMath();
 }
コード例 #32
0
ファイル: OpenFileForm.cs プロジェクト: satr/regexexplorer
        public OpenFileForm(MainController mainController, ActiveList activeList) {
            _mainController = mainController;
            _recentItemsList = MatchesFilesList.Activate();
            InitializeComponent();

            InitController();
            InitControls();

            SelectTabBy(activeList);
            GuiObjectsCollection.ApplyActualLanguageFor(this);
            Bind();
            DisplayLicState();
        }
コード例 #33
0
        public StoredRegexPatternsForm(MainController mainController, ActiveList activeList) {
            _mainController = mainController;
            _favoriteItemsList = FavoriteRegexPatternsList.Activate();
            _historyItemsList = HistoryRegexPatternsList.Activate();
            _predefinedItemsList = PredefinedRegexPatternsList.Activate();

            InitializeComponent();

            InitController();
            InitControls();
            SelectTabBy(activeList);
            GuiObjectsCollection.ApplyActualLanguageFor(this);
            Bind();
            DisplayLicState();
        }
コード例 #34
0
ファイル: EditorDesktop.cs プロジェクト: Tokter/TokED
 private void AddGameObjectNode(ActiveList<TreeNode> nodes, GameObject gameObject)
 {
     var node = new GameObjectTreeNode(gameObject);
     //if (gameObject == _selectedGameObject) node.Selected = true;
     nodes.Add(node);
     if (gameObject == _selectedGameObject) _gameObjectTree.SelectedNode = node;
     foreach (var go in gameObject.Children)
     {
         AddGameObjectNode(node.Nodes, go);
     }
 }
コード例 #35
0
ファイル: ActiveList.cs プロジェクト: wzcb2009/npsyzx
 public void Add(ActiveList pActiveList)
 {
     _arrayInternal.Add(pActiveList);
 }
コード例 #36
0
ファイル: EditorDesktop.cs プロジェクト: Tokter/TokED
 private void ClearGameObjectTree(ActiveList<TreeNode> nodes)
 {
     foreach (var node in nodes)
     {
         ClearGameObjectTree(node.Nodes);
         if (node is IDisposable) (node as IDisposable).Dispose();
     }
     nodes.Clear();
 }
コード例 #37
0
ファイル: EditorDesktop.cs プロジェクト: Tokter/TokED
 private GameObjectTreeNode FindGOTreeNode(ActiveList<TreeNode> nodes, GameObject gameObject)
 {
     foreach (var node in nodes)
     {
         var goNode = (node as GameObjectTreeNode);
         if (goNode.GameObject == gameObject)
             return goNode;
         else
         {
             var result = FindGOTreeNode(goNode.Nodes, gameObject);
             if (result != null) return result;
         }
     }
     return null;
 }
コード例 #38
0
ファイル: GridViewItem.cs プロジェクト: ndssia/Corsair3
 public GridViewItem()
 {
     SubItems = new ActiveList<GridViewSubItem>();
     Size = new Point(100, 20);
     Dock = DockStyle.Top;
 }
コード例 #39
0
ファイル: OpenFileForm.cs プロジェクト: satr/regexexplorer
 private void SelectTabBy(ActiveList activeList) {
     if (activeList == ActiveList.History)
         _controller.FocusTab(tabHistory, Preferences.Res.ShowAllRegexPatternsTabs);
 }
コード例 #40
0
ファイル: OriginClause.cs プロジェクト: bg0jr/Maui
 public OriginClause( bool mergeAllowed, params long[] ranking )
 {
     Ranking = new ActiveList<long>( ranking );
     IsMergeAllowed = mergeAllowed;
 }