Exemplo n.º 1
0
        protected override void UpdateStatusData(int mode = 0)
        {
            if (mode == 0)
            {
                this.status[1] = ViewUtil.ConvertSearchItemStatus(lstCtrl.dataList, "番組数");
            }
            List <SearchItem> sList = lstCtrl.GetSelectedItemsList();

            this.status[2] = sList.Count == 0 ? "" : ViewUtil.ConvertSearchItemStatus(sList, " 選択中");
        }
Exemplo n.º 2
0
        private void UpdateStatus(int mode = 0)
        {
            string s1 = null;
            string s2 = "";

            if (mode == 0)
            {
                s1 = ViewUtil.ConvertSearchItemStatus(lstCtrl.dataList, "検索数");
            }
            if (Settings.Instance.DisplayStatus == true)
            {
                List <SearchItem> sList = lstCtrl.GetSelectedItemsList();
                s2 = sList.Count == 0 ? "" : ViewUtil.ConvertSearchItemStatus(sList, " 選択中");
            }
            this.statusBar.SetText(s1, s2);
        }