Exemple #1
0
        public void Init(TagSelectOptions options)
        {
            m_loaded  = true;
            m_options = options;

            btnPin.Visible = options.ShowPin;

            InitGrid(dgvTags);
            EnableSelection();

            DataCache.Instance.TagsChanged += DataCache_TagsChanged;
            SetTags();
        }
Exemple #2
0
        public void Init(TagSelectOptions options)
        {
            m_loaded  = true;
            m_options = options;

            btnPin.Visible = options.ShowPin;

            if (options.ShowMenu)
            {
                dgvTags.ContextMenuStrip = menu;
            }

            InitGrid(dgvTags);
            EnableSelection();

            DataCache.Instance.TagsChanged += DataCache_TagsChanged;
            SetTags();
        }