Beispiel #1
0
        private void UpdateInfoLabel()
        {
            var bkmCountDict = _dbc.CountBookmarks();
            var dupesNr      = _dbc.CountDuplicates();

            //TODO: replace this with a disabled textfield for basic formatting
            infoLabel.Text =
                string.Format("No. of Bookmarks:\t\t{0}\r\n"
                              + "No. of Duplicates:\t\t{1}\r\n"
                              + "No. of Uniques:\t\t{2}\r\n"
                              + "No. of Folders:\t\t{3}\r\n"
                              + "No. of Separators:\t\t{4}",
                              bkmCountDict["nr.bookmarks"],
                              dupesNr,
                              (bkmCountDict["nr.bookmarks"] - dupesNr),
                              bkmCountDict["nr.folders"],
                              bkmCountDict["nr.separators"]);
        }